AddItemLayout.scss 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. $whiteBackground: #ececec;
  2. $primary: #2c54ac;
  3. $primaryLight: #d7dcef;
  4. $primaryActive: #1e5cb2;
  5. $secondary: #fcac04;
  6. $secondaryLight: #f8b014;
  7. $secondaryActive: #fdb51c;
  8. $hoverButtonText: #2c54ac;
  9. $activeButtonText: #fff;
  10. $textColor: #555;
  11. $optionalButtonHover: $primary;
  12. $optionalButtonActive: $primaryLight;
  13. $deleteButtonColorHover: #b00e5b;
  14. $deleteButtonColorActive: #b11661;
  15. $backButtonBackground: #DFDEDD;
  16. $backButtonBackgroundHover: #999;
  17. $transition: all 200ms cubic-bezier(0.4, 0.1, 0.5, 0.85);
  18. $errorColor: #BE5ABF;
  19. .content .edit-template {
  20. padding-bottom: 2rem;
  21. .toolbar {
  22. justify-content: unset;
  23. > div {
  24. width: 14.3%;
  25. display: flex;
  26. align-items: center;
  27. }
  28. div.error,
  29. div.success {
  30. width: max-content !important;
  31. span {
  32. font-weight: bold;
  33. font-size: 14px;
  34. svg {
  35. font-size: 13px;
  36. margin-right: 10px;
  37. }
  38. }
  39. span.error-message {
  40. color: $errorColor;
  41. svg {
  42. margin-right: 7px;
  43. font-size: 13px;
  44. color: $errorColor;
  45. }
  46. }
  47. span.ok-message {
  48. color: $primary;
  49. svg {
  50. color: $primary;
  51. }
  52. }
  53. }
  54. .search-toolbar-name {
  55. padding: 10px 0;
  56. margin-left: 0;
  57. }
  58. }
  59. }
  60. .hide {
  61. display: none;
  62. }
  63. .show {
  64. display: flex;
  65. }
  66. .edit-item,
  67. .login-layout {
  68. display: flex;
  69. font-size: 15px;
  70. margin-top: 3rem;
  71. margin-bottom: 1rem;
  72. .l-col {
  73. margin-right: 1.75%;
  74. }
  75. form {
  76. button,
  77. a {
  78. color:$primary;
  79. font-weight: bold;
  80. &:hover {
  81. color: $secondaryLight;
  82. }
  83. &:active {
  84. color: $secondaryActive;
  85. }
  86. }
  87. button.optional {
  88. &:hover {
  89. color: $optionalButtonHover;
  90. }
  91. &:active {
  92. color: $optionalButtonActive;
  93. }
  94. }
  95. button.delete {
  96. &:hover {
  97. color: $deleteButtonColorHover;
  98. }
  99. &:active {
  100. color: $deleteButtonColorActive;
  101. }
  102. }
  103. .form-group {
  104. input[type=text],
  105. input[type=password],
  106. input[type=email],
  107. textarea,
  108. select {
  109. width: 50%;
  110. }
  111. }
  112. width: 100%;
  113. .form-group select,
  114. .form-group textarea {
  115. border-radius: 0;
  116. &:hover {
  117. border-color: #909090;
  118. }
  119. &:focus,
  120. &:active {
  121. outline: none;
  122. border-color: $primaryActive;
  123. box-shadow: unset;
  124. }
  125. }
  126. input:-webkit-autofill,
  127. input:-webkit-autofill:hover,
  128. input:-webkit-autofill:focus,
  129. input:-webkit-autofill:active {
  130. background-color: $primaryLight;
  131. border-color: $primaryActive;
  132. filter: none;
  133. box-shadow: none;
  134. }
  135. input:autofill,
  136. input:autofill:hover,
  137. input:autofill:focus,
  138. input:autofill:active {
  139. background-color: $primaryLight;
  140. border-color: $primaryActive;
  141. filter: none;
  142. box-shadow: none;
  143. }
  144. button {
  145. background: unset;
  146. border: none;
  147. box-shadow: unset;
  148. &:focus,
  149. &:active {
  150. outline: none;
  151. }
  152. }
  153. input {
  154. height: calc(1.5em + 0.75rem + 6px);
  155. border-radius: 0;
  156. &:hover {
  157. border-color: #909090;
  158. }
  159. &:focus,
  160. &:active {
  161. box-shadow: unset;
  162. border-color: $primaryActive;
  163. background: #d7dcef9e;
  164. }
  165. }
  166. label {
  167. color: $textColor;
  168. font-weight: bold;
  169. }
  170. label.label-wrapper {
  171. display: flex;
  172. align-items: flex-end;
  173. width: fit-content;
  174. span {
  175. font-weight: normal;
  176. text-transform: uppercase;
  177. margin-left: 5px;
  178. font-size: 12px;
  179. }
  180. }
  181. .checkbox-wrapper {
  182. display: flex;
  183. align-items: center;
  184. label {
  185. margin: 0 12px;
  186. }
  187. }
  188. input {
  189. color: $textColor;
  190. }
  191. .buttons-wrapper {
  192. margin-top: 2.5rem;
  193. button {
  194. font-weight: bold;
  195. font-size: 13px;
  196. margin-right: 10px;
  197. padding: .35rem 2.25rem;
  198. border-radius: 4px;
  199. transition: $transition;
  200. }
  201. .add {
  202. color: $activeButtonText;
  203. background: $primary;
  204. &:hover {
  205. color: $hoverButtonText;
  206. background: $primaryLight;
  207. }
  208. &:active {
  209. color: $activeButtonText;
  210. background: $primaryActive;
  211. }
  212. }
  213. .back {
  214. color: #777;
  215. background: $backButtonBackground;
  216. &:hover {
  217. color: white;
  218. background: $backButtonBackgroundHover;
  219. }
  220. }
  221. }
  222. }
  223. .l-col {
  224. padding: 20px 0 0;
  225. .date,
  226. .time {
  227. margin: 10px 0 0;
  228. color: #777;
  229. font-size: 12px;
  230. letter-spacing: 1px;
  231. }
  232. .time {
  233. margin: 6px 0 10px;
  234. }
  235. .status {
  236. color: $primary;
  237. font-size: 11px;
  238. letter-spacing: 1px;
  239. text-transform: uppercase;
  240. font-weight: bold;
  241. }
  242. }
  243. }