styles.less 13 KB

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