klimentmichal

Lass main

May 19th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.34 KB | None | 0 0
  1. @import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700&subset=latin,latin-ext);
  2. /* skeleton */
  3.  
  4. @-ms-viewport {
  5. width: device-width;
  6. }
  7.  
  8. @media (max-width: 400px) {
  9. @-ms-viewport {
  10. width: 320px;
  11. }
  12. }
  13.  
  14. .after-clear {
  15. &:after {
  16. content: '';
  17. display: block;
  18. clear: both;
  19. }
  20. }
  21.  
  22. .before-square {
  23. position: relative;
  24.  
  25. &:before {
  26. content: '';
  27. display: block;
  28. padding-top: 100%;
  29. width: 100%;
  30. }
  31.  
  32. > * {
  33. position: absolute;
  34. top: 0;
  35. left: 0;
  36. height: 100%;
  37. width: 100%;
  38. }
  39. }
  40.  
  41. .middle-cell {
  42. display: table;
  43. height: 100%;
  44. width: 100%;
  45. text-align: center;
  46.  
  47. > * {
  48. display: table-cell;
  49. vertical-align: middle;
  50. text-align: center;
  51. }
  52. }
  53.  
  54. .page-element {
  55. margin-left: auto;
  56. margin-right: auto;
  57. max-width: @page-width;
  58. padding-left: 20px;
  59. padding-right: 20px;
  60. }
  61.  
  62. .middle-absolute {
  63. margin: auto;
  64. top: 0;
  65. bottom: 0;
  66. left: 0;
  67. right: 0;
  68. }
  69.  
  70. .animation(@a) {
  71. -webkit-transition: @a 0.3s ease-in;
  72. -moz-transition: @a 0.3s ease-in;
  73. -ms-transition: @a 0.3s ease-in;
  74. transition: @a 0.3s ease-in;
  75. }
  76.  
  77. .animation-out(@a) {
  78. -webkit-transition: @a 0.3s ease-out;
  79. -moz-transition: @a 0.3s ease-out;
  80. -ms-transition: @a 0.3s ease-out;
  81. transition: @a 0.3s ease-out;
  82. }
  83.  
  84. .animation(@a, @b) {
  85. -webkit-transition: @a @b ease-in;
  86. -moz-transition: @a @b ease-in;
  87. -ms-transition: @a @b ease-in;
  88. transition: @a @b ease-in;
  89. }
  90.  
  91. .animation-out(@a, @b) {
  92. -webkit-transition: @a @b ease-out;
  93. -moz-transition: @a @b ease-out;
  94. -ms-transition: @a @b ease-out;
  95. transition: @a @b ease-out;
  96. }
  97.  
  98. .animation(@a, @b, @c ) {
  99. -webkit-transition: @a @b @c;
  100. -moz-transition: @a @b @c;
  101. -ms-transition: @a @b @c;
  102. transition: @a @b @c;
  103. }
  104.  
  105. .delay(@a) {
  106. -webkit-transition-delay: @a;
  107. -moz-transition-delay: @a;
  108. -ms-transition-delay: @a;
  109. transition-delay: @a;
  110. }
  111.  
  112. .duration(@a) {
  113. -webkit-transition-duration: @a;
  114. -moz-transition-duration: @a;
  115. -ms-transition-duration: @a;
  116. transition-duration: @a;
  117. }
  118.  
  119.  
  120. /* skeleton */
  121.  
  122. @page-width: 1240px;
  123.  
  124. * {
  125. margin: 0;
  126. padding: 0;
  127. font-family: inherit;
  128. color: inherit;
  129. font-size: inherit;
  130. background-position: center;
  131. -webkit-box-sizing: border-box;
  132. -moz-box-sizing: border-box;
  133. box-sizing: border-box;
  134. -webkit-font-smoothing: antialiased;
  135. -webkit-text-size-adjust: 100%;
  136. -moz-text-size-adjust: 100%;
  137. -ms-text-size-adjust: 100%;
  138. text-size-adjust: 100%;
  139. background-repeat: no-repeat;
  140. vertical-align: middle;
  141. }
  142.  
  143. body,
  144. html {
  145. min-width: 300px;
  146. background-color: #FFF;
  147. font-family: 'Source Sans Pro', sans-serif;
  148. min-height: 100%;
  149. }
  150.  
  151. body {
  152. padding-bottom: 110px;
  153. position: relative;
  154. min-height: 100vh;
  155. padding-top: 100px;
  156. }
  157.  
  158. a {
  159. text-decoration: none;
  160. border-color: transparent;
  161. cursor: pointer;
  162.  
  163. &:hover,
  164. :active {
  165. border: none;
  166. border-color: transparent;
  167. cursor: pointer;
  168. }
  169.  
  170. &.link {
  171. vertical-align: baseline;
  172. text-decoration: underline;
  173. }
  174.  
  175. &.active {
  176. text-decoration: underline;
  177. }
  178.  
  179. & *,
  180. & > * {
  181. text-decoration: none;
  182. border: none;
  183. border-width: 0;
  184. border-color: transparent;
  185. }
  186. }
  187.  
  188. mark,
  189. strong {
  190. font-family: inherit;
  191. color: inherit;
  192. font-size: inherit;
  193. font-weight: bold;
  194. background-color: transparent;
  195. }
  196.  
  197. h1,
  198. h2,
  199. h3,
  200. h4,
  201. {
  202. text-transform: uppercase;
  203. }
  204.  
  205. h1 {
  206. font-size: 32px;
  207. padding: 0px 20px 20px;
  208. }
  209.  
  210. h2 {
  211. font-size: 26px;
  212. padding-bottom: 20px;
  213. }
  214.  
  215. h3 {
  216. }
  217.  
  218. h4 {
  219. }
  220.  
  221. p {
  222. strong,
  223. mark,
  224. a {
  225. vertical-align: baseline;
  226. }
  227.  
  228. a {
  229. text-decoration: underline;
  230. }
  231. }
  232.  
  233. span {
  234. strong,
  235. mark,
  236. a {
  237. vertical-align: baseline;
  238. }
  239. }
  240.  
  241. @twobecameone: 600px;
  242. @threebecametwo: 600px;
  243. @threebecameone: 1190px;
  244. @fourbecamethree: 980px;
  245. @fourbecametwo: 600px;
  246. @fourbecameone: 400px;
  247.  
  248. ul {
  249. .page-element();
  250. padding: 10px;
  251.  
  252. li {
  253. float: left;
  254. display: block;
  255. padding: 10px;
  256. }
  257.  
  258. &.two {
  259. > li {
  260. width: 50%;
  261.  
  262. @media screen and ( max-width: @twobecameone) {
  263. width: 100%;
  264. }
  265. }
  266. }
  267.  
  268. &.three {
  269. > li {
  270. width: 33.333%;
  271. }
  272.  
  273. @media screen and ( max-width: @threebecameone) {
  274. max-width: 500px;
  275.  
  276. > li {
  277. width: 100%;
  278. }
  279. }
  280. }
  281.  
  282. &.four {
  283. > li {
  284. width: 25%;
  285.  
  286. @media screen and ( max-width: @fourbecamethree) {
  287. width: 33.333%;
  288. }
  289.  
  290. @media screen and ( max-width: @fourbecametwo) {
  291. width: 50%;
  292. }
  293.  
  294. @media screen and ( max-width: @fourbecameone) {
  295. width: 100%;
  296. }
  297. }
  298. }
  299.  
  300. &.content {
  301. li {
  302. &.first {
  303. width: 80%;
  304. }
  305.  
  306. width: 20%;
  307. }
  308. }
  309.  
  310. &.inline {
  311. &.center {
  312. text-align: center;
  313. }
  314.  
  315. &.left {
  316. text-align: left;
  317. }
  318.  
  319. &.left {
  320. text-align: right;
  321. }
  322.  
  323. > li {
  324. display: inline-block;
  325. float: none;
  326. }
  327. }
  328.  
  329. &.list {
  330. > li {
  331. float: none;
  332. width: 100%;
  333. position: relative;
  334.  
  335. &:before {
  336. content: '';
  337. display: block;
  338. border-radius: 50%;
  339. background: #777;
  340. height: 5px;
  341. width: 5px;
  342. position: absolute;
  343. left: 0;
  344. top: 0;
  345. bottom: 0;
  346. margin: auto;
  347. }
  348. }
  349. }
  350.  
  351. .after-clear();
  352. }
  353.  
  354. nav {
  355. position: fixed;
  356. top: 0;
  357. left: 0;
  358. background: #FFF;
  359. width: 100%;
  360. height: 70px;
  361. line-height: 70px;
  362. z-index: 100;
  363. box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  364.  
  365.  
  366. ul {
  367. padding: 0 10px;
  368.  
  369. > li {
  370. padding: 0 10px;
  371. height: 70px;
  372. line-height: 70px;
  373.  
  374. a {
  375. font-size: 16px;
  376. -webkit-transition: color 0.3s ease-in;
  377. -moz-transition: color 0.3s ease-in;
  378. -ms-transition: color 0.3s ease-in;
  379. transition: color 0.3s ease-in;
  380.  
  381. &:hover, .acitve {
  382. color: #1c69d4;
  383. }
  384. }
  385. }
  386. }
  387. }
  388.  
  389.  
  390. section {
  391. > * {
  392. .page-element();
  393. }
  394.  
  395. .after-clear();
  396. }
  397.  
  398. footer {
  399. background-color: #f8f8f8;
  400. text-align: center;
  401. padding: 20px;
  402. position: absolute;
  403. bottom: 0;
  404. left: 0;
  405. width: 100%;
  406. }
  407.  
  408. .btn {
  409. display: inline-block;
  410. cursor: pointer;
  411. position: relative;
  412. margin-top: 10px;
  413. margin-bottom: 20px;
  414. font-size: 14px;
  415. line-height: 20px;
  416. color: #FFF;
  417. min-width: 120px;
  418. padding: 10px 14px;
  419. text-align: center;
  420. background: #1c69d4;
  421. text-transform: uppercase;
  422. border: 2px solid #1c69d4;
  423. -webkit-transition: all 0.3s ease-in;
  424. -moz-transition: all 0.3s ease-in;
  425. -ms-transition: all 0.3s ease-in;
  426. transition: all 0.3s ease-in;
  427.  
  428. &.center {
  429. margin: auto;
  430. }
  431.  
  432. &:hover {
  433. background: #FFF;
  434. border: 2px solid #1c69d4;
  435. color: #1c69d4;
  436. }
  437. }
  438.  
  439. input {
  440. &[type=text],
  441. &[type=password] {
  442. -webkit-appearance: none;
  443. -webkit-border-radius: 0px;
  444. display: block;
  445. width: 100%;
  446. height: 30px;
  447. line-height: 28px;
  448. border: 1px solid #969696;
  449. padding-left: 12px;
  450. padding-right: 12px;
  451. }
  452.  
  453. &[type=submit] {
  454. .btn();
  455. }
  456.  
  457. &[type=file] {
  458. display: block;
  459. }
  460. }
  461.  
  462. textarea {
  463. -webkit-appearance: none;
  464. -webkit-border-radius: 0px;
  465. display: block;
  466. width: 100%;
  467. height: 230px;
  468. line-height: 28px;
  469. border: 1px solid #969696;
  470. padding-left: 12px;
  471. padding-right: 12px;
  472. }
  473.  
  474. button {
  475. background: none;
  476. border: 0;
  477. color: inherit;
  478. /* cursor: default; */
  479. font: inherit;
  480. line-height: normal;
  481. overflow: visible;
  482. padding: 0;
  483. -webkit-appearance: button;
  484. /* for input */
  485. -webkit-user-select: none;
  486. /* for button */
  487. -moz-user-select: none;
  488. -ms-user-select: none;
  489. .btn();
  490. }
  491.  
  492. label {
  493. display: block;
  494. font-weight: bold;
  495. }
  496.  
  497. .textbox, .dropdown {
  498. padding-bottom: 8px;
  499. min-height: 36px;
  500.  
  501. label {
  502. padding-bottom: 3px;
  503. }
  504.  
  505. span {
  506. color: #db0c0c;
  507. }
  508.  
  509. input {
  510. }
  511. }
  512.  
  513. .spanbox {
  514. span {
  515. color: #db0c0c;
  516.  
  517. &.succes {
  518. display: block;
  519. padding: 10px;
  520. color: #1ba261;
  521. }
  522. }
  523. }
  524.  
  525.  
  526. input.green{
  527. border-color: #1ba261;
  528. }
  529. input.red{
  530. border-color: #db0c0c;
  531. }
  532. .openbox {
  533. padding: 5px 0;
  534.  
  535. label, input, span {
  536. display: inline-block;
  537. }
  538.  
  539. input {
  540. width: 48px;
  541. }
  542.  
  543. label {
  544. width: 70px;
  545. }
  546. }
  547.  
  548. .checkbox {
  549. padding-bottom: 15px;
  550. min-height: 61px;
  551.  
  552. label {
  553. padding-bottom: 12px;
  554. }
  555.  
  556. span {
  557. }
  558.  
  559. input {
  560. margin-top: 2px;
  561. }
  562. }
  563.  
  564. .datepicker {
  565. width: 100%;
  566.  
  567. input {
  568. width: 100%;
  569. }
  570. }
  571.  
  572. select {
  573. border-radius: none;
  574. -webkit-border-radius: 0px;
  575. -webkit-border-radius: 0px;
  576. display: block;
  577. width: 100%;
  578. height: 50px;
  579. line-height: 48px;
  580. border: 1px solid #969696;
  581. padding-left: 12px;
  582. }
  583.  
  584.  
  585.  
  586. .calendar {
  587. table {
  588. td, th {
  589. padding-top: 9px;
  590. padding-bottom: 9px;
  591. }
  592.  
  593. th {
  594. padding-top: 0;
  595. }
  596.  
  597. table {
  598. th, td {
  599. padding-top: 0;
  600. padding-bottom: 0px;
  601. }
  602. }
  603. }
  604.  
  605. > span {
  606. color: #db0c0c;
  607. }
  608. }
  609.  
  610. .error {
  611. color: #db0c0c;
  612. }
  613.  
  614. .success {
  615. color: #4AFF51;
  616. }
  617.  
  618. td.green {
  619. background: #4AFF51;
  620. }
  621.  
  622. .max-32O {
  623. max-width: 320px;
  624. }
  625.  
  626. table {
  627. width: 100%;
  628.  
  629. td {
  630. padding: 5px 10px;
  631.  
  632. a {
  633. .link();
  634. }
  635.  
  636. &.nopad {
  637. padding: 0;
  638. }
  639.  
  640. input[type=submit] {
  641. margin: 5px auto;
  642. }
  643. }
  644. }
  645.  
  646. table.real-table {
  647. width: 100%;
  648. max-width: 900px;
  649. border-top: 1px solid #555;
  650. border-left: 1px solid #555;
  651. border-spacing: 0;
  652.  
  653. tr {
  654. border-spacing: 0;
  655. }
  656.  
  657. td, th {
  658. border-right: 1px solid #555;
  659. border-bottom: 1px solid #555;
  660. padding: 10px;
  661. border-spacing: 0;
  662. }
  663.  
  664. th {
  665. background: #DDD;
  666. }
  667. }
  668.  
  669. .padding {
  670. padding: 20px;
  671. }
  672.  
  673. aside {
  674. span {
  675. display: block;
  676. }
  677. }
  678.  
  679. .link {
  680. vertical-align: baseline;
  681. text-decoration: underline;
  682. color: #1ba1e2;
  683. }
  684.  
  685.  
  686. #menu {
  687. position: absolute;
  688. top: 0;
  689. left: 0;
  690. width: 100%;
  691. background-color: #252526;
  692. color: #ccc;
  693.  
  694. ul {
  695.  
  696.  
  697. li {
  698. background-color: #252526;
  699. color: #ccc;
  700. .animation(background);
  701. width: 100%;
  702.  
  703. &:hover {
  704. background-color: #3d3d3d;
  705. }
  706. }
  707. }
  708. }
  709.  
  710. .completionList {
  711. border: solid 1px #444444;
  712. margin: 0px;
  713. padding: 0;
  714. max-height: 100px;
  715. max-height: 80vh;
  716.  
  717. overflow: auto;
  718. background-color: #FFFFFF;
  719. display: block;
  720. .animation(all);
  721.  
  722. * {
  723. display: block;
  724. .animation(all);
  725. }
  726. }
  727.  
  728. .listItem {
  729. color: #1C1C1C;
  730. .animation(all);
  731. display: block;
  732. width: 100%;
  733. cursor: pointer;
  734. }
  735.  
  736. .itemHighlighted {
  737. color: #FFF;
  738. background: #1c69d4; display: block;
  739. width: 100%; cursor: pointer;
  740. }
Add Comment
Please, Sign In to add comment