Fix width issues with dropdown
This commit is contained in:
parent
cebb9e5678
commit
cbd65c3e41
9 changed files with 4 additions and 52 deletions
|
|
@ -1,44 +1,3 @@
|
||||||
body {
|
|
||||||
background-color: $background;
|
|
||||||
color: $foreground;
|
|
||||||
margin-left: 0px;
|
|
||||||
margin-right: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.blurred {
|
|
||||||
filter: blur(5px);
|
|
||||||
|
|
||||||
&.unblurable {
|
|
||||||
transition: filter ease-in-out 250ms;
|
|
||||||
&:hover {
|
|
||||||
filter: none;
|
|
||||||
transition: filter ease-in-out 250ms;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.bounce {
|
|
||||||
-moz-animation: bounce 2s 10;
|
|
||||||
-webkit-animation: bounce 2s 10;
|
|
||||||
animation: bounce 2s 10;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes bounce {
|
|
||||||
0%,
|
|
||||||
20%,
|
|
||||||
50%,
|
|
||||||
80%,
|
|
||||||
100% {
|
|
||||||
transform: translateY(0);
|
|
||||||
}
|
|
||||||
40% {
|
|
||||||
transform: translateY(-30px);
|
|
||||||
}
|
|
||||||
60% {
|
|
||||||
transform: translateY(-15px);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.color-demo {
|
.color-demo {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
@ -51,7 +10,6 @@ body {
|
||||||
background-color: $red;
|
background-color: $red;
|
||||||
box-shadow: 0px 0px 10px 0px rgba(darken($red, 10%), 0.5);
|
box-shadow: 0px 0px 10px 0px rgba(darken($red, 10%), 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.blue {
|
&.blue {
|
||||||
background-color: $cyan;
|
background-color: $cyan;
|
||||||
box-shadow: 0px 0px 10px 0px rgba(darken($cyan, 10%), 0.5);
|
box-shadow: 0px 0px 10px 0px rgba(darken($cyan, 10%), 0.5);
|
||||||
|
|
@ -80,6 +38,4 @@ body {
|
||||||
.display-mode-icon {
|
.display-mode-icon {
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-decoration: none;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,4 +20,4 @@
|
||||||
&.narrow {
|
&.narrow {
|
||||||
width: 30vw;
|
width: 30vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -136,7 +136,6 @@
|
||||||
|
|
||||||
& .dropdown-content {
|
& .dropdown-content {
|
||||||
max-height: 0px;
|
max-height: 0px;
|
||||||
width: 100%;
|
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
top: 100%;
|
top: 100%;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
|
||||||
|
|
@ -1068,7 +1068,6 @@ body {
|
||||||
|
|
||||||
.dropdown.item .dropdown-content {
|
.dropdown.item .dropdown-content {
|
||||||
max-height: 0px;
|
max-height: 0px;
|
||||||
width: 100%;
|
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
top: 100%;
|
top: 100%;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1068,7 +1068,6 @@ body {
|
||||||
|
|
||||||
.dropdown.item .dropdown-content {
|
.dropdown.item .dropdown-content {
|
||||||
max-height: 0px;
|
max-height: 0px;
|
||||||
width: 100%;
|
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
top: 100%;
|
top: 100%;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1068,7 +1068,6 @@ body {
|
||||||
|
|
||||||
.dropdown.item .dropdown-content {
|
.dropdown.item .dropdown-content {
|
||||||
max-height: 0px;
|
max-height: 0px;
|
||||||
width: 100%;
|
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
top: 100%;
|
top: 100%;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue