styles.less 12 KB

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