styles.less 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535
  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. /**Table */
  137. .table {
  138. thead {
  139. td {
  140. color: @brand-text;
  141. }
  142. }
  143. tbody {
  144. td {
  145. color: @brand-text-light;
  146. }
  147. }
  148. }
  149. /** TOP */
  150. #smad-header-section {
  151. padding: 10px 10px;
  152. background-color: @brand-grey-light;
  153. .smad-top-first {
  154. padding-top: 20px;
  155. border-bottom: 1px solid @brand-primary;
  156. }
  157. .smad-top-second {
  158. text-align: right;
  159. }
  160. ul {
  161. text-align: right;
  162. list-style-type: none;
  163. li {
  164. padding: 0px;
  165. display: inline-block;
  166. .smad-header-title {
  167. color: @brand-text-light;
  168. font-size: 13px;
  169. }
  170. .smad-desc {
  171. padding-right: 10px;
  172. color: @brand-text;
  173. font-size: 13px;
  174. }
  175. }
  176. }
  177. a.smad-logout {
  178. color: @brand-text;
  179. font-size: 14px;
  180. text-decoration: none;
  181. &:focus, &:hover {
  182. color: @brand-text;
  183. text-decoration: none;
  184. }
  185. }
  186. }
  187. /** Menu */
  188. #smad-menu-section {
  189. .smad-heder-title {
  190. color: @brand-text;
  191. font-weight: 700;
  192. }
  193. .menu-items {
  194. padding-top: 35px;
  195. padding-bottom: 20px;
  196. .menu-item {
  197. display: inline-block;
  198. }
  199. ul {
  200. list-style-type: none;
  201. display: inline-block;
  202. li {
  203. padding: 0 10px;
  204. display: inline-block;
  205. }
  206. }
  207. }
  208. }
  209. /* Menu form */
  210. #smad-menu-form-section {
  211. .smad-border-col {
  212. border-right: 2px solid @brand-grey;
  213. @media screen and (max-width : @screen-md ) {
  214. border-right: 0;
  215. border-bottom: 2px solid @brand-grey;
  216. }
  217. }
  218. .menu-items {
  219. padding-top: 45px;
  220. padding-bottom: 20px;
  221. .menu-item {
  222. padding-top: 25px;
  223. padding-bottom: 65px;
  224. display: inline-block;
  225. a {
  226. color: @brand-text;
  227. text-decoration: none;
  228. font-weight: 700;
  229. &:focus, &:hover {
  230. color: @brand-text;
  231. text-decoration: none;
  232. font-weight: 700;
  233. }
  234. }
  235. input {
  236. width: 80px;
  237. }
  238. }
  239. }
  240. .menu-form-input {
  241. padding-top: 25px;
  242. padding-bottom: 25px;
  243. .menu-item {
  244. display: inline-block;
  245. a {
  246. color: @brand-text;
  247. text-decoration: none;
  248. font-weight: 700;
  249. &:focus, &:hover {
  250. color: @brand-text;
  251. text-decoration: none;
  252. font-weight: 700;
  253. }
  254. }
  255. input {
  256. width: 80px;
  257. }
  258. }
  259. }
  260. }
  261. #smad-generate-link {
  262. padding: 60px 60px;
  263. }
  264. /** Footer */
  265. #smad-footer-section {
  266. padding: 28px 0 10px 0;
  267. background-color: @brand-secondary;
  268. text-align: center;
  269. ul {
  270. text-align: center;
  271. list-style-type: none;
  272. li {
  273. padding: 0 30px;
  274. display: inline-block;
  275. @media screen and (max-width : @screen-md ) {
  276. padding: 0 10px;
  277. }
  278. @media screen and (max-width : @screen-xs ) {
  279. text-align: center;
  280. padding: 0 10px;
  281. display: block;
  282. }
  283. a {
  284. text-decoration: none;
  285. color: @brand-text;
  286. text-decoration: none;
  287. &:focus, &:hover {
  288. color: @brand-text;
  289. text-decoration: underline;
  290. }
  291. }
  292. }
  293. }
  294. }
  295. /**
  296. * Employees
  297. */
  298. #smad-employees-section {
  299. /*Form Wizard*/
  300. .smad-wizard {
  301. margin-top: 0px;
  302. }
  303. .smad-wizard {
  304. border-bottom: solid 1px #e0e0e0;
  305. padding: 0 0 10px 0;
  306. }
  307. .smad-wizard > .smad-wizard-step {
  308. padding: 0;
  309. position: relative;
  310. }
  311. .smad-wizard > .smad-wizard-step + .smad-wizard-step {
  312. }
  313. .smad-wizard > .smad-wizard-step .smad-wizard-stepnum {
  314. color: #595959;
  315. font-size: 16px;
  316. margin-bottom: 5px;
  317. }
  318. .smad-wizard-info {
  319. color: #999;
  320. font-size: 14px;
  321. .step-item {
  322. .step-title {
  323. color: @brand-text-light;
  324. }
  325. }
  326. }
  327. .smad-wizard-info.complete {
  328. .step-item {
  329. color: @brand-primary;
  330. }
  331. .step-title {
  332. color: @brand-text;
  333. }
  334. }
  335. .smad-wizard > .smad-wizard-step > .smad-wizard-dot {
  336. position: absolute;
  337. width: 30px;
  338. height: 30px;
  339. display: block;
  340. background: none;
  341. top: 48px;
  342. left: 50%;
  343. margin-top: -15px;
  344. margin-left: -15px;
  345. border-radius: 50%;
  346. }
  347. .smad-wizard > .smad-wizard-step > .smad-wizard-dot:after {
  348. content: ' ';
  349. width: 14px;
  350. height: 14px;
  351. background: @brand-white;
  352. border-radius: 50px;
  353. position: absolute;
  354. top: 8px;
  355. left: 8px;
  356. border: 2px solid @brand-primary;
  357. }
  358. .smad-wizard > .smad-wizard-step > .progress {
  359. position: relative;
  360. border-radius: 0px;
  361. height: 3px;
  362. box-shadow: none;
  363. margin: 20px 0;
  364. background: @brand-grey-light;
  365. }
  366. .smad-wizard > .smad-wizard-step > .progress > .progress-bar {
  367. width: 0px;
  368. box-shadow: none;
  369. background: @brand-grey;
  370. }
  371. .smad-wizard > .smad-wizard-step.complete > .progress > .progress-bar {
  372. width: 100%;
  373. }
  374. .smad-wizard > .smad-wizard-step.active > .progress > .progress-bar {
  375. width: 50%;
  376. }
  377. .smad-wizard > .smad-wizard-step:first-child.active > .progress > .progress-bar {
  378. width: 0%;
  379. }
  380. .smad-wizard > .smad-wizard-step:last-child.active > .progress > .progress-bar {
  381. width: 100%;
  382. }
  383. .smad-wizard > .smad-wizard-step.disabled > .smad-wizard-dot {
  384. background-color: @brand-grey;
  385. }
  386. .smad-wizard > .smad-wizard-step.disabled > .smad-wizard-dot:after {
  387. opacity: 0;
  388. }
  389. .smad-wizard > .smad-wizard-step:first-child > .progress {
  390. left: 50%;
  391. width: 50%;
  392. }
  393. .smad-wizard > .smad-wizard-step:last-child > .progress {
  394. width: 50%;
  395. }
  396. .smad-wizard > .smad-wizard-step.disabled a.smad-wizard-dot {
  397. pointer-events: none;
  398. }
  399. /*END Form Wizard*/
  400. /** Form employes */
  401. .smad-employees-form-section {
  402. .menu-items {
  403. padding-top: 20px;
  404. padding-bottom: 20px;
  405. .menu-item {
  406. display: inline-block;
  407. }
  408. ul {
  409. list-style-type: none;
  410. display: inline-block;
  411. li {
  412. padding: 10px 10px;
  413. display: inline-block;
  414. }
  415. }
  416. }
  417. .form-input {
  418. padding-top: 35px;
  419. padding-bottom: 25px;
  420. @media screen and (max-width : @screen-md ) {
  421. border-top: 1px solid @brand-grey;
  422. }
  423. .form-item {
  424. display: inline-block;
  425. }
  426. .smad-heder-title {
  427. padding-top: 3px;
  428. font-size: 14px;
  429. }
  430. }
  431. }
  432. /** form list employes */
  433. .smad-employees-list-head {
  434. padding: 15px 0px;
  435. background-color: @brand-grey-light;
  436. .title {
  437. }
  438. .desc {
  439. font-size: 15px;
  440. line-height: 20px;
  441. }
  442. .menu-items {
  443. padding-top: 30px;
  444. padding-bottom: 20px;
  445. float: right;
  446. .menu-item {
  447. display: inline-block;
  448. }
  449. ul {
  450. list-style-type: none;
  451. display: inline-block;
  452. li {
  453. padding: 0 10px;
  454. display: inline-block;
  455. }
  456. }
  457. }
  458. }
  459. .smad-employees-bottom-navigation {
  460. padding: 30px 0;
  461. }
  462. }