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;
|
||||
$box-content-offset: 20px;
|
||||
|
||||
margin-bottom: 0;
|
||||
padding: 12px $button-offset;
|
||||
|
||||
.box-content & {
|
||||
|
@ -28,8 +29,10 @@
|
|||
content: "";
|
||||
}
|
||||
|
||||
&.slick-disabled:before {
|
||||
opacity: 1;
|
||||
&.slick-disabled {
|
||||
&:before {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -38,11 +41,11 @@
|
|||
|
||||
&:before {
|
||||
background-image: url("/svgs/carousel/prev_ui-dark-gray.svg");
|
||||
}
|
||||
|
||||
&:hover:before {
|
||||
background-image: url("/svgs/carousel/prev_ui-blue.svg");
|
||||
background-size: 90%;
|
||||
&:hover {
|
||||
background-image: url("/svgs/carousel/prev_ui-blue.svg");
|
||||
background-size: 90%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -56,11 +59,11 @@
|
|||
|
||||
&:before {
|
||||
background-image: url("/svgs/carousel/next_ui-dark-gray.svg");
|
||||
}
|
||||
|
||||
&:hover:before {
|
||||
background-image: url("/svgs/carousel/next_ui-blue.svg");
|
||||
background-size: 90%;
|
||||
&:hover {
|
||||
background-image: url("/svgs/carousel/next_ui-blue.svg");
|
||||
background-size: 90%;
|
||||
}
|
||||
}
|
||||
|
||||
.box-content & {
|
||||
|
|
Loading…
Reference in a new issue