mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
Merge pull request #346 from rschamp/bugfix/GH-3329
Fix GH-345: Make carousel not so tall
This commit is contained in:
commit
0603b3b9df
1 changed files with 13 additions and 10 deletions
|
@ -5,6 +5,7 @@
|
||||||
$button-offset: $icon-size + 5px;
|
$button-offset: $icon-size + 5px;
|
||||||
$box-content-offset: 20px;
|
$box-content-offset: 20px;
|
||||||
|
|
||||||
|
margin-bottom: 0;
|
||||||
padding: 12px $button-offset;
|
padding: 12px $button-offset;
|
||||||
|
|
||||||
.box-content & {
|
.box-content & {
|
||||||
|
@ -28,8 +29,10 @@
|
||||||
content: "";
|
content: "";
|
||||||
}
|
}
|
||||||
|
|
||||||
&.slick-disabled:before {
|
&.slick-disabled {
|
||||||
opacity: 1;
|
&:before {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,11 +41,11 @@
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
background-image: url("/svgs/carousel/prev_ui-dark-gray.svg");
|
background-image: url("/svgs/carousel/prev_ui-dark-gray.svg");
|
||||||
}
|
|
||||||
|
|
||||||
&:hover:before {
|
&:hover {
|
||||||
background-image: url("/svgs/carousel/prev_ui-blue.svg");
|
background-image: url("/svgs/carousel/prev_ui-blue.svg");
|
||||||
background-size: 90%;
|
background-size: 90%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -56,11 +59,11 @@
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
background-image: url("/svgs/carousel/next_ui-dark-gray.svg");
|
background-image: url("/svgs/carousel/next_ui-dark-gray.svg");
|
||||||
}
|
|
||||||
|
|
||||||
&:hover:before {
|
&:hover {
|
||||||
background-image: url("/svgs/carousel/next_ui-blue.svg");
|
background-image: url("/svgs/carousel/next_ui-blue.svg");
|
||||||
background-size: 90%;
|
background-size: 90%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-content & {
|
.box-content & {
|
||||||
|
|
Loading…
Reference in a new issue