styles.less 13 KB

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