stt.module.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. @import "../styles/animation.scss";
  2. .plugin-page {
  3. height: 100%;
  4. display: flex;
  5. flex-direction: column;
  6. .plugin-page-body {
  7. padding: 20px;
  8. overflow-y: auto;
  9. .plugin-filter {
  10. width: 100%;
  11. max-width: 100%;
  12. margin-bottom: 20px;
  13. animation: slide-in ease 0.3s;
  14. height: 40px;
  15. display: flex;
  16. .search-bar {
  17. flex-grow: 1;
  18. max-width: 100%;
  19. min-width: 0;
  20. outline: none;
  21. }
  22. .search-bar:focus {
  23. border: 1px solid var(--primary);
  24. }
  25. .plugin-filter-lang {
  26. height: 100%;
  27. margin-left: 10px;
  28. }
  29. .plugin-create {
  30. height: 100%;
  31. margin-left: 10px;
  32. box-sizing: border-box;
  33. min-width: 80px;
  34. }
  35. }
  36. .plugin-item {
  37. display: flex;
  38. justify-content: space-between;
  39. padding: 20px;
  40. border: var(--border-in-light);
  41. animation: slide-in ease 0.3s;
  42. &:not(:last-child) {
  43. border-bottom: 0;
  44. }
  45. &:first-child {
  46. border-top-left-radius: 10px;
  47. border-top-right-radius: 10px;
  48. }
  49. &:last-child {
  50. border-bottom-left-radius: 10px;
  51. border-bottom-right-radius: 10px;
  52. }
  53. .plugin-header {
  54. display: flex;
  55. align-items: center;
  56. .plugin-icon {
  57. display: flex;
  58. align-items: center;
  59. justify-content: center;
  60. margin-right: 10px;
  61. }
  62. .plugin-title {
  63. .plugin-name {
  64. font-size: 14px;
  65. font-weight: bold;
  66. }
  67. .plugin-info {
  68. font-size: 12px;
  69. }
  70. .plugin-runtime-warning {
  71. font-size: 12px;
  72. color: #f86c6c;
  73. }
  74. }
  75. }
  76. .plugin-actions {
  77. display: flex;
  78. flex-wrap: nowrap;
  79. transition: all ease 0.3s;
  80. justify-content: center;
  81. align-items: center;
  82. }
  83. @media screen and (max-width: 600px) {
  84. display: flex;
  85. flex-direction: column;
  86. padding-bottom: 10px;
  87. border-radius: 10px;
  88. margin-bottom: 20px;
  89. box-shadow: var(--card-shadow);
  90. &:not(:last-child) {
  91. border-bottom: var(--border-in-light);
  92. }
  93. .plugin-actions {
  94. width: 100%;
  95. justify-content: space-between;
  96. padding-top: 10px;
  97. }
  98. }
  99. }
  100. }
  101. }