mask.module.scss 2.1 KB

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