2015-07-12 21:01:42 +02:00
|
|
|
|
2015-09-03 17:51:10 +02:00
|
|
|
/** Flexbox styling rules **/
|
|
|
|
body.flexbox {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
height: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
#content {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
2017-05-28 17:02:46 +02:00
|
|
|
min-height: 0;
|
2015-09-03 17:51:10 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex-fill {
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
2017-05-28 17:02:46 +02:00
|
|
|
min-height: 0;
|
2017-10-15 19:34:37 +02:00
|
|
|
max-width: 100%;
|
2017-05-28 17:02:46 +02:00
|
|
|
position: relative;
|
2017-08-19 19:32:24 +02:00
|
|
|
&.rows {
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
&.columns {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex {
|
|
|
|
min-height: 0;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex.scroll {
|
|
|
|
//overflow-y: auto;
|
|
|
|
display: flex;
|
|
|
|
&.sidebar {
|
|
|
|
margin-right: -14px;
|
2015-09-03 17:51:10 +02:00
|
|
|
}
|
|
|
|
}
|
2017-08-19 19:32:24 +02:00
|
|
|
.flex.scroll .scroll-body {
|
|
|
|
overflow-y: scroll;
|
|
|
|
flex: 1;
|
|
|
|
}
|
2015-09-03 17:51:10 +02:00
|
|
|
|
2016-08-30 21:05:59 +02:00
|
|
|
.flex-child > div {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2019-02-03 14:45:45 +01:00
|
|
|
.dual-column-content {
|
|
|
|
columns: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include smaller-than($m) {
|
|
|
|
.dual-column-content {
|
|
|
|
columns: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-09 17:51:31 +01:00
|
|
|
.content-wrap.card {
|
|
|
|
padding: $-l $-xxl;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-bottom: $-xl;
|
|
|
|
overflow: auto;
|
2019-01-13 16:54:55 +01:00
|
|
|
min-height: 60vh;
|
2019-01-31 21:37:12 +01:00
|
|
|
&.auto-height {
|
|
|
|
min-height: 0;
|
|
|
|
}
|
2019-02-02 16:49:57 +01:00
|
|
|
&.fill-width {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2018-12-09 17:51:31 +01:00
|
|
|
}
|
2019-02-03 14:45:45 +01:00
|
|
|
@include smaller-than($m) {
|
|
|
|
.content-wrap.card {
|
|
|
|
padding: $-m $-l;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-09 00:34:06 +01:00
|
|
|
.tri-layout-container {
|
|
|
|
display: grid;
|
2019-03-30 15:27:00 +01:00
|
|
|
margin-left: $-xl;
|
|
|
|
margin-right: $-xl;
|
|
|
|
grid-template-columns: 1fr 4fr 1fr;
|
2018-12-09 00:34:06 +01:00
|
|
|
grid-template-areas: "a b c";
|
2019-03-30 15:27:00 +01:00
|
|
|
grid-column-gap: $-xxl;
|
2018-12-09 00:34:06 +01:00
|
|
|
.tri-layout-right {
|
|
|
|
grid-area: c;
|
|
|
|
}
|
|
|
|
.tri-layout-left {
|
|
|
|
grid-area: a;
|
|
|
|
}
|
|
|
|
.tri-layout-middle {
|
|
|
|
grid-area: b;
|
2019-03-30 15:27:00 +01:00
|
|
|
padding-top: $-m;
|
2018-12-09 00:34:06 +01:00
|
|
|
}
|
2017-08-19 19:32:24 +02:00
|
|
|
}
|
2018-12-09 00:34:06 +01:00
|
|
|
@include smaller-than($xxl) {
|
|
|
|
.tri-layout-container {
|
|
|
|
grid-template-areas: "c b b"
|
|
|
|
"a b b";
|
|
|
|
grid-template-columns: 1fr 3fr;
|
|
|
|
grid-template-rows: max-content min-content;
|
2018-12-09 14:42:35 +01:00
|
|
|
padding-right: $-l;
|
2018-12-09 00:34:06 +01:00
|
|
|
.content-wrap.card {
|
2019-03-30 15:27:00 +01:00
|
|
|
padding: $-l $-xl;
|
2018-12-09 00:34:06 +01:00
|
|
|
}
|
2018-12-01 17:29:57 +01:00
|
|
|
}
|
2017-08-27 16:16:51 +02:00
|
|
|
}
|
2018-12-09 14:42:35 +01:00
|
|
|
@include larger-than($xxl) {
|
|
|
|
.tri-layout-left-contents, .tri-layout-right-contents {
|
2019-03-30 15:27:00 +01:00
|
|
|
padding: $-m;
|
2018-12-09 14:42:35 +01:00
|
|
|
position: sticky;
|
|
|
|
top: $-m;
|
|
|
|
max-height: 100vh;
|
2018-12-09 17:51:31 +01:00
|
|
|
min-height: 50vh;
|
2018-12-09 14:42:35 +01:00
|
|
|
overflow-y: scroll;
|
2019-03-30 15:27:00 +01:00
|
|
|
overflow-x: hidden;
|
2018-12-09 14:42:35 +01:00
|
|
|
scrollbar-width: none;
|
|
|
|
-ms-overflow-style: none;
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2019-03-30 15:27:00 +01:00
|
|
|
.tri-layout-middle-contents {
|
|
|
|
max-width: 940px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2018-12-09 14:42:35 +01:00
|
|
|
}
|
|
|
|
|
2018-12-09 00:34:06 +01:00
|
|
|
@include smaller-than($l) {
|
|
|
|
.tri-layout-container {
|
|
|
|
grid-template-areas: none;
|
|
|
|
grid-template-columns: 10% 90%;
|
|
|
|
grid-column-gap: 0;
|
2018-12-09 14:42:35 +01:00
|
|
|
.tri-layout-left-contents, .tri-layout-right-contents {
|
|
|
|
padding-left: $-m;
|
|
|
|
padding-right: $-m;
|
|
|
|
}
|
2019-01-13 16:54:55 +01:00
|
|
|
.tri-layout-right-contents > div, .tri-layout-left-contents > div {
|
2018-12-09 00:34:06 +01:00
|
|
|
opacity: 0.6;
|
|
|
|
z-index: 0;
|
2017-08-27 16:16:51 +02:00
|
|
|
}
|
2018-12-09 00:34:06 +01:00
|
|
|
.tri-layout-left > *, .tri-layout-right > * {
|
|
|
|
pointer-events: none;
|
2017-08-27 16:16:51 +02:00
|
|
|
}
|
2018-12-09 00:34:06 +01:00
|
|
|
.tri-layout-right, .tri-layout-left, .tri-layout-middle {
|
|
|
|
grid-area: none;
|
|
|
|
grid-column: 1/3;
|
|
|
|
grid-row: 1;
|
|
|
|
}
|
|
|
|
.tri-layout-middle {
|
|
|
|
grid-row: 1/3;
|
|
|
|
grid-column: 2/3;
|
|
|
|
z-index: 1;
|
|
|
|
transition: transform ease-in-out 240ms;
|
|
|
|
}
|
|
|
|
.tri-layout-left {
|
|
|
|
grid-row: 2;
|
|
|
|
}
|
|
|
|
&.mobile-open {
|
|
|
|
overflow: hidden;
|
|
|
|
.tri-layout-middle {
|
|
|
|
transform: translateX(90%);
|
|
|
|
}
|
|
|
|
.tri-layout-right > *, .tri-layout-left > * {
|
|
|
|
pointer-events: auto;
|
|
|
|
}
|
2017-08-27 16:16:51 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-13 16:54:55 +01:00
|
|
|
.tri-layout-left-contents > div, .tri-layout-right-contents > div {
|
|
|
|
opacity: 0.6;
|
2018-12-01 21:28:17 +01:00
|
|
|
transition: opacity ease-in-out 120ms;
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2017-08-27 16:16:51 +02:00
|
|
|
|
2015-07-12 21:01:42 +02:00
|
|
|
/** Rules for all columns */
|
|
|
|
div[class^="col-"] img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
2018-12-09 00:34:06 +01:00
|
|
|
max-width: $xxl;
|
2015-07-12 21:01:42 +02:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
padding-left: $-m;
|
|
|
|
padding-right: $-m;
|
|
|
|
&.fluid {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2016-07-07 20:53:43 +02:00
|
|
|
&.medium {
|
|
|
|
max-width: 992px;
|
|
|
|
}
|
2015-09-03 17:51:10 +02:00
|
|
|
&.small {
|
|
|
|
max-width: 840px;
|
|
|
|
}
|
2019-02-03 18:34:15 +01:00
|
|
|
&.very-small {
|
|
|
|
max-width: 480px;
|
|
|
|
}
|
2017-09-09 16:56:24 +02:00
|
|
|
&.nopad {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2015-09-03 17:51:10 +02:00
|
|
|
}
|
|
|
|
|
2015-07-12 21:01:42 +02:00
|
|
|
.row {
|
|
|
|
margin-left: -$-m;
|
|
|
|
margin-right: -$-m;
|
|
|
|
}
|
|
|
|
|
2018-02-11 12:36:51 +01:00
|
|
|
.grid {
|
|
|
|
display: grid;
|
|
|
|
grid-column-gap: $-l;
|
|
|
|
grid-row-gap: $-l;
|
2018-12-01 22:28:21 +01:00
|
|
|
&.half {
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
}
|
2018-02-11 12:36:51 +01:00
|
|
|
&.third {
|
|
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
|
|
}
|
2019-01-31 21:37:12 +01:00
|
|
|
&.left-focus {
|
|
|
|
grid-template-columns: 2fr 1fr;
|
|
|
|
}
|
2019-02-02 12:41:41 +01:00
|
|
|
&.right-focus {
|
|
|
|
grid-template-columns: 1fr 2fr;
|
|
|
|
}
|
2019-03-30 15:27:00 +01:00
|
|
|
&.gap-xl {
|
2019-01-31 21:37:12 +01:00
|
|
|
grid-column-gap: $-xl;
|
|
|
|
grid-row-gap: $-xl;
|
|
|
|
}
|
2019-03-30 15:27:00 +01:00
|
|
|
&.gap-xxl {
|
|
|
|
grid-column-gap: $-xxl;
|
|
|
|
grid-row-gap: $-xxl;
|
|
|
|
}
|
2018-02-11 12:36:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.grid-card {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
border: 1px solid #ddd;
|
2018-12-09 15:04:28 +01:00
|
|
|
margin-bottom: $-l;
|
|
|
|
border-radius: 4px;
|
|
|
|
overflow: hidden;
|
2018-02-11 12:36:51 +01:00
|
|
|
min-width: 100px;
|
2018-12-09 15:04:28 +01:00
|
|
|
color: $text-dark;
|
|
|
|
transition: border-color ease-in-out 120ms, box-shadow ease-in-out 120ms;
|
|
|
|
&:hover {
|
|
|
|
color: $text-dark;
|
|
|
|
text-decoration: none;
|
|
|
|
box-shadow: $bs-card;
|
|
|
|
}
|
2018-08-27 15:18:09 +02:00
|
|
|
h2 {
|
|
|
|
width: 100%;
|
|
|
|
font-size: 1.5em;
|
|
|
|
margin: 0 0 10px;
|
|
|
|
}
|
|
|
|
p {
|
2019-03-16 17:00:41 +01:00
|
|
|
font-size: .7rem;
|
2018-08-27 15:18:09 +02:00
|
|
|
margin: 0;
|
|
|
|
line-height: 1.6em;
|
|
|
|
}
|
2018-02-11 12:36:51 +01:00
|
|
|
.grid-card-content {
|
|
|
|
flex: 1;
|
2018-08-27 15:18:09 +02:00
|
|
|
border-top: 0;
|
|
|
|
border-bottom-width: 2px;
|
2018-02-11 12:36:51 +01:00
|
|
|
}
|
|
|
|
.grid-card-content, .grid-card-footer {
|
|
|
|
padding: $-l;
|
|
|
|
}
|
|
|
|
.grid-card-content + .grid-card-footer {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-27 15:18:09 +02:00
|
|
|
.bookshelf-grid-item .grid-card-content h2 a {
|
|
|
|
color: $color-bookshelf;
|
|
|
|
fill: $color-bookshelf;
|
|
|
|
}
|
|
|
|
|
|
|
|
.book-grid-item .grid-card-footer {
|
|
|
|
p.small {
|
|
|
|
font-size: .8em;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-11 12:36:51 +01:00
|
|
|
@include smaller-than($m) {
|
|
|
|
.grid.third {
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
}
|
2019-02-03 14:45:45 +01:00
|
|
|
.grid.half, .grid.left-focus, .grid.right-focus {
|
2019-01-31 21:37:12 +01:00
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
2019-03-16 17:00:41 +01:00
|
|
|
.grid.half.collapse-xs {
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
}
|
2019-03-30 15:27:00 +01:00
|
|
|
.grid.gap-xl {
|
2019-02-03 14:45:45 +01:00
|
|
|
grid-column-gap: $-m;
|
|
|
|
grid-row-gap: $-m;
|
|
|
|
}
|
2019-02-02 16:49:57 +01:00
|
|
|
.grid.right-focus.reverse-collapse > *:nth-child(2) {
|
|
|
|
order: 0;
|
|
|
|
}
|
|
|
|
.grid.right-focus.reverse-collapse > *:nth-child(1) {
|
|
|
|
order: 1;
|
|
|
|
}
|
2018-02-11 12:36:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@include smaller-than($s) {
|
|
|
|
.grid.third {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-16 17:00:41 +01:00
|
|
|
@include smaller-than($xs) {
|
|
|
|
.grid.half.collapse-xs {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-12 21:01:42 +02:00
|
|
|
.float {
|
|
|
|
float: left;
|
|
|
|
&.right {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.block {
|
|
|
|
display: block;
|
2015-09-03 17:51:10 +02:00
|
|
|
position: relative;
|
2015-07-12 21:01:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.inline {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.block.inline {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2018-10-16 19:49:16 +02:00
|
|
|
|
|
|
|
// TODO - Remove old BS grid system
|
2015-07-12 21:01:42 +02:00
|
|
|
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
|
|
|
|
position: relative;
|
|
|
|
min-height: 1px;
|
|
|
|
padding-left: $-m;
|
|
|
|
padding-right: $-m;
|
|
|
|
}
|
|
|
|
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.col-xs-12 {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.col-xs-11 {
|
|
|
|
width: 91.66666667%;
|
|
|
|
}
|
|
|
|
.col-xs-10 {
|
|
|
|
width: 83.33333333%;
|
|
|
|
}
|
|
|
|
.col-xs-9 {
|
|
|
|
width: 75%;
|
|
|
|
}
|
|
|
|
.col-xs-8 {
|
|
|
|
width: 66.66666667%;
|
|
|
|
}
|
|
|
|
.col-xs-7 {
|
|
|
|
width: 58.33333333%;
|
|
|
|
}
|
|
|
|
.col-xs-6 {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
.col-xs-5 {
|
|
|
|
width: 41.66666667%;
|
|
|
|
}
|
|
|
|
.col-xs-4 {
|
|
|
|
width: 33.33333333%;
|
|
|
|
}
|
|
|
|
.col-xs-3 {
|
|
|
|
width: 25%;
|
|
|
|
}
|
|
|
|
.col-xs-2 {
|
|
|
|
width: 16.66666667%;
|
|
|
|
}
|
|
|
|
.col-xs-1 {
|
|
|
|
width: 8.33333333%;
|
|
|
|
}
|
|
|
|
.col-xs-pull-12 {
|
|
|
|
right: 100%;
|
|
|
|
}
|
|
|
|
.col-xs-pull-11 {
|
|
|
|
right: 91.66666667%;
|
|
|
|
}
|
|
|
|
.col-xs-pull-10 {
|
|
|
|
right: 83.33333333%;
|
|
|
|
}
|
|
|
|
.col-xs-pull-9 {
|
|
|
|
right: 75%;
|
|
|
|
}
|
|
|
|
.col-xs-pull-8 {
|
|
|
|
right: 66.66666667%;
|
|
|
|
}
|
|
|
|
.col-xs-pull-7 {
|
|
|
|
right: 58.33333333%;
|
|
|
|
}
|
|
|
|
.col-xs-pull-6 {
|
|
|
|
right: 50%;
|
|
|
|
}
|
|
|
|
.col-xs-pull-5 {
|
|
|
|
right: 41.66666667%;
|
|
|
|
}
|
|
|
|
.col-xs-pull-4 {
|
|
|
|
right: 33.33333333%;
|
|
|
|
}
|
|
|
|
.col-xs-pull-3 {
|
|
|
|
right: 25%;
|
|
|
|
}
|
|
|
|
.col-xs-pull-2 {
|
|
|
|
right: 16.66666667%;
|
|
|
|
}
|
|
|
|
.col-xs-pull-1 {
|
|
|
|
right: 8.33333333%;
|
|
|
|
}
|
|
|
|
.col-xs-pull-0 {
|
|
|
|
right: auto;
|
|
|
|
}
|
|
|
|
.col-xs-push-12 {
|
|
|
|
left: 100%;
|
|
|
|
}
|
|
|
|
.col-xs-push-11 {
|
|
|
|
left: 91.66666667%;
|
|
|
|
}
|
|
|
|
.col-xs-push-10 {
|
|
|
|
left: 83.33333333%;
|
|
|
|
}
|
|
|
|
.col-xs-push-9 {
|
|
|
|
left: 75%;
|
|
|
|
}
|
|
|
|
.col-xs-push-8 {
|
|
|
|
left: 66.66666667%;
|
|
|
|
}
|
|
|
|
.col-xs-push-7 {
|
|
|
|
left: 58.33333333%;
|
|
|
|
}
|
|
|
|
.col-xs-push-6 {
|
|
|
|
left: 50%;
|
|
|
|
}
|
|
|
|
.col-xs-push-5 {
|
|
|
|
left: 41.66666667%;
|
|
|
|
}
|
|
|
|
.col-xs-push-4 {
|
|
|
|
left: 33.33333333%;
|
|
|
|
}
|
|
|
|
.col-xs-push-3 {
|
|
|
|
left: 25%;
|
|
|
|
}
|
|
|
|
.col-xs-push-2 {
|
|
|
|
left: 16.66666667%;
|
|
|
|
}
|
|
|
|
.col-xs-push-1 {
|
|
|
|
left: 8.33333333%;
|
|
|
|
}
|
|
|
|
.col-xs-push-0 {
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
.col-xs-offset-12 {
|
|
|
|
margin-left: 100%;
|
|
|
|
}
|
|
|
|
.col-xs-offset-11 {
|
|
|
|
margin-left: 91.66666667%;
|
|
|
|
}
|
|
|
|
.col-xs-offset-10 {
|
|
|
|
margin-left: 83.33333333%;
|
|
|
|
}
|
|
|
|
.col-xs-offset-9 {
|
|
|
|
margin-left: 75%;
|
|
|
|
}
|
|
|
|
.col-xs-offset-8 {
|
|
|
|
margin-left: 66.66666667%;
|
|
|
|
}
|
|
|
|
.col-xs-offset-7 {
|
|
|
|
margin-left: 58.33333333%;
|
|
|
|
}
|
|
|
|
.col-xs-offset-6 {
|
|
|
|
margin-left: 50%;
|
|
|
|
}
|
|
|
|
.col-xs-offset-5 {
|
|
|
|
margin-left: 41.66666667%;
|
|
|
|
}
|
|
|
|
.col-xs-offset-4 {
|
|
|
|
margin-left: 33.33333333%;
|
|
|
|
}
|
|
|
|
.col-xs-offset-3 {
|
|
|
|
margin-left: 25%;
|
|
|
|
}
|
|
|
|
.col-xs-offset-2 {
|
|
|
|
margin-left: 16.66666667%;
|
|
|
|
}
|
|
|
|
.col-xs-offset-1 {
|
|
|
|
margin-left: 8.33333333%;
|
|
|
|
}
|
|
|
|
.col-xs-offset-0 {
|
|
|
|
margin-left: 0%;
|
|
|
|
}
|
2015-10-18 18:29:26 +02:00
|
|
|
@media (min-width: $screen-sm) {
|
2015-07-12 21:01:42 +02:00
|
|
|
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.col-sm-12 {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.col-sm-11 {
|
|
|
|
width: 91.66666667%;
|
|
|
|
}
|
|
|
|
.col-sm-10 {
|
|
|
|
width: 83.33333333%;
|
|
|
|
}
|
|
|
|
.col-sm-9 {
|
|
|
|
width: 75%;
|
|
|
|
}
|
|
|
|
.col-sm-8 {
|
|
|
|
width: 66.66666667%;
|
|
|
|
}
|
|
|
|
.col-sm-7 {
|
|
|
|
width: 58.33333333%;
|
|
|
|
}
|
|
|
|
.col-sm-6 {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
.col-sm-5 {
|
|
|
|
width: 41.66666667%;
|
|
|
|
}
|
|
|
|
.col-sm-4 {
|
|
|
|
width: 33.33333333%;
|
|
|
|
}
|
|
|
|
.col-sm-3 {
|
|
|
|
width: 25%;
|
|
|
|
}
|
|
|
|
.col-sm-2 {
|
|
|
|
width: 16.66666667%;
|
|
|
|
}
|
|
|
|
.col-sm-1 {
|
|
|
|
width: 8.33333333%;
|
|
|
|
}
|
|
|
|
.col-sm-pull-12 {
|
|
|
|
right: 100%;
|
|
|
|
}
|
|
|
|
.col-sm-pull-11 {
|
|
|
|
right: 91.66666667%;
|
|
|
|
}
|
|
|
|
.col-sm-pull-10 {
|
|
|
|
right: 83.33333333%;
|
|
|
|
}
|
|
|
|
.col-sm-pull-9 {
|
|
|
|
right: 75%;
|
|
|
|
}
|
|
|
|
.col-sm-pull-8 {
|
|
|
|
right: 66.66666667%;
|
|
|
|
}
|
|
|
|
.col-sm-pull-7 {
|
|
|
|
right: 58.33333333%;
|
|
|
|
}
|
|
|
|
.col-sm-pull-6 {
|
|
|
|
right: 50%;
|
|
|
|
}
|
|
|
|
.col-sm-pull-5 {
|
|
|
|
right: 41.66666667%;
|
|
|
|
}
|
|
|
|
.col-sm-pull-4 {
|
|
|
|
right: 33.33333333%;
|
|
|
|
}
|
|
|
|
.col-sm-pull-3 {
|
|
|
|
right: 25%;
|
|
|
|
}
|
|
|
|
.col-sm-pull-2 {
|
|
|
|
right: 16.66666667%;
|
|
|
|
}
|
|
|
|
.col-sm-pull-1 {
|
|
|
|
right: 8.33333333%;
|
|
|
|
}
|
|
|
|
.col-sm-pull-0 {
|
|
|
|
right: auto;
|
|
|
|
}
|
|
|
|
.col-sm-push-12 {
|
|
|
|
left: 100%;
|
|
|
|
}
|
|
|
|
.col-sm-push-11 {
|
|
|
|
left: 91.66666667%;
|
|
|
|
}
|
|
|
|
.col-sm-push-10 {
|
|
|
|
left: 83.33333333%;
|
|
|
|
}
|
|
|
|
.col-sm-push-9 {
|
|
|
|
left: 75%;
|
|
|
|
}
|
|
|
|
.col-sm-push-8 {
|
|
|
|
left: 66.66666667%;
|
|
|
|
}
|
|
|
|
.col-sm-push-7 {
|
|
|
|
left: 58.33333333%;
|
|
|
|
}
|
|
|
|
.col-sm-push-6 {
|
|
|
|
left: 50%;
|
|
|
|
}
|
|
|
|
.col-sm-push-5 {
|
|
|
|
left: 41.66666667%;
|
|
|
|
}
|
|
|
|
.col-sm-push-4 {
|
|
|
|
left: 33.33333333%;
|
|
|
|
}
|
|
|
|
.col-sm-push-3 {
|
|
|
|
left: 25%;
|
|
|
|
}
|
|
|
|
.col-sm-push-2 {
|
|
|
|
left: 16.66666667%;
|
|
|
|
}
|
|
|
|
.col-sm-push-1 {
|
|
|
|
left: 8.33333333%;
|
|
|
|
}
|
|
|
|
.col-sm-push-0 {
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
.col-sm-offset-12 {
|
|
|
|
margin-left: 100%;
|
|
|
|
}
|
|
|
|
.col-sm-offset-11 {
|
|
|
|
margin-left: 91.66666667%;
|
|
|
|
}
|
|
|
|
.col-sm-offset-10 {
|
|
|
|
margin-left: 83.33333333%;
|
|
|
|
}
|
|
|
|
.col-sm-offset-9 {
|
|
|
|
margin-left: 75%;
|
|
|
|
}
|
|
|
|
.col-sm-offset-8 {
|
|
|
|
margin-left: 66.66666667%;
|
|
|
|
}
|
|
|
|
.col-sm-offset-7 {
|
|
|
|
margin-left: 58.33333333%;
|
|
|
|
}
|
|
|
|
.col-sm-offset-6 {
|
|
|
|
margin-left: 50%;
|
|
|
|
}
|
|
|
|
.col-sm-offset-5 {
|
|
|
|
margin-left: 41.66666667%;
|
|
|
|
}
|
|
|
|
.col-sm-offset-4 {
|
|
|
|
margin-left: 33.33333333%;
|
|
|
|
}
|
|
|
|
.col-sm-offset-3 {
|
|
|
|
margin-left: 25%;
|
|
|
|
}
|
|
|
|
.col-sm-offset-2 {
|
|
|
|
margin-left: 16.66666667%;
|
|
|
|
}
|
|
|
|
.col-sm-offset-1 {
|
|
|
|
margin-left: 8.33333333%;
|
|
|
|
}
|
|
|
|
.col-sm-offset-0 {
|
|
|
|
margin-left: 0%;
|
|
|
|
}
|
|
|
|
}
|
2015-10-18 18:29:26 +02:00
|
|
|
@media (min-width: $screen-md) {
|
2015-07-12 21:01:42 +02:00
|
|
|
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.col-md-12 {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.col-md-11 {
|
|
|
|
width: 91.66666667%;
|
|
|
|
}
|
|
|
|
.col-md-10 {
|
|
|
|
width: 83.33333333%;
|
|
|
|
}
|
|
|
|
.col-md-9 {
|
|
|
|
width: 75%;
|
|
|
|
}
|
|
|
|
.col-md-8 {
|
|
|
|
width: 66.66666667%;
|
|
|
|
}
|
|
|
|
.col-md-7 {
|
|
|
|
width: 58.33333333%;
|
|
|
|
}
|
|
|
|
.col-md-6 {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
.col-md-5 {
|
|
|
|
width: 41.66666667%;
|
|
|
|
}
|
|
|
|
.col-md-4 {
|
|
|
|
width: 33.33333333%;
|
|
|
|
}
|
|
|
|
.col-md-3 {
|
|
|
|
width: 25%;
|
|
|
|
}
|
|
|
|
.col-md-2 {
|
|
|
|
width: 16.66666667%;
|
|
|
|
}
|
|
|
|
.col-md-1 {
|
|
|
|
width: 8.33333333%;
|
|
|
|
}
|
|
|
|
.col-md-pull-12 {
|
|
|
|
right: 100%;
|
|
|
|
}
|
|
|
|
.col-md-pull-11 {
|
|
|
|
right: 91.66666667%;
|
|
|
|
}
|
|
|
|
.col-md-pull-10 {
|
|
|
|
right: 83.33333333%;
|
|
|
|
}
|
|
|
|
.col-md-pull-9 {
|
|
|
|
right: 75%;
|
|
|
|
}
|
|
|
|
.col-md-pull-8 {
|
|
|
|
right: 66.66666667%;
|
|
|
|
}
|
|
|
|
.col-md-pull-7 {
|
|
|
|
right: 58.33333333%;
|
|
|
|
}
|
|
|
|
.col-md-pull-6 {
|
|
|
|
right: 50%;
|
|
|
|
}
|
|
|
|
.col-md-pull-5 {
|
|
|
|
right: 41.66666667%;
|
|
|
|
}
|
|
|
|
.col-md-pull-4 {
|
|
|
|
right: 33.33333333%;
|
|
|
|
}
|
|
|
|
.col-md-pull-3 {
|
|
|
|
right: 25%;
|
|
|
|
}
|
|
|
|
.col-md-pull-2 {
|
|
|
|
right: 16.66666667%;
|
|
|
|
}
|
|
|
|
.col-md-pull-1 {
|
|
|
|
right: 8.33333333%;
|
|
|
|
}
|
|
|
|
.col-md-pull-0 {
|
|
|
|
right: auto;
|
|
|
|
}
|
|
|
|
.col-md-push-12 {
|
|
|
|
left: 100%;
|
|
|
|
}
|
|
|
|
.col-md-push-11 {
|
|
|
|
left: 91.66666667%;
|
|
|
|
}
|
|
|
|
.col-md-push-10 {
|
|
|
|
left: 83.33333333%;
|
|
|
|
}
|
|
|
|
.col-md-push-9 {
|
|
|
|
left: 75%;
|
|
|
|
}
|
|
|
|
.col-md-push-8 {
|
|
|
|
left: 66.66666667%;
|
|
|
|
}
|
|
|
|
.col-md-push-7 {
|
|
|
|
left: 58.33333333%;
|
|
|
|
}
|
|
|
|
.col-md-push-6 {
|
|
|
|
left: 50%;
|
|
|
|
}
|
|
|
|
.col-md-push-5 {
|
|
|
|
left: 41.66666667%;
|
|
|
|
}
|
|
|
|
.col-md-push-4 {
|
|
|
|
left: 33.33333333%;
|
|
|
|
}
|
|
|
|
.col-md-push-3 {
|
|
|
|
left: 25%;
|
|
|
|
}
|
|
|
|
.col-md-push-2 {
|
|
|
|
left: 16.66666667%;
|
|
|
|
}
|
|
|
|
.col-md-push-1 {
|
|
|
|
left: 8.33333333%;
|
|
|
|
}
|
|
|
|
.col-md-push-0 {
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
.col-md-offset-12 {
|
|
|
|
margin-left: 100%;
|
|
|
|
}
|
|
|
|
.col-md-offset-11 {
|
|
|
|
margin-left: 91.66666667%;
|
|
|
|
}
|
|
|
|
.col-md-offset-10 {
|
|
|
|
margin-left: 83.33333333%;
|
|
|
|
}
|
|
|
|
.col-md-offset-9 {
|
|
|
|
margin-left: 75%;
|
|
|
|
}
|
|
|
|
.col-md-offset-8 {
|
|
|
|
margin-left: 66.66666667%;
|
|
|
|
}
|
|
|
|
.col-md-offset-7 {
|
|
|
|
margin-left: 58.33333333%;
|
|
|
|
}
|
|
|
|
.col-md-offset-6 {
|
|
|
|
margin-left: 50%;
|
|
|
|
}
|
|
|
|
.col-md-offset-5 {
|
|
|
|
margin-left: 41.66666667%;
|
|
|
|
}
|
|
|
|
.col-md-offset-4 {
|
|
|
|
margin-left: 33.33333333%;
|
|
|
|
}
|
|
|
|
.col-md-offset-3 {
|
|
|
|
margin-left: 25%;
|
|
|
|
}
|
|
|
|
.col-md-offset-2 {
|
|
|
|
margin-left: 16.66666667%;
|
|
|
|
}
|
|
|
|
.col-md-offset-1 {
|
|
|
|
margin-left: 8.33333333%;
|
|
|
|
}
|
|
|
|
.col-md-offset-0 {
|
|
|
|
margin-left: 0%;
|
|
|
|
}
|
|
|
|
}
|
2015-10-18 18:29:26 +02:00
|
|
|
@media (min-width: $screen-lg) {
|
2015-07-12 21:01:42 +02:00
|
|
|
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.col-lg-12 {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.col-lg-11 {
|
|
|
|
width: 91.66666667%;
|
|
|
|
}
|
|
|
|
.col-lg-10 {
|
|
|
|
width: 83.33333333%;
|
|
|
|
}
|
|
|
|
.col-lg-9 {
|
|
|
|
width: 75%;
|
|
|
|
}
|
|
|
|
.col-lg-8 {
|
|
|
|
width: 66.66666667%;
|
|
|
|
}
|
|
|
|
.col-lg-7 {
|
|
|
|
width: 58.33333333%;
|
|
|
|
}
|
|
|
|
.col-lg-6 {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
.col-lg-5 {
|
|
|
|
width: 41.66666667%;
|
|
|
|
}
|
|
|
|
.col-lg-4 {
|
|
|
|
width: 33.33333333%;
|
|
|
|
}
|
|
|
|
.col-lg-3 {
|
|
|
|
width: 25%;
|
|
|
|
}
|
|
|
|
.col-lg-2 {
|
|
|
|
width: 16.66666667%;
|
|
|
|
}
|
|
|
|
.col-lg-1 {
|
|
|
|
width: 8.33333333%;
|
|
|
|
}
|
|
|
|
.col-lg-pull-12 {
|
|
|
|
right: 100%;
|
|
|
|
}
|
|
|
|
.col-lg-pull-11 {
|
|
|
|
right: 91.66666667%;
|
|
|
|
}
|
|
|
|
.col-lg-pull-10 {
|
|
|
|
right: 83.33333333%;
|
|
|
|
}
|
|
|
|
.col-lg-pull-9 {
|
|
|
|
right: 75%;
|
|
|
|
}
|
|
|
|
.col-lg-pull-8 {
|
|
|
|
right: 66.66666667%;
|
|
|
|
}
|
|
|
|
.col-lg-pull-7 {
|
|
|
|
right: 58.33333333%;
|
|
|
|
}
|
|
|
|
.col-lg-pull-6 {
|
|
|
|
right: 50%;
|
|
|
|
}
|
|
|
|
.col-lg-pull-5 {
|
|
|
|
right: 41.66666667%;
|
|
|
|
}
|
|
|
|
.col-lg-pull-4 {
|
|
|
|
right: 33.33333333%;
|
|
|
|
}
|
|
|
|
.col-lg-pull-3 {
|
|
|
|
right: 25%;
|
|
|
|
}
|
|
|
|
.col-lg-pull-2 {
|
|
|
|
right: 16.66666667%;
|
|
|
|
}
|
|
|
|
.col-lg-pull-1 {
|
|
|
|
right: 8.33333333%;
|
|
|
|
}
|
|
|
|
.col-lg-pull-0 {
|
|
|
|
right: auto;
|
|
|
|
}
|
|
|
|
.col-lg-push-12 {
|
|
|
|
left: 100%;
|
|
|
|
}
|
|
|
|
.col-lg-push-11 {
|
|
|
|
left: 91.66666667%;
|
|
|
|
}
|
|
|
|
.col-lg-push-10 {
|
|
|
|
left: 83.33333333%;
|
|
|
|
}
|
|
|
|
.col-lg-push-9 {
|
|
|
|
left: 75%;
|
|
|
|
}
|
|
|
|
.col-lg-push-8 {
|
|
|
|
left: 66.66666667%;
|
|
|
|
}
|
|
|
|
.col-lg-push-7 {
|
|
|
|
left: 58.33333333%;
|
|
|
|
}
|
|
|
|
.col-lg-push-6 {
|
|
|
|
left: 50%;
|
|
|
|
}
|
|
|
|
.col-lg-push-5 {
|
|
|
|
left: 41.66666667%;
|
|
|
|
}
|
|
|
|
.col-lg-push-4 {
|
|
|
|
left: 33.33333333%;
|
|
|
|
}
|
|
|
|
.col-lg-push-3 {
|
|
|
|
left: 25%;
|
|
|
|
}
|
|
|
|
.col-lg-push-2 {
|
|
|
|
left: 16.66666667%;
|
|
|
|
}
|
|
|
|
.col-lg-push-1 {
|
|
|
|
left: 8.33333333%;
|
|
|
|
}
|
|
|
|
.col-lg-push-0 {
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
.col-lg-offset-12 {
|
|
|
|
margin-left: 100%;
|
|
|
|
}
|
|
|
|
.col-lg-offset-11 {
|
|
|
|
margin-left: 91.66666667%;
|
|
|
|
}
|
|
|
|
.col-lg-offset-10 {
|
|
|
|
margin-left: 83.33333333%;
|
|
|
|
}
|
|
|
|
.col-lg-offset-9 {
|
|
|
|
margin-left: 75%;
|
|
|
|
}
|
|
|
|
.col-lg-offset-8 {
|
|
|
|
margin-left: 66.66666667%;
|
|
|
|
}
|
|
|
|
.col-lg-offset-7 {
|
|
|
|
margin-left: 58.33333333%;
|
|
|
|
}
|
|
|
|
.col-lg-offset-6 {
|
|
|
|
margin-left: 50%;
|
|
|
|
}
|
|
|
|
.col-lg-offset-5 {
|
|
|
|
margin-left: 41.66666667%;
|
|
|
|
}
|
|
|
|
.col-lg-offset-4 {
|
|
|
|
margin-left: 33.33333333%;
|
|
|
|
}
|
|
|
|
.col-lg-offset-3 {
|
|
|
|
margin-left: 25%;
|
|
|
|
}
|
|
|
|
.col-lg-offset-2 {
|
|
|
|
margin-left: 16.66666667%;
|
|
|
|
}
|
|
|
|
.col-lg-offset-1 {
|
|
|
|
margin-left: 8.33333333%;
|
|
|
|
}
|
|
|
|
.col-lg-offset-0 {
|
|
|
|
margin-left: 0%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.clearfix:before,
|
|
|
|
.clearfix:after,
|
|
|
|
.row:before,
|
|
|
|
.row:after {
|
|
|
|
content: " ";
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
.clearfix:after,
|
|
|
|
.row:after {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
.center-block {
|
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2018-10-16 19:49:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.grid {
|
|
|
|
display: grid;
|
|
|
|
grid-column-gap: $-m;
|
|
|
|
grid-row-gap: 0;
|
|
|
|
&.contained {
|
2018-12-09 00:34:06 +01:00
|
|
|
max-width: $xxl;
|
2018-10-16 19:49:16 +02:00
|
|
|
padding-left: $-m;
|
|
|
|
padding-right: $-m;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2018-12-01 22:28:21 +01:00
|
|
|
&.v-center {
|
|
|
|
align-items: center;
|
|
|
|
}
|
2018-10-16 19:49:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@each $sizeLetter, $size in $spacing {
|
|
|
|
.grid.contained.space-#{$sizeLetter} {
|
|
|
|
padding-left: $size;
|
|
|
|
padding-right: $size;
|
|
|
|
grid-column-gap: $size;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin grid-layout($name, $times) {
|
|
|
|
.grid.#{$name} {
|
|
|
|
grid-template-columns: repeat(#{$times}, 1fr);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include grid-layout('thirds', 3)
|
2018-10-21 21:05:11 +02:00
|
|
|
@include grid-layout('halves', 2)
|
2018-10-16 19:49:16 +02:00
|
|
|
|
|
|
|
@each $sizeLetter, $size in $screen-sizes {
|
|
|
|
@include smaller-than($size) {
|
|
|
|
.grid.break-#{$sizeLetter} {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Visibility
|
|
|
|
*/
|
|
|
|
|
|
|
|
@each $sizeLetter, $size in $screen-sizes {
|
|
|
|
@include smaller-than($size) {
|
|
|
|
.hide-under-#{$sizeLetter} {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include larger-than($size) {
|
|
|
|
.hide-over-#{$sizeLetter} {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|