No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

event.scss 4.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  1. :host {
  2. position: relative;
  3. display: block;
  4. min-height: 100vh;
  5. background: #f4eee4;
  6. color: #2f2720;
  7. }
  8. .event-page {
  9. display: grid;
  10. grid-template-columns: 172px minmax(0, 1fr);
  11. gap: 20px;
  12. padding: 0 38px 36px 0;
  13. background: #f4eee4;
  14. }
  15. .event-main {
  16. min-width: 0;
  17. box-sizing: border-box;
  18. }
  19. .event-panel {
  20. min-height: 760px;
  21. padding: 34px 42px 40px;
  22. background: #ffffff;
  23. border: 2px solid #d8caba;
  24. border-radius: 64px;
  25. box-sizing: border-box;
  26. }
  27. .page-title-row {
  28. display: flex;
  29. justify-content: space-between;
  30. align-items: flex-start;
  31. gap: 24px;
  32. margin-bottom: 22px;
  33. }
  34. .title-filter-area {
  35. display: grid;
  36. gap: 12px;
  37. min-width: 0;
  38. }
  39. .page-title-row h1 {
  40. margin: 0;
  41. color: #2f2720;
  42. font-size: 34px;
  43. line-height: 1.1;
  44. font-weight: 800;
  45. }
  46. .filter-row {
  47. display: flex;
  48. align-items: flex-end;
  49. gap: 14px 18px;
  50. flex-wrap: wrap;
  51. width: 100%;
  52. }
  53. .filter-field,
  54. .search-field {
  55. display: grid;
  56. gap: 6px;
  57. }
  58. .filter-field label,
  59. .search-field label {
  60. color: #4b3c31;
  61. font-size: 14px;
  62. font-weight: 800;
  63. }
  64. .filter-field select,
  65. .search-field input {
  66. height: 46px;
  67. padding: 0 14px;
  68. border: 2px solid #d8caba;
  69. border-radius: 8px;
  70. background: #fffdf9;
  71. color: #2f2720;
  72. font-size: 15px;
  73. font-weight: 700;
  74. box-sizing: border-box;
  75. outline: none;
  76. }
  77. .filter-field select {
  78. width: 148px;
  79. cursor: pointer;
  80. }
  81. .search-field {
  82. flex: 1 1 260px;
  83. min-width: 260px;
  84. }
  85. .search-field input {
  86. width: 100%;
  87. }
  88. .filter-field select:focus,
  89. .search-field input:focus {
  90. border-color: #8a6543;
  91. box-shadow: 0 0 0 3px rgba(138, 101, 67, 0.12);
  92. }
  93. .list-header-row {
  94. display: flex;
  95. justify-content: space-between;
  96. align-items: flex-end;
  97. margin: 18px 0 10px;
  98. }
  99. .list-header-row h2 {
  100. margin: 0;
  101. color: #2f2720;
  102. font-size: 22px;
  103. font-weight: 800;
  104. }
  105. .list-header-row p {
  106. margin: 0;
  107. color: #7b6b5c;
  108. font-size: 14px;
  109. }
  110. .event-table-section {
  111. margin-top: 8px;
  112. }
  113. .event-table {
  114. display: grid;
  115. gap: 0;
  116. border: 2px solid #d8c2aa;
  117. border-radius: 8px;
  118. overflow: hidden;
  119. }
  120. .event-table-header,
  121. .event-table-row {
  122. display: grid;
  123. grid-template-columns: 1.25fr 0.95fr 0.68fr 0.95fr 0.82fr 1fr 96px;
  124. align-items: center;
  125. gap: 12px;
  126. }
  127. .event-table-header {
  128. min-height: 40px;
  129. padding: 0 14px;
  130. background: #efe4d6;
  131. color: #111111;
  132. font-size: 14px;
  133. font-weight: 800;
  134. box-sizing: border-box;
  135. }
  136. .event-table-row {
  137. min-height: 62px;
  138. padding: 10px 14px;
  139. border-top: 1px solid #d8c2aa;
  140. background: #fffdf9;
  141. color: #111111;
  142. font-size: 15px;
  143. box-sizing: border-box;
  144. }
  145. .event-table-row:hover {
  146. background: #fff8ee;
  147. }
  148. .person-name,
  149. .event-type {
  150. margin: 0;
  151. font-weight: 800;
  152. }
  153. .person-sub,
  154. .person-date {
  155. margin: 0;
  156. }
  157. .person-sub {
  158. margin-top: 4px;
  159. color: #111111;
  160. font-size: 13px;
  161. line-height: 1.35;
  162. }
  163. .person-date {
  164. color: #111111;
  165. font-size: 15px;
  166. }
  167. .event-type {
  168. color: #111111;
  169. }
  170. .status-select {
  171. width: 90px;
  172. height: 34px;
  173. padding: 0 10px;
  174. border: 2px solid #d8caba;
  175. border-radius: 8px;
  176. background: #ffffff;
  177. color: #111111;
  178. font-size: 14px;
  179. font-weight: 800;
  180. box-sizing: border-box;
  181. cursor: pointer;
  182. outline: none;
  183. }
  184. .status-select.sent {
  185. border-color: #8a6543;
  186. background: #f1e7d8;
  187. color: #111111;
  188. }
  189. .status-select:focus {
  190. border-color: #8a6543;
  191. box-shadow: 0 0 0 3px rgba(138, 101, 67, 0.15);
  192. }
  193. .empty-message {
  194. min-height: 58px;
  195. padding: 18px 20px;
  196. background: #fffdf9;
  197. color: #7b6b5c;
  198. font-size: 15px;
  199. font-weight: 700;
  200. box-sizing: border-box;
  201. }
  202. @media (max-width: 1100px) {
  203. .event-page {
  204. grid-template-columns: 1fr;
  205. padding: 0 24px 32px;
  206. }
  207. .event-panel {
  208. min-height: auto;
  209. border-radius: 28px;
  210. padding: 28px 24px 32px;
  211. }
  212. .page-title-row {
  213. flex-direction: column;
  214. }
  215. .event-table {
  216. overflow-x: auto;
  217. }
  218. .event-table-header,
  219. .event-table-row {
  220. min-width: 980px;
  221. }
  222. }
  223. @media (max-width: 800px) {
  224. .page-title-row h1 {
  225. font-size: 26px;
  226. }
  227. .filter-row {
  228. align-items: flex-start;
  229. flex-direction: column;
  230. gap: 14px;
  231. }
  232. .filter-field,
  233. .filter-field select,
  234. .search-field {
  235. width: 100%;
  236. }
  237. .list-header-row {
  238. align-items: flex-start;
  239. flex-direction: column;
  240. gap: 8px;
  241. }
  242. }