Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700&subset=latin,latin-ext);
- /* skeleton */
- @-ms-viewport {
- width: device-width;
- }
- @media (max-width: 400px) {
- @-ms-viewport {
- width: 320px;
- }
- }
- .after-clear {
- &:after {
- content: '';
- display: block;
- clear: both;
- }
- }
- .before-square {
- position: relative;
- &:before {
- content: '';
- display: block;
- padding-top: 100%;
- width: 100%;
- }
- > * {
- position: absolute;
- top: 0;
- left: 0;
- height: 100%;
- width: 100%;
- }
- }
- .middle-cell {
- display: table;
- height: 100%;
- width: 100%;
- text-align: center;
- > * {
- display: table-cell;
- vertical-align: middle;
- text-align: center;
- }
- }
- .page-element {
- margin-left: auto;
- margin-right: auto;
- max-width: @page-width;
- padding-left: 20px;
- padding-right: 20px;
- }
- .middle-absolute {
- margin: auto;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- }
- .animation(@a) {
- -webkit-transition: @a 0.3s ease-in;
- -moz-transition: @a 0.3s ease-in;
- -ms-transition: @a 0.3s ease-in;
- transition: @a 0.3s ease-in;
- }
- .animation-out(@a) {
- -webkit-transition: @a 0.3s ease-out;
- -moz-transition: @a 0.3s ease-out;
- -ms-transition: @a 0.3s ease-out;
- transition: @a 0.3s ease-out;
- }
- .animation(@a, @b) {
- -webkit-transition: @a @b ease-in;
- -moz-transition: @a @b ease-in;
- -ms-transition: @a @b ease-in;
- transition: @a @b ease-in;
- }
- .animation-out(@a, @b) {
- -webkit-transition: @a @b ease-out;
- -moz-transition: @a @b ease-out;
- -ms-transition: @a @b ease-out;
- transition: @a @b ease-out;
- }
- .animation(@a, @b, @c ) {
- -webkit-transition: @a @b @c;
- -moz-transition: @a @b @c;
- -ms-transition: @a @b @c;
- transition: @a @b @c;
- }
- .delay(@a) {
- -webkit-transition-delay: @a;
- -moz-transition-delay: @a;
- -ms-transition-delay: @a;
- transition-delay: @a;
- }
- .duration(@a) {
- -webkit-transition-duration: @a;
- -moz-transition-duration: @a;
- -ms-transition-duration: @a;
- transition-duration: @a;
- }
- /* skeleton */
- @page-width: 1240px;
- * {
- margin: 0;
- padding: 0;
- font-family: inherit;
- color: inherit;
- font-size: inherit;
- background-position: center;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- -webkit-font-smoothing: antialiased;
- -webkit-text-size-adjust: 100%;
- -moz-text-size-adjust: 100%;
- -ms-text-size-adjust: 100%;
- text-size-adjust: 100%;
- background-repeat: no-repeat;
- vertical-align: middle;
- }
- body,
- html {
- min-width: 300px;
- background-color: #FFF;
- font-family: 'Source Sans Pro', sans-serif;
- min-height: 100%;
- }
- body {
- padding-bottom: 110px;
- position: relative;
- min-height: 100vh;
- padding-top: 100px;
- }
- a {
- text-decoration: none;
- border-color: transparent;
- cursor: pointer;
- &:hover,
- :active {
- border: none;
- border-color: transparent;
- cursor: pointer;
- }
- &.link {
- vertical-align: baseline;
- text-decoration: underline;
- }
- &.active {
- text-decoration: underline;
- }
- & *,
- & > * {
- text-decoration: none;
- border: none;
- border-width: 0;
- border-color: transparent;
- }
- }
- mark,
- strong {
- font-family: inherit;
- color: inherit;
- font-size: inherit;
- font-weight: bold;
- background-color: transparent;
- }
- h1,
- h2,
- h3,
- h4,
- {
- text-transform: uppercase;
- }
- h1 {
- font-size: 32px;
- padding: 0px 20px 20px;
- }
- h2 {
- font-size: 26px;
- padding-bottom: 20px;
- }
- h3 {
- }
- h4 {
- }
- p {
- strong,
- mark,
- a {
- vertical-align: baseline;
- }
- a {
- text-decoration: underline;
- }
- }
- span {
- strong,
- mark,
- a {
- vertical-align: baseline;
- }
- }
- @twobecameone: 600px;
- @threebecametwo: 600px;
- @threebecameone: 1190px;
- @fourbecamethree: 980px;
- @fourbecametwo: 600px;
- @fourbecameone: 400px;
- ul {
- .page-element();
- padding: 10px;
- li {
- float: left;
- display: block;
- padding: 10px;
- }
- &.two {
- > li {
- width: 50%;
- @media screen and ( max-width: @twobecameone) {
- width: 100%;
- }
- }
- }
- &.three {
- > li {
- width: 33.333%;
- }
- @media screen and ( max-width: @threebecameone) {
- max-width: 500px;
- > li {
- width: 100%;
- }
- }
- }
- &.four {
- > li {
- width: 25%;
- @media screen and ( max-width: @fourbecamethree) {
- width: 33.333%;
- }
- @media screen and ( max-width: @fourbecametwo) {
- width: 50%;
- }
- @media screen and ( max-width: @fourbecameone) {
- width: 100%;
- }
- }
- }
- &.content {
- li {
- &.first {
- width: 80%;
- }
- width: 20%;
- }
- }
- &.inline {
- &.center {
- text-align: center;
- }
- &.left {
- text-align: left;
- }
- &.left {
- text-align: right;
- }
- > li {
- display: inline-block;
- float: none;
- }
- }
- &.list {
- > li {
- float: none;
- width: 100%;
- position: relative;
- &:before {
- content: '';
- display: block;
- border-radius: 50%;
- background: #777;
- height: 5px;
- width: 5px;
- position: absolute;
- left: 0;
- top: 0;
- bottom: 0;
- margin: auto;
- }
- }
- }
- .after-clear();
- }
- nav {
- position: fixed;
- top: 0;
- left: 0;
- background: #FFF;
- width: 100%;
- height: 70px;
- line-height: 70px;
- z-index: 100;
- box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
- ul {
- padding: 0 10px;
- > li {
- padding: 0 10px;
- height: 70px;
- line-height: 70px;
- a {
- font-size: 16px;
- -webkit-transition: color 0.3s ease-in;
- -moz-transition: color 0.3s ease-in;
- -ms-transition: color 0.3s ease-in;
- transition: color 0.3s ease-in;
- &:hover, .acitve {
- color: #1c69d4;
- }
- }
- }
- }
- }
- section {
- > * {
- .page-element();
- }
- .after-clear();
- }
- footer {
- background-color: #f8f8f8;
- text-align: center;
- padding: 20px;
- position: absolute;
- bottom: 0;
- left: 0;
- width: 100%;
- }
- .btn {
- display: inline-block;
- cursor: pointer;
- position: relative;
- margin-top: 10px;
- margin-bottom: 20px;
- font-size: 14px;
- line-height: 20px;
- color: #FFF;
- min-width: 120px;
- padding: 10px 14px;
- text-align: center;
- background: #1c69d4;
- text-transform: uppercase;
- border: 2px solid #1c69d4;
- -webkit-transition: all 0.3s ease-in;
- -moz-transition: all 0.3s ease-in;
- -ms-transition: all 0.3s ease-in;
- transition: all 0.3s ease-in;
- &.center {
- margin: auto;
- }
- &:hover {
- background: #FFF;
- border: 2px solid #1c69d4;
- color: #1c69d4;
- }
- }
- input {
- &[type=text],
- &[type=password] {
- -webkit-appearance: none;
- -webkit-border-radius: 0px;
- display: block;
- width: 100%;
- height: 30px;
- line-height: 28px;
- border: 1px solid #969696;
- padding-left: 12px;
- padding-right: 12px;
- }
- &[type=submit] {
- .btn();
- }
- &[type=file] {
- display: block;
- }
- }
- textarea {
- -webkit-appearance: none;
- -webkit-border-radius: 0px;
- display: block;
- width: 100%;
- height: 230px;
- line-height: 28px;
- border: 1px solid #969696;
- padding-left: 12px;
- padding-right: 12px;
- }
- button {
- background: none;
- border: 0;
- color: inherit;
- /* cursor: default; */
- font: inherit;
- line-height: normal;
- overflow: visible;
- padding: 0;
- -webkit-appearance: button;
- /* for input */
- -webkit-user-select: none;
- /* for button */
- -moz-user-select: none;
- -ms-user-select: none;
- .btn();
- }
- label {
- display: block;
- font-weight: bold;
- }
- .textbox, .dropdown {
- padding-bottom: 8px;
- min-height: 36px;
- label {
- padding-bottom: 3px;
- }
- span {
- color: #db0c0c;
- }
- input {
- }
- }
- .spanbox {
- span {
- color: #db0c0c;
- &.succes {
- display: block;
- padding: 10px;
- color: #1ba261;
- }
- }
- }
- input.green{
- border-color: #1ba261;
- }
- input.red{
- border-color: #db0c0c;
- }
- .openbox {
- padding: 5px 0;
- label, input, span {
- display: inline-block;
- }
- input {
- width: 48px;
- }
- label {
- width: 70px;
- }
- }
- .checkbox {
- padding-bottom: 15px;
- min-height: 61px;
- label {
- padding-bottom: 12px;
- }
- span {
- }
- input {
- margin-top: 2px;
- }
- }
- .datepicker {
- width: 100%;
- input {
- width: 100%;
- }
- }
- select {
- border-radius: none;
- -webkit-border-radius: 0px;
- -webkit-border-radius: 0px;
- display: block;
- width: 100%;
- height: 50px;
- line-height: 48px;
- border: 1px solid #969696;
- padding-left: 12px;
- }
- .calendar {
- table {
- td, th {
- padding-top: 9px;
- padding-bottom: 9px;
- }
- th {
- padding-top: 0;
- }
- table {
- th, td {
- padding-top: 0;
- padding-bottom: 0px;
- }
- }
- }
- > span {
- color: #db0c0c;
- }
- }
- .error {
- color: #db0c0c;
- }
- .success {
- color: #4AFF51;
- }
- td.green {
- background: #4AFF51;
- }
- .max-32O {
- max-width: 320px;
- }
- table {
- width: 100%;
- td {
- padding: 5px 10px;
- a {
- .link();
- }
- &.nopad {
- padding: 0;
- }
- input[type=submit] {
- margin: 5px auto;
- }
- }
- }
- table.real-table {
- width: 100%;
- max-width: 900px;
- border-top: 1px solid #555;
- border-left: 1px solid #555;
- border-spacing: 0;
- tr {
- border-spacing: 0;
- }
- td, th {
- border-right: 1px solid #555;
- border-bottom: 1px solid #555;
- padding: 10px;
- border-spacing: 0;
- }
- th {
- background: #DDD;
- }
- }
- .padding {
- padding: 20px;
- }
- aside {
- span {
- display: block;
- }
- }
- .link {
- vertical-align: baseline;
- text-decoration: underline;
- color: #1ba1e2;
- }
- #menu {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- background-color: #252526;
- color: #ccc;
- ul {
- li {
- background-color: #252526;
- color: #ccc;
- .animation(background);
- width: 100%;
- &:hover {
- background-color: #3d3d3d;
- }
- }
- }
- }
- .completionList {
- border: solid 1px #444444;
- margin: 0px;
- padding: 0;
- max-height: 100px;
- max-height: 80vh;
- overflow: auto;
- background-color: #FFFFFF;
- display: block;
- .animation(all);
- * {
- display: block;
- .animation(all);
- }
- }
- .listItem {
- color: #1C1C1C;
- .animation(all);
- display: block;
- width: 100%;
- cursor: pointer;
- }
- .itemHighlighted {
- color: #FFF;
- background: #1c69d4; display: block;
- width: 100%; cursor: pointer;
- }
Add Comment
Please, Sign In to add comment