styles.less 12 KB

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