styles.less 13 KB

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