AddItemLayout.scss 4.5 KB

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