Skip to content

Commit

Permalink
Merge branch 'release/1.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
denniserdmann committed Apr 17, 2020
2 parents 940227c + 808cc71 commit a34a2be
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion files/nutshell/scss/base/_type.scss
Expand Up @@ -90,7 +90,7 @@ $headlines: (
html {
--headings__font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
--headings__font-weight: 700;
--headings__color: currentColor;
--headings__color: 'currentColor'

--paragraph__link-color: var(--color-links);
--code__color: var(--color-highlight);
Expand Down
1 change: 1 addition & 0 deletions files/nutshell/scss/components/_accordion.scss
Expand Up @@ -53,5 +53,6 @@ html {
.accordion {
padding: var(--accordion-padding);
background: var(--accordion-background);
overflow: hidden;
}
}
25 changes: 14 additions & 11 deletions files/nutshell/scss/components/_slider.scss
Expand Up @@ -11,9 +11,14 @@
// --------------------------------------------------

// VARIABLES
// [1] some fonts use different sizes for left and right arrow.
// We take Arial to make sure it has the same size.

html {
--arrow-color: inherit;
--arrow-size: 2rem;
--arrow-font-family: 'Arial';
--menu-point-size: 2rem;
--menu-point-color: inherit;
--menu-point-color--active: var(--color-brand);
}
Expand All @@ -28,15 +33,13 @@ html {

// default slider
// NOTES:
// [1] overrides default contao slider styling
// [2] some fonts use different sizes for left and right arrow.
// We take Arial to make sure it has the same size.
// [2] overrides default contao slider styling
.slider {
position: relative;

.slider-control {
position: static; // [1]
height: 0; // [1]
position: static; // [2]
height: 0; // [2]
}

.slider-control a {
Expand All @@ -49,7 +52,7 @@ html {
position: absolute;
display: block;
color: var(--arrow-color);
font-family: Arial; // [2]
font-family: var(--arrow-font-family);

&:before {
padding: var(--base-spacing-unit--sm);
Expand All @@ -70,18 +73,18 @@ html {
}

.slider-menu {
font-size: 3rem;
font-size: var(--menu-point-size);
line-height: 1;

top: auto; // [1]
bottom: 0; // [1]
top: auto; // [2]
bottom: 0; // [2]

b {
color: var(--menu-point-color); // [1]
color: var(--menu-point-color); // [2]
}

b.active {
color: var(--menu-point-color--active); // [1]
color: var(--menu-point-color--active); // [2]
}

b:hover {
Expand Down

0 comments on commit a34a2be

Please sign in to comment.