2015-12-12 11:20:29 +01:00
|
|
|
/* ---------------------------------- */
|
2016-05-20 08:58:56 +02:00
|
|
|
/* ==Helpers */
|
2015-12-12 11:20:29 +01:00
|
|
|
/* ---------------------------------- */
|
|
|
|
|
2017-11-13 15:50:06 +01:00
|
|
|
/* Typo Helpers */
|
|
|
|
/* ------------- */
|
|
|
|
|
|
|
|
.u-bold {
|
|
|
|
font-weight: $weight-bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.u-italic {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.u-normal {
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.u-uppercase {
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.u-lowercase {
|
|
|
|
text-transform: lowercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.u-smaller {
|
|
|
|
font-size: 0.6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.u-small {
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.u-big {
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.u-bigger {
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.u-biggest {
|
|
|
|
font-size: 2em;
|
|
|
|
}
|
|
|
|
|
2017-12-22 09:53:01 +01:00
|
|
|
.u-txt-wrap {
|
|
|
|
word-wrap: break-word;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
hyphens: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.u-txt-ellipsis {
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2018-07-03 16:01:52 +02:00
|
|
|
/* text and contents alignment */
|
|
|
|
|
|
|
|
.txtleft,
|
|
|
|
.u-txt-left {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.txtright,
|
|
|
|
.u-txt-right {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.txtcenter,
|
|
|
|
.u-txt-center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2017-12-22 09:53:01 +01:00
|
|
|
@if variable-exists(hyphens) and $hyphens==true {
|
|
|
|
@media (max-width: ($small - 1)) {
|
|
|
|
div,
|
|
|
|
textarea,
|
|
|
|
table,
|
|
|
|
td,
|
|
|
|
th,
|
|
|
|
code,
|
|
|
|
pre,
|
|
|
|
samp {
|
|
|
|
word-wrap: break-word;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
hyphens: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-03 16:01:52 +02:00
|
|
|
/* blocks that need to be placed under floats */
|
|
|
|
|
|
|
|
.clear,
|
|
|
|
.u-clear {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* blocks that must contain floats */
|
|
|
|
|
|
|
|
.clearfix,
|
|
|
|
.u-clearfix {
|
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* simple blocks alignment */
|
|
|
|
|
|
|
|
.left
|
|
|
|
.u-left {
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.right,
|
|
|
|
.u-right {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center,
|
|
|
|
.u-center {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Global Micro Layout */
|
|
|
|
/* ------------------- */
|
|
|
|
|
|
|
|
/* module, gains superpower "BFC" Block Formating Context */
|
|
|
|
|
|
|
|
.mod,
|
|
|
|
.u-mod,
|
|
|
|
.bfc,
|
|
|
|
.u-bfc {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* floating elements */
|
|
|
|
|
|
|
|
.fl,
|
|
|
|
.u-fl {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
img.fl,
|
|
|
|
img.u-fl {
|
|
|
|
margin-right: $spacer-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fr,
|
|
|
|
.u-fr {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
img.fr,
|
|
|
|
img.u-fr {
|
|
|
|
margin-left: $spacer-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
img.fl,
|
|
|
|
img.fr,
|
|
|
|
img.u-fl,
|
|
|
|
img.u-fr {
|
|
|
|
margin-bottom: $spacer-tiny;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* inline-block */
|
|
|
|
|
|
|
|
.inbl,
|
|
|
|
.u-inbl {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
2016-05-20 08:58:56 +02:00
|
|
|
/* State Helpers */
|
|
|
|
/* ------------- */
|
|
|
|
|
2015-12-12 11:20:29 +01:00
|
|
|
/* invisible for all */
|
|
|
|
.is-hidden,
|
2017-08-01 10:53:59 +02:00
|
|
|
.js-hidden,
|
2015-12-12 11:20:29 +01:00
|
|
|
[hidden] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* hidden but not for an assistive technology like a screen reader, Yahoo! method */
|
|
|
|
.visually-hidden {
|
|
|
|
position: absolute !important;
|
|
|
|
border: 0 !important;
|
|
|
|
height: 1px !important;
|
|
|
|
width: 1px !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
overflow: hidden !important;
|
|
|
|
clip: rect(0, 0, 0, 0) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-disabled,
|
2017-08-01 10:53:59 +02:00
|
|
|
.js-disabled,
|
2017-08-01 09:20:53 +02:00
|
|
|
[disabled],
|
|
|
|
.is-disabled ~ label,
|
|
|
|
[disabled] ~ label {
|
2015-12-12 11:20:29 +01:00
|
|
|
opacity: 0.5;
|
2017-08-01 09:20:53 +02:00
|
|
|
cursor: not-allowed !important;
|
2015-12-12 11:20:29 +01:00
|
|
|
filter: grayscale(1);
|
|
|
|
}
|
|
|
|
|
2016-12-08 14:24:27 +01:00
|
|
|
ul {
|
|
|
|
&.is-unstyled,
|
|
|
|
&.unstyled {
|
|
|
|
list-style: none;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
2015-12-12 11:20:29 +01:00
|
|
|
}
|
|
|
|
|
2017-08-03 09:20:14 +02:00
|
|
|
.color--inverse {
|
2017-10-13 10:59:40 +02:00
|
|
|
color: $white;
|
2017-08-03 09:20:14 +02:00
|
|
|
}
|
|
|
|
|
2016-05-20 08:58:56 +02:00
|
|
|
/* Width Helpers */
|
|
|
|
/* ------------- */
|
2014-10-20 17:59:59 +02:00
|
|
|
|
|
|
|
/* blocks widths (percentage and pixels) */
|
2017-08-01 10:52:32 +02:00
|
|
|
$i: 100;
|
2014-10-20 17:59:59 +02:00
|
|
|
|
2017-08-01 10:52:32 +02:00
|
|
|
@while $i > 0 {
|
|
|
|
.w#{$i} {
|
|
|
|
width: $i * 1%;
|
|
|
|
}
|
|
|
|
$i: $i - 5;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
2017-07-31 11:45:22 +02:00
|
|
|
.w66 {
|
2017-08-01 10:52:32 +02:00
|
|
|
width: calc(100% / 3 * 2);
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
2017-08-01 10:52:32 +02:00
|
|
|
.w33 {
|
|
|
|
width: calc(100% / 3);
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-08-01 10:52:32 +02:00
|
|
|
$i: 1000;
|
2014-10-20 17:59:59 +02:00
|
|
|
|
2017-08-01 10:52:32 +02:00
|
|
|
.wauto {
|
|
|
|
width: auto;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-08-01 10:52:32 +02:00
|
|
|
.w960p {
|
|
|
|
width: 960px;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-08-01 10:52:32 +02:00
|
|
|
.mw960p {
|
|
|
|
max-width: 960px;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-08-01 10:52:32 +02:00
|
|
|
.w1140p {
|
|
|
|
width: 1140px;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-08-01 10:52:32 +02:00
|
|
|
.mw1140p {
|
|
|
|
max-width: 1140px;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-08-01 10:52:32 +02:00
|
|
|
@while $i > 0 {
|
|
|
|
.w#{$i}p {
|
|
|
|
width: $i * 1px;
|
|
|
|
}
|
|
|
|
$i: $i - 50;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2016-05-20 08:58:56 +02:00
|
|
|
/* Spacing Helpers */
|
|
|
|
/* --------------- */
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.man,
|
|
|
|
.ma0 {
|
2015-07-01 13:47:48 +02:00
|
|
|
margin: 0;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.pan,
|
|
|
|
.pa0 {
|
2015-07-01 13:47:48 +02:00
|
|
|
padding: 0;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mas {
|
2017-11-02 16:07:27 +01:00
|
|
|
margin: $spacer-small;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mam {
|
2017-11-02 16:07:27 +01:00
|
|
|
margin: $spacer-medium;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mal {
|
2017-11-02 16:07:27 +01:00
|
|
|
margin: $spacer-large;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.pas {
|
2017-11-02 16:07:27 +01:00
|
|
|
padding: $spacer-small;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.pam {
|
2017-11-02 16:07:27 +01:00
|
|
|
padding: $spacer-medium;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.pal {
|
2017-11-02 16:07:27 +01:00
|
|
|
padding: $spacer-large;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mtn,
|
|
|
|
.mt0 {
|
2015-07-01 13:47:48 +02:00
|
|
|
margin-top: 0;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mts {
|
2017-11-02 16:07:27 +01:00
|
|
|
margin-top: $spacer-small;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mtm {
|
2017-11-02 16:07:27 +01:00
|
|
|
margin-top: $spacer-medium;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mtl {
|
2017-11-02 16:07:27 +01:00
|
|
|
margin-top: $spacer-large;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mrn,
|
|
|
|
.mr0 {
|
2015-07-01 13:47:48 +02:00
|
|
|
margin-right: 0;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mrs {
|
2017-11-02 16:07:27 +01:00
|
|
|
margin-right: $spacer-small;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mrm {
|
2017-11-02 16:07:27 +01:00
|
|
|
margin-right: $spacer-medium;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mrl {
|
2017-11-02 16:07:27 +01:00
|
|
|
margin-right: $spacer-large;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mbn,
|
|
|
|
.mb0 {
|
2015-07-01 13:47:48 +02:00
|
|
|
margin-bottom: 0;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mbs {
|
2017-11-02 16:07:27 +01:00
|
|
|
margin-bottom: $spacer-small;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mbm {
|
2017-11-02 16:07:27 +01:00
|
|
|
margin-bottom: $spacer-medium;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mbl {
|
2017-11-02 16:07:27 +01:00
|
|
|
margin-bottom: $spacer-large;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mln,
|
|
|
|
.ml0 {
|
2015-07-01 13:47:48 +02:00
|
|
|
margin-left: 0;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mls {
|
2017-11-02 16:07:27 +01:00
|
|
|
margin-left: $spacer-small;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mlm {
|
2017-11-02 16:07:27 +01:00
|
|
|
margin-left: $spacer-medium;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mll {
|
2017-11-02 16:07:27 +01:00
|
|
|
margin-left: $spacer-large;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mauto {
|
2015-12-12 11:20:29 +01:00
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mtauto {
|
2015-12-12 11:20:29 +01:00
|
|
|
margin-top: auto;
|
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mrauto {
|
2015-12-12 11:20:29 +01:00
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mbauto {
|
2015-12-12 11:20:29 +01:00
|
|
|
margin-bottom: auto;
|
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.mlauto {
|
2015-12-12 11:20:29 +01:00
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.ptn,
|
|
|
|
.pt0 {
|
2015-07-01 13:47:48 +02:00
|
|
|
padding-top: 0;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.pts {
|
2017-11-02 16:07:27 +01:00
|
|
|
padding-top: $spacer-small;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.ptm {
|
2017-11-02 16:07:27 +01:00
|
|
|
padding-top: $spacer-medium;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.ptl {
|
2017-11-02 16:07:27 +01:00
|
|
|
padding-top: $spacer-large;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.prn,
|
|
|
|
.pr0 {
|
2015-07-01 13:47:48 +02:00
|
|
|
padding-right: 0;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.prs {
|
2017-11-02 16:07:27 +01:00
|
|
|
padding-right: $spacer-small;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.prm {
|
2017-11-02 16:07:27 +01:00
|
|
|
padding-right: $spacer-medium;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.prl {
|
2017-11-02 16:07:27 +01:00
|
|
|
padding-right: $spacer-large;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.pbn,
|
|
|
|
.pb0 {
|
2015-07-01 13:47:48 +02:00
|
|
|
padding-bottom: 0;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.pbs {
|
2017-11-02 16:07:27 +01:00
|
|
|
padding-bottom: $spacer-small;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.pbm {
|
2017-11-02 16:07:27 +01:00
|
|
|
padding-bottom: $spacer-medium;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.pbl {
|
2017-11-02 16:07:27 +01:00
|
|
|
padding-bottom: $spacer-large;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.pln,
|
|
|
|
.pl0 {
|
2015-07-01 13:47:48 +02:00
|
|
|
padding-left: 0;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.pls {
|
2017-11-02 16:07:27 +01:00
|
|
|
padding-left: $spacer-small;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.plm {
|
2017-11-02 16:07:27 +01:00
|
|
|
padding-left: $spacer-medium;
|
2014-10-20 17:59:59 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 11:45:22 +02:00
|
|
|
.pll {
|
2017-11-02 16:07:27 +01:00
|
|
|
padding-left: $spacer-large;
|
2015-05-05 23:22:30 +02:00
|
|
|
}
|