Angular app for CAC desktop
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.
 
 
 
 

233 lines
4.7 KiB

  1. .table-actions {
  2. display: flex;
  3. align-items: center;
  4. justify-content: flex-end;
  5. margin-bottom: 10px;
  6. .input-holder {
  7. margin: 0;
  8. width: 30%;
  9. margin-right: auto;
  10. }
  11. button {
  12. border: 2px solid var(--input-border);
  13. padding: 7px 20px;
  14. border-radius: var(--common-border-radius);
  15. background-color: white;
  16. margin-left: 20px;
  17. color: var(--secondary-text);
  18. font-weight: 500;
  19. img {
  20. vertical-align: middle;
  21. width: 15px;
  22. height: 15px;
  23. }
  24. }
  25. }
  26. .filter-row {
  27. display: grid;
  28. align-items: stretch;
  29. grid-template-columns: 1fr 1fr 1fr 1fr;
  30. justify-content: flex-end;
  31. grid-gap: 10px;
  32. margin: 0px 0px 20px 0px;
  33. }
  34. .explainer {
  35. font-style: italic;
  36. color: silver;
  37. margin: 20px 0 10px;
  38. }
  39. .card {
  40. position: relative;
  41. .shadow {
  42. position: absolute;
  43. left: 0;
  44. top: 0;
  45. width: 100%;
  46. height: 100%;
  47. z-index: 2;
  48. background-color: black;
  49. opacity: 0.5;
  50. display: block;
  51. }
  52. }
  53. .export-options {
  54. width: 210px;
  55. position: absolute;
  56. top: 70px;
  57. right: 120px;
  58. z-index: 2;
  59. padding: 10px;
  60. border-radius: var(--common-border-radius);
  61. text-align: center;
  62. background-color: white;
  63. header {
  64. margin-bottom: 10px;
  65. h5 {
  66. color: var(--secondary-text);
  67. font-size: 16px;
  68. }
  69. }
  70. .options {
  71. display: flex;
  72. align-items: center;
  73. justify-content: space-between;
  74. }
  75. .sub-options {
  76. div {
  77. margin: 3px 0;
  78. display: flex;
  79. align-items: center;
  80. justify-content: space-between;
  81. text-align: left;
  82. font-size: 14px;
  83. color: var(--input-border);
  84. span {
  85. width: 85%;
  86. }
  87. }
  88. .radioButton {
  89. border: 2px solid var(--input-border);
  90. width: 15px;
  91. height: 15px;
  92. border-radius: 50%;
  93. display: flex;
  94. align-items: center;
  95. justify-content: center;
  96. &::before {
  97. content: '';
  98. display: block;
  99. width: 7px;
  100. height: 7px;
  101. border-radius: inherit;
  102. background-color: white;
  103. }
  104. &.active {
  105. border-color: var(--input-border);
  106. &::before {
  107. background-color: var(--input-border);
  108. }
  109. }
  110. }
  111. }
  112. button {
  113. border: 2px solid var(--input-border);
  114. padding: 7px 20px;
  115. margin: 0;
  116. border-radius: var(--common-border-radius);
  117. background-color: white;
  118. color: var(--secondary-text);
  119. font-weight: 500;
  120. }
  121. }
  122. .table {
  123. height: 70vh;
  124. overflow: auto;
  125. line-height: 1.8;
  126. letter-spacing: 0.5px;
  127. header,
  128. .row {
  129. display: flex;
  130. flex-wrap: nowrap;
  131. align-items: center;
  132. padding: 0 10px;
  133. .col {
  134. width: calc(100% / 7);
  135. font-size: 14px;
  136. input {
  137. margin-right: 5px;
  138. }
  139. p,
  140. a,
  141. &>div {
  142. display: block;
  143. white-space: nowrap;
  144. overflow: hidden;
  145. text-overflow: ellipsis;
  146. width: 100%;
  147. }
  148. a {
  149. color: var(--primary);
  150. }
  151. &:nth-child(1) {
  152. width: 70px;
  153. }
  154. &:nth-child(2) {
  155. text-transform: capitalize;
  156. }
  157. &:nth-child(3) {
  158. flex-grow: 1;
  159. }
  160. &:nth-child(5) {
  161. width: 100px;
  162. }
  163. }
  164. }
  165. header {
  166. background-color: var(--secondary-text);
  167. color: white;
  168. border-radius: var(--common-border-radius);
  169. position: sticky;
  170. z-index: 1;
  171. top: 0;
  172. height: 50px;
  173. }
  174. .row {
  175. color: var(--secondary-text);
  176. background-color: white;
  177. border-radius: var(--common-border-radius);
  178. cursor: pointer;
  179. transition: border-color 0.3s, box-shadow 0.3s;
  180. height: 100px;
  181. border: 2px solid transparent;
  182. box-shadow: none;
  183. &:nth-child(even) {
  184. background-color: var(--input-background);
  185. }
  186. &:hover {
  187. position: relative;
  188. color: var(--primary-text);
  189. font-weight: 500;
  190. border-color: var(--primary);
  191. box-shadow: 0 5px 5px -3px #0003, 0 8px 10px 1px #00000024, 0 3px 14px 2px #0000001f;
  192. }
  193. }
  194. }