styles.less 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
  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. .font-weight-700 {
  33. font-weight: 700;
  34. }
  35. .padding-0 {
  36. padding: 0;
  37. }
  38. .padding-lr-0 {
  39. padding-left: 0;
  40. padding-right: 0;
  41. }
  42. .padding-bottom-25 {
  43. padding-bottom: 25px;
  44. }
  45. .pl-20 {
  46. padding-left: 20px;
  47. }
  48. .smad-divider {
  49. margin: 20px 0;
  50. height: 1px;
  51. width: 100%;
  52. background-color: @brand-grey;
  53. }
  54. .smad-line-grey {
  55. color: @brand-grey;
  56. }
  57. .smad-line-red {
  58. color: @brand-primary;
  59. }
  60. .text-grey {
  61. color: @brand-text-light;
  62. }
  63. .btn {
  64. padding-top: 10px;
  65. padding-bottom: 10px;
  66. padding-left: 15px;
  67. padding-right: 15px;
  68. }
  69. .border-top-grey {
  70. border-top: 2px solid @brand-grey;
  71. }
  72. .border-bottom-grey {
  73. border-bottom: 2px solid @brand-grey;
  74. }
  75. /** Bootstrap */
  76. .btn:focus,.btn:active {
  77. outline: none !important;
  78. }
  79. .btn-primary {
  80. color: @brand-text;
  81. background-color: @brand-grey;
  82. border-color: @brand-grey;
  83. }
  84. .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 {
  85. color: @brand-white;
  86. background-color: @brand-primary;
  87. border-color: @brand-primary;
  88. }
  89. .btn-primary.active, .btn-primary:active, .btn-primary:hover, .open>.dropdown-toggle.btn-primary {
  90. color: @brand-white;
  91. background-color: @brand-primary;
  92. border-color: @brand-primary;
  93. }
  94. .btn-default {
  95. color: @brand-primary;
  96. background-color: @brand-white;
  97. border-color: @brand-primary;
  98. }
  99. .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 {
  100. color: @brand-white;
  101. background-color: @brand-primary;
  102. border-color: @brand-primary;
  103. }
  104. .btn-default.active, .btn-default:active, .btn-default:hover, .open>.dropdown-toggle.btn-default {
  105. color: @brand-white;
  106. background-color: @brand-primary;
  107. border-color: @brand-primary;
  108. }
  109. .btn-default-red {
  110. color: @brand-white!important;
  111. background-color: @brand-primary;
  112. border-color: @brand-primary;
  113. }
  114. .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 {
  115. color: @brand-primary!important;
  116. background-color: @brand-white;
  117. border-color: @brand-primary;
  118. }
  119. .btn-default-red.active, .btn-default-red:active, .btn-default-red:hover, .open>.dropdown-toggle.btn-default-red {
  120. color: @brand-primary!important;
  121. background-color: @brand-white;
  122. border-color: @brand-primary;
  123. }
  124. .btn-grey-border {
  125. color: @brand-secondary!important;
  126. background-color: @brand-white;
  127. border-color: @brand-secondary;
  128. }
  129. .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 {
  130. color: @brand-white!important;
  131. background-color: @brand-secondary;
  132. border-color: @brand-secondary;
  133. }
  134. .btn-grey-border.active, .btn-grey-border:active, .btn-grey-border:hover, .open>.dropdown-toggle.btn-grey-border {
  135. color: @brand-white!important;
  136. background-color: @brand-secondary;
  137. border-color: @brand-secondary;
  138. }
  139. .col-centered {
  140. margin: 0 auto;
  141. float: none;
  142. }
  143. /**Table */
  144. .table {
  145. thead {
  146. td {
  147. color: @brand-text;
  148. }
  149. }
  150. tbody {
  151. td {
  152. color: @brand-text-light;
  153. }
  154. }
  155. }
  156. /** TOP */
  157. #smad-header-section {
  158. padding: 10px 10px;
  159. background-color: @brand-grey-light;
  160. .smad-top-first {
  161. padding-top: 20px;
  162. border-bottom: 1px solid @brand-primary;
  163. }
  164. .smad-top-second {
  165. text-align: right;
  166. }
  167. ul {
  168. text-align: right;
  169. list-style-type: none;
  170. li {
  171. padding: 0px;
  172. display: inline-block;
  173. .smad-header-title {
  174. color: @brand-text-light;
  175. font-size: 13px;
  176. }
  177. .smad-desc {
  178. padding-right: 10px;
  179. color: @brand-text;
  180. font-size: 13px;
  181. }
  182. }
  183. }
  184. a.smad-logout {
  185. color: @brand-text;
  186. font-size: 14px;
  187. text-decoration: none;
  188. &:focus, &:hover {
  189. color: @brand-text;
  190. text-decoration: none;
  191. }
  192. }
  193. }
  194. /** Menu */
  195. #smad-menu-section {
  196. .smad-heder-title {
  197. color: @brand-text;
  198. font-weight: 700;
  199. }
  200. .menu-items {
  201. padding-top: 35px;
  202. padding-bottom: 20px;
  203. .menu-item {
  204. display: inline-block;
  205. }
  206. ul {
  207. list-style-type: none;
  208. display: inline-block;
  209. li {
  210. padding: 0 10px;
  211. display: inline-block;
  212. }
  213. }
  214. }
  215. }
  216. /* Menu form */
  217. #smad-menu-form-section {
  218. .smad-border-col {
  219. border-right: 2px solid @brand-grey;
  220. @media screen and (max-width : @screen-md ) {
  221. border-right: 0;
  222. border-bottom: 2px solid @brand-grey;
  223. }
  224. }
  225. .menu-items {
  226. padding-top: 45px;
  227. padding-bottom: 20px;
  228. .menu-item {
  229. padding-top: 25px;
  230. padding-bottom: 65px;
  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. .menu-form-input {
  248. padding-top: 25px;
  249. padding-bottom: 25px;
  250. .menu-item {
  251. display: inline-block;
  252. a {
  253. color: @brand-text;
  254. text-decoration: none;
  255. font-weight: 700;
  256. &:focus, &:hover {
  257. color: @brand-text;
  258. text-decoration: none;
  259. font-weight: 700;
  260. }
  261. }
  262. input {
  263. width: 80px;
  264. }
  265. }
  266. }
  267. }
  268. #smad-generate-link {
  269. padding: 60px 60px;
  270. }
  271. /** Footer */
  272. footer {
  273. position: fixed;
  274. height: 75px;
  275. bottom: 0;
  276. width: 100%;
  277. }
  278. #smad-footer-section {
  279. padding: 28px 0 10px 0;
  280. background-color: @brand-secondary;
  281. text-align: center;
  282. ul {
  283. text-align: center;
  284. list-style-type: none;
  285. li {
  286. padding: 0 30px;
  287. display: inline-block;
  288. @media screen and (max-width : @screen-md ) {
  289. padding: 0 10px;
  290. }
  291. @media screen and (max-width : @screen-xs ) {
  292. text-align: center;
  293. padding: 0 10px;
  294. display: block;
  295. }
  296. a {
  297. text-decoration: none;
  298. color: @brand-text;
  299. text-decoration: none;
  300. &:focus, &:hover {
  301. color: @brand-text;
  302. text-decoration: underline;
  303. }
  304. }
  305. }
  306. }
  307. }
  308. /**
  309. * Employees
  310. */
  311. #smad-employees-section {
  312. /*Form Wizard*/
  313. .smad-wizard {
  314. margin-top: 0px;
  315. }
  316. .smad-wizard {
  317. border-bottom: solid 1px #e0e0e0;
  318. padding: 0 0 10px 0;
  319. }
  320. .smad-wizard > .smad-wizard-step {
  321. padding: 0;
  322. position: relative;
  323. }
  324. .smad-wizard > .smad-wizard-step + .smad-wizard-step {
  325. }
  326. .smad-wizard > .smad-wizard-step .smad-wizard-stepnum {
  327. color: #595959;
  328. font-size: 16px;
  329. margin-bottom: 5px;
  330. }
  331. .smad-wizard-info {
  332. color: #999;
  333. font-size: 14px;
  334. .step-item {
  335. .step-title {
  336. color: @brand-text-light;
  337. }
  338. }
  339. }
  340. .smad-wizard-step.complete {
  341. .step-item {
  342. color: @brand-primary;
  343. }
  344. .step-title {
  345. color: @brand-text;
  346. }
  347. }
  348. .smad-wizard > .smad-wizard-step > .smad-wizard-dot {
  349. position: absolute;
  350. width: 30px;
  351. height: 30px;
  352. display: block;
  353. background: none;
  354. top: 48px;
  355. left: 50%;
  356. margin-top: -15px;
  357. margin-left: -15px;
  358. border-radius: 50%;
  359. }
  360. .smad-wizard > .smad-wizard-step > .smad-wizard-dot:after {
  361. content: ' ';
  362. width: 14px;
  363. height: 14px;
  364. background: @brand-white;
  365. border-radius: 50px;
  366. position: absolute;
  367. top: 8px;
  368. left: 8px;
  369. border: 2px solid @brand-primary;
  370. }
  371. .smad-wizard > .smad-wizard-step > .progress {
  372. position: relative;
  373. border-radius: 0px;
  374. height: 3px;
  375. box-shadow: none;
  376. margin: 20px 0;
  377. background: @brand-grey-light;
  378. }
  379. .smad-wizard > .smad-wizard-step > .progress > .progress-bar {
  380. width: 0px;
  381. box-shadow: none;
  382. background: @brand-grey;
  383. }
  384. .smad-wizard > .smad-wizard-step.complete > .progress > .progress-bar {
  385. width: 100%;
  386. }
  387. .smad-wizard > .smad-wizard-step.active > .progress > .progress-bar {
  388. width: 50%;
  389. }
  390. .smad-wizard > .smad-wizard-step:first-child.active > .progress > .progress-bar {
  391. width: 0%;
  392. }
  393. .smad-wizard > .smad-wizard-step:last-child.active > .progress > .progress-bar {
  394. width: 100%;
  395. }
  396. .smad-wizard > .smad-wizard-step.disabled > .smad-wizard-dot {
  397. background-color: @brand-grey;
  398. }
  399. .smad-wizard > .smad-wizard-step.disabled > .smad-wizard-dot:after {
  400. opacity: 0;
  401. }
  402. .smad-wizard > .smad-wizard-step:first-child > .progress {
  403. left: 50%;
  404. width: 50%;
  405. }
  406. .smad-wizard > .smad-wizard-step:last-child > .progress {
  407. width: 50%;
  408. }
  409. .smad-wizard > .smad-wizard-step.disabled a.smad-wizard-dot {
  410. pointer-events: none;
  411. }
  412. /*END Form Wizard*/
  413. /** Form employes */
  414. .smad-employees-form-section {
  415. .menu-items {
  416. padding-top: 20px;
  417. padding-bottom: 20px;
  418. .menu-item {
  419. display: inline-block;
  420. }
  421. ul {
  422. list-style-type: none;
  423. display: inline-block;
  424. li {
  425. padding: 10px 10px;
  426. display: inline-block;
  427. }
  428. }
  429. }
  430. .form-input {
  431. padding-top: 35px;
  432. padding-bottom: 25px;
  433. @media screen and (max-width : @screen-md ) {
  434. border-top: 1px solid @brand-grey;
  435. }
  436. .form-item {
  437. display: inline-block;
  438. }
  439. .smad-heder-title {
  440. padding-top: 3px;
  441. font-size: 14px;
  442. }
  443. }
  444. }
  445. /** form list employes */
  446. .smad-employees-list-head {
  447. padding: 15px 0px;
  448. background-color: @brand-grey-light;
  449. .title {
  450. }
  451. .desc {
  452. font-size: 15px;
  453. line-height: 20px;
  454. }
  455. .menu-items {
  456. padding-top: 30px;
  457. padding-bottom: 20px;
  458. float: right;
  459. .menu-item {
  460. display: inline-block;
  461. }
  462. ul {
  463. list-style-type: none;
  464. display: inline-block;
  465. li {
  466. padding: 0 10px;
  467. display: inline-block;
  468. }
  469. }
  470. }
  471. }
  472. .smad-employees-bottom-navigation {
  473. padding: 30px 0;
  474. }
  475. }
  476. /**
  477. * Login
  478. */
  479. #smad-login-section {
  480. .main {
  481. padding-top: 50px;
  482. .title-system {
  483. padding: 20px 0;
  484. color: @brand-text-light;
  485. line-height: 20px;
  486. }
  487. .header-title {
  488. h4 {
  489. padding: 40px 0 30px 0;
  490. }
  491. }
  492. .login-button {
  493. margin: 20px 0 ;
  494. padding: 10px 90px;
  495. }
  496. .first-input {
  497. float: right;
  498. @media (max-width: @screen-md) {
  499. float: none;
  500. }
  501. }
  502. }
  503. }