styles.less 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503
  1. // Variables, Mixins
  2. @import "variables.less";
  3. // html5
  4. article,
  5. aside,
  6. details,
  7. figcaption,
  8. figure,
  9. footer,
  10. header,
  11. hgroup,
  12. nav,
  13. section,
  14. summary {
  15. display: block;
  16. }
  17. /* MIX */
  18. body {
  19. margin: 0 0;
  20. font-family: @font-primary;
  21. font-size: 17px;
  22. line-height: 27px;
  23. color: @brand-text;
  24. }
  25. p, ul, li {
  26. font-size: 17px;
  27. text-align: justify;
  28. }
  29. strong {
  30. color: @brand-primary;
  31. }
  32. .smad-divider {
  33. margin: 20px 0;
  34. height: 1px;
  35. width: 100%;
  36. background-color: @brand-grey;
  37. }
  38. .font-weight-700 {
  39. font-weight: 700;
  40. }
  41. .padding-0 {
  42. padding: 0;
  43. }
  44. .padding-lr-0 {
  45. padding-left: 0;
  46. padding-right: 0;
  47. }
  48. .padding-bottom-25 {
  49. padding-bottom: 25px;
  50. }
  51. .pl-20 {
  52. padding-left: 20px;
  53. }
  54. .smad-line-grey {
  55. color: @brand-grey;
  56. }
  57. .smad-line-red {
  58. color: @brand-primary;
  59. }
  60. .btn {
  61. padding-top: 10px;
  62. padding-bottom: 10px;
  63. padding-left: 15px;
  64. padding-right: 15px;
  65. }
  66. .border-top-grey {
  67. border-top: 2px solid @brand-grey;
  68. }
  69. .border-bottom-grey {
  70. border-bottom: 2px solid @brand-grey;
  71. }
  72. /** Bootstrap */
  73. .btn:focus,.btn:active {
  74. outline: none !important;
  75. }
  76. .btn-primary {
  77. color: @brand-text;
  78. background-color: @brand-grey;
  79. border-color: @brand-grey;
  80. }
  81. .btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open>.dropdown-toggle.btn-primary.focus, .open>.dropdown-toggle.btn-primary:focus, .open>.dropdown-toggle.btn-primary:hover {
  82. color: @brand-white;
  83. background-color: @brand-primary;
  84. border-color: @brand-primary;
  85. }
  86. .btn-primary.active, .btn-primary:active, .btn-primary:hover, .open>.dropdown-toggle.btn-primary {
  87. color: @brand-white;
  88. background-color: @brand-primary;
  89. border-color: @brand-primary;
  90. }
  91. .btn-default {
  92. color: @brand-primary;
  93. background-color: @brand-white;
  94. border-color: @brand-primary;
  95. }
  96. .btn-default.active.focus, .btn-default.active:focus, .btn-default.active:hover, .btn-default:active.focus, .btn-default:active:focus, .btn-default:active:hover, .open>.dropdown-toggle.btn-default.focus, .open>.dropdown-toggle.btn-default:focus, .open>.dropdown-toggle.btn-default:hover {
  97. color: @brand-white;
  98. background-color: @brand-primary;
  99. border-color: @brand-primary;
  100. }
  101. .btn-default.active, .btn-default:active, .btn-default:hover, .open>.dropdown-toggle.btn-default {
  102. color: @brand-white;
  103. background-color: @brand-primary;
  104. border-color: @brand-primary;
  105. }
  106. .btn-default-red {
  107. color: @brand-white!important;
  108. background-color: @brand-primary;
  109. border-color: @brand-primary;
  110. }
  111. .btn-default-red.active.focus, .btn-default-red.active:focus, .btn-default-red.active:hover, .btn-default-red:active.focus, .btn-default-red:active:focus, .btn-default-red:active:hover, .open>.dropdown-toggle.btn-default-red.focus, .open>.dropdown-toggle.btn-default-red:focus, .open>.dropdown-toggle.btn-default-red:hover {
  112. color: @brand-primary!important;
  113. background-color: @brand-white;
  114. border-color: @brand-primary;
  115. }
  116. .btn-default-red.active, .btn-default-red:active, .btn-default-red:hover, .open>.dropdown-toggle.btn-default-red {
  117. color: @brand-primary!important;
  118. background-color: @brand-white;
  119. border-color: @brand-primary;
  120. }
  121. .btn-grey-border {
  122. color: @brand-secondary!important;
  123. background-color: @brand-white;
  124. border-color: @brand-secondary;
  125. }
  126. .btn-grey-border.active.focus, .btn-grey-border.active:focus, .btn-grey-border.active:hover, .btn-grey-border:active.focus, .btn-grey-border:active:focus, .btn-grey-border:active:hover, .open>.dropdown-toggle.btn-grey-border.focus, .open>.dropdown-toggle.btn-grey-border:focus, .open>.dropdown-toggle.btn-grey-border:hover {
  127. color: @brand-white!important;
  128. background-color: @brand-secondary;
  129. border-color: @brand-secondary;
  130. }
  131. .btn-grey-border.active, .btn-grey-border:active, .btn-grey-border:hover, .open>.dropdown-toggle.btn-grey-border {
  132. color: @brand-white!important;
  133. background-color: @brand-secondary;
  134. border-color: @brand-secondary;
  135. }
  136. /** TOP */
  137. #smad-header-section {
  138. padding: 10px 10px;
  139. background-color: @brand-grey-light;
  140. .smad-top-first {
  141. padding-top: 20px;
  142. border-bottom: 1px solid @brand-primary;
  143. }
  144. .smad-top-second {
  145. text-align: right;
  146. }
  147. ul {
  148. text-align: right;
  149. list-style-type: none;
  150. li {
  151. padding: 0px;
  152. display: inline-block;
  153. .smad-header-title {
  154. color: @brand-text-light;
  155. font-size: 13px;
  156. }
  157. .smad-desc {
  158. padding-right: 10px;
  159. color: @brand-text;
  160. font-size: 13px;
  161. }
  162. }
  163. }
  164. a.smad-logout {
  165. color: @brand-text;
  166. font-size: 14px;
  167. text-decoration: none;
  168. &:focus, &:hover {
  169. color: @brand-text;
  170. text-decoration: none;
  171. }
  172. }
  173. }
  174. /** Menu */
  175. #smad-menu-section {
  176. .smad-heder-title {
  177. color: @brand-text;
  178. font-weight: 700;
  179. }
  180. .menu-items {
  181. padding-top: 35px;
  182. padding-bottom: 20px;
  183. .menu-item {
  184. display: inline-block;
  185. }
  186. ul {
  187. list-style-type: none;
  188. display: inline-block;
  189. li {
  190. padding: 0 10px;
  191. display: inline-block;
  192. }
  193. }
  194. }
  195. }
  196. /* Menu form */
  197. #smad-menu-form-section {
  198. .smad-border-col {
  199. border-right: 2px solid @brand-grey;
  200. @media screen and (max-width : @screen-md ) {
  201. border-right: 0;
  202. border-bottom: 2px solid @brand-grey;
  203. }
  204. }
  205. .menu-items {
  206. padding-top: 45px;
  207. padding-bottom: 20px;
  208. .menu-item {
  209. padding-top: 25px;
  210. padding-bottom: 65px;
  211. display: inline-block;
  212. a {
  213. color: @brand-text;
  214. text-decoration: none;
  215. font-weight: 700;
  216. &:focus, &:hover {
  217. color: @brand-text;
  218. text-decoration: none;
  219. font-weight: 700;
  220. }
  221. }
  222. input {
  223. width: 80px;
  224. }
  225. }
  226. }
  227. .menu-form-input {
  228. padding-top: 25px;
  229. padding-bottom: 25px;
  230. .menu-item {
  231. display: inline-block;
  232. a {
  233. color: @brand-text;
  234. text-decoration: none;
  235. font-weight: 700;
  236. &:focus, &:hover {
  237. color: @brand-text;
  238. text-decoration: none;
  239. font-weight: 700;
  240. }
  241. }
  242. input {
  243. width: 80px;
  244. }
  245. }
  246. }
  247. }
  248. #smad-generate-link {
  249. padding: 60px 60px;
  250. }
  251. /** Footer */
  252. #smad-footer-section {
  253. padding: 28px 0 10px 0;
  254. background-color: @brand-secondary;
  255. text-align: center;
  256. ul {
  257. text-align: center;
  258. list-style-type: none;
  259. li {
  260. padding: 0 30px;
  261. display: inline-block;
  262. @media screen and (max-width : @screen-md ) {
  263. padding: 0 10px;
  264. }
  265. @media screen and (max-width : @screen-xs ) {
  266. text-align: center;
  267. padding: 0 10px;
  268. display: block;
  269. }
  270. a {
  271. text-decoration: none;
  272. color: @brand-text;
  273. text-decoration: none;
  274. &:focus, &:hover {
  275. color: @brand-text;
  276. text-decoration: underline;
  277. }
  278. }
  279. }
  280. }
  281. }
  282. /**
  283. * Employees
  284. */
  285. #smad-employees-section {
  286. /*Form Wizard*/
  287. .smad-wizard {
  288. margin-top: 0px;
  289. }
  290. .smad-wizard {
  291. border-bottom: solid 1px #e0e0e0;
  292. padding: 0 0 10px 0;
  293. }
  294. .smad-wizard > .smad-wizard-step {
  295. padding: 0;
  296. position: relative;
  297. }
  298. .smad-wizard > .smad-wizard-step + .smad-wizard-step {
  299. }
  300. .smad-wizard > .smad-wizard-step .smad-wizard-stepnum {
  301. color: #595959;
  302. font-size: 16px;
  303. margin-bottom: 5px;
  304. }
  305. .smad-wizard-info {
  306. color: #999;
  307. font-size: 14px;
  308. .step-item {
  309. .step-title {
  310. color: @brand-text-light;
  311. }
  312. }
  313. }
  314. .smad-wizard-info.complete {
  315. .step-item {
  316. color: @brand-primary;
  317. }
  318. .step-title {
  319. color: @brand-text;
  320. }
  321. }
  322. .smad-wizard > .smad-wizard-step > .smad-wizard-dot {
  323. position: absolute;
  324. width: 30px;
  325. height: 30px;
  326. display: block;
  327. background: none;
  328. top: 48px;
  329. left: 50%;
  330. margin-top: -15px;
  331. margin-left: -15px;
  332. border-radius: 50%;
  333. }
  334. .smad-wizard > .smad-wizard-step > .smad-wizard-dot:after {
  335. content: ' ';
  336. width: 14px;
  337. height: 14px;
  338. background: @brand-white;
  339. border-radius: 50px;
  340. position: absolute;
  341. top: 8px;
  342. left: 8px;
  343. border: 2px solid @brand-primary;
  344. }
  345. .smad-wizard > .smad-wizard-step > .progress {
  346. position: relative;
  347. border-radius: 0px;
  348. height: 3px;
  349. box-shadow: none;
  350. margin: 20px 0;
  351. }
  352. .smad-wizard > .smad-wizard-step > .progress > .progress-bar {
  353. width: 0px;
  354. box-shadow: none;
  355. background: @brand-grey;
  356. }
  357. .smad-wizard > .smad-wizard-step.complete > .progress > .progress-bar {
  358. width: 100%;
  359. }
  360. .smad-wizard > .smad-wizard-step.active > .progress > .progress-bar {
  361. width: 50%;
  362. }
  363. .smad-wizard > .smad-wizard-step:first-child.active > .progress > .progress-bar {
  364. width: 0%;
  365. }
  366. .smad-wizard > .smad-wizard-step:last-child.active > .progress > .progress-bar {
  367. width: 100%;
  368. }
  369. .smad-wizard > .smad-wizard-step.disabled > .smad-wizard-dot {
  370. background-color: @brand-grey;
  371. }
  372. .smad-wizard > .smad-wizard-step.disabled > .smad-wizard-dot:after {
  373. opacity: 0;
  374. }
  375. .smad-wizard > .smad-wizard-step:first-child > .progress {
  376. left: 50%;
  377. width: 50%;
  378. }
  379. .smad-wizard > .smad-wizard-step:last-child > .progress {
  380. width: 50%;
  381. }
  382. .smad-wizard > .smad-wizard-step.disabled a.smad-wizard-dot {
  383. pointer-events: none;
  384. }
  385. /*END Form Wizard*/
  386. /** Form employes */
  387. .smad-employees-form-section {
  388. .menu-items {
  389. padding-top: 20px;
  390. padding-bottom: 20px;
  391. .menu-item {
  392. display: inline-block;
  393. }
  394. ul {
  395. list-style-type: none;
  396. display: inline-block;
  397. li {
  398. padding: 0 10px;
  399. display: inline-block;
  400. }
  401. }
  402. }
  403. }
  404. /** form list employes */
  405. .smad-employees-list-head {
  406. padding: 15px 0px;
  407. background-color: @brand-grey-light;
  408. .title {
  409. }
  410. .desc {
  411. font-size: 15px;
  412. line-height: 20px;
  413. }
  414. .menu-items {
  415. padding-top: 30px;
  416. padding-bottom: 20px;
  417. float: right;
  418. .menu-item {
  419. display: inline-block;
  420. }
  421. ul {
  422. list-style-type: none;
  423. display: inline-block;
  424. li {
  425. padding: 0 10px;
  426. display: inline-block;
  427. }
  428. }
  429. }
  430. }
  431. .smad-employees-bottom-navigation {
  432. padding: 30px 0;
  433. }
  434. }