make all dropdown menus consistent
This commit is contained in:
parent
7a3a4e81a1
commit
4887d37110
11 changed files with 601 additions and 460 deletions
|
|
@ -55,22 +55,6 @@
|
|||
a.dropdown-item,
|
||||
button.dropdown-item,
|
||||
.dropdown-item:not(button, a) {
|
||||
&.disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
&:not(.disabled) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.main-button,
|
||||
.extra-button {
|
||||
display: grid;
|
||||
box-sizing: border-box;
|
||||
border: none;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.extra-button {
|
||||
border-left: 1px solid var(--icon);
|
||||
padding-left: calc(var(--__horizontal-gap) - 1px);
|
||||
|
|
@ -115,10 +99,31 @@
|
|||
}
|
||||
}
|
||||
|
||||
.main-button,
|
||||
.extra-button {
|
||||
display: grid;
|
||||
box-sizing: border-box;
|
||||
align-items: center;
|
||||
|
||||
&.disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
&:not(.disabled) {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
&.-icon {
|
||||
.main-button {
|
||||
grid-template-columns: var(--__line-height) 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
&.-icon-space {
|
||||
.main-button {
|
||||
padding-left: calc(var(--__line-height) + var(--__horizontal-gap) * 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue