2020-01-12 15:33:02 +01:00
|
|
|
// {{< expand "Label" "icon" >}}
|
|
|
|
.gdoc-expand {
|
|
|
|
margin-top: $padding-16;
|
|
|
|
margin-bottom: $padding-16;
|
|
|
|
|
|
|
|
border: $padding-1 solid $gray-200;
|
|
|
|
border-radius: $border-radius;
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
&__head {
|
|
|
|
background: $gray-100;
|
|
|
|
padding: $padding-8 $padding-16;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
display: none;
|
|
|
|
padding: $padding-16;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__control:checked + &__content {
|
|
|
|
display: block;
|
|
|
|
}
|
2020-05-31 18:20:39 +02:00
|
|
|
|
|
|
|
.gdoc-page__anchor {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-01-12 15:33:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// {{< tabs >}}
|
|
|
|
.gdoc-tabs {
|
|
|
|
margin-top: $padding-16;
|
|
|
|
margin-bottom: $padding-16;
|
|
|
|
|
|
|
|
border: $padding-1 solid $gray-200;
|
|
|
|
border-radius: $border-radius;
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
&__label {
|
|
|
|
display: inline-block;
|
|
|
|
padding: $padding-8 $padding-16;
|
|
|
|
border-bottom: $padding-1 transparent;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
order: 999; //Move content blocks to the end
|
|
|
|
width: 100%;
|
|
|
|
border-top: $padding-1 solid $gray-100;
|
|
|
|
padding: $padding-16;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__control:checked + &__label {
|
|
|
|
border-bottom: $padding-1 solid $color-link;
|
|
|
|
}
|
|
|
|
&__control:checked + &__label + &__content {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// {{< columns >}}
|
|
|
|
.gdoc-columns {
|
|
|
|
margin-left: -$padding-16;
|
|
|
|
margin-right: -$padding-16;
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
margin: $padding-16 0;
|
|
|
|
min-width: $body-min-width * 0.66;
|
|
|
|
padding: 0 $padding-16;
|
|
|
|
}
|
2020-02-26 23:59:30 +01:00
|
|
|
|
|
|
|
.gdoc-page__anchor {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-01-12 15:33:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// {{< button >}}
|
2020-02-05 00:41:13 +01:00
|
|
|
.gdoc-button {
|
2020-01-12 15:33:02 +01:00
|
|
|
display: inline-block;
|
|
|
|
color: $gray-700;
|
|
|
|
border: $padding-1 solid $gray-500;
|
|
|
|
border-radius: $border-radius;
|
2020-02-05 00:41:13 +01:00
|
|
|
margin: $padding-8 0;
|
2020-01-12 15:33:02 +01:00
|
|
|
cursor: pointer;
|
|
|
|
|
2020-02-05 00:41:13 +01:00
|
|
|
&__link {
|
|
|
|
display: inline-block;
|
|
|
|
color: inherit !important;
|
|
|
|
text-decoration: none !important;
|
|
|
|
padding: $padding-4 $padding-16;
|
|
|
|
}
|
|
|
|
|
2020-01-12 15:33:02 +01:00
|
|
|
&:hover {
|
|
|
|
background: rgba($main-color, 0.9);
|
|
|
|
border-color: $main-color;
|
|
|
|
color: $gray-100;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// {{< hint >}}
|
|
|
|
.gdoc-hint {
|
|
|
|
@each $name, $color in $hint-colors {
|
|
|
|
&.#{$name} {
|
|
|
|
border-left-color: $color;
|
|
|
|
background-color: rgba($color, 0.1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-06-02 21:22:10 +02:00
|
|
|
|
|
|
|
// {{< mermaid >}}
|
|
|
|
.gdoc-mermaid {
|
|
|
|
font-family: "Liberation Sans", sans-serif;
|
|
|
|
}
|