css: clean old appbar actions links styles (#74725)
useless since #25698
This commit is contained in:
parent
e3ad91a61c
commit
3d30c80b97
|
@ -1117,12 +1117,7 @@ $appicons: add, agendas, announces, bankcard, book, calendar, cards, categories,
|
|||
|
||||
#appbar {
|
||||
position: relative;
|
||||
& > a {
|
||||
position: relative;
|
||||
top: -45px;
|
||||
float: right;
|
||||
margin-left: 2em;
|
||||
}
|
||||
border-radius: 3px 3px 0 0;
|
||||
span.actions {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
|
@ -1134,77 +1129,69 @@ $appicons: add, agendas, announces, bankcard, book, calendar, cards, categories,
|
|||
@media print {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
& > a,
|
||||
span.actions > a {
|
||||
@extend %button;
|
||||
&.disabled {
|
||||
border-color: #aaa;
|
||||
color: #aaa;
|
||||
background: #eee;
|
||||
pointer-events: none;
|
||||
&:hover {
|
||||
background: #eee;
|
||||
> a {
|
||||
@extend %button;
|
||||
&.disabled {
|
||||
border-color: #aaa;
|
||||
color: #aaa;
|
||||
}
|
||||
}
|
||||
}
|
||||
border-radius: 3px 3px 0 0;
|
||||
span.actions a.extra-actions-menu-opener,
|
||||
a.extra-actions-menu-opener {
|
||||
border: 1px solid transparent;
|
||||
color: $primary-color;
|
||||
&::before {
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
content: "\f142"; /* ellipsis-v */
|
||||
font-family: FontAwesome;
|
||||
border-bottom: 0;
|
||||
position: relative;
|
||||
z-index: 200;
|
||||
top: 2px;
|
||||
}
|
||||
&.open, &.open:hover {
|
||||
background: $primary-color;
|
||||
color: white;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 3px 3px 0 0;
|
||||
}
|
||||
}
|
||||
.extra-actions-menu {
|
||||
padding: 0px;
|
||||
list-style: none;
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
margin-top: -20px;
|
||||
background: $primary-color;
|
||||
box-shadow: 0px 1px 1px 2px rgba(0, 0, 0, 0.04);
|
||||
z-index: 100;
|
||||
display: none;
|
||||
min-width: 12em;
|
||||
&.open {
|
||||
border-radius: 3px 0 3px 3px;
|
||||
display: block;
|
||||
}
|
||||
li {
|
||||
margin: 0;
|
||||
a {
|
||||
color: white;
|
||||
float: none;
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 5px 10px;
|
||||
border: 0;
|
||||
background: #eee;
|
||||
pointer-events: none;
|
||||
&:hover {
|
||||
background: lighten($primary-color, 20%);
|
||||
background: #eee;
|
||||
color: #aaa;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
span.actions {
|
||||
a.extra-actions-menu-opener {
|
||||
border: 1px solid transparent;
|
||||
color: $primary-color;
|
||||
&::before {
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
content: "\f142"; /* ellipsis-v */
|
||||
font-family: FontAwesome;
|
||||
border-bottom: 0;
|
||||
position: relative;
|
||||
z-index: 200;
|
||||
top: 2px;
|
||||
}
|
||||
&.open, &.open:hover {
|
||||
background: $primary-color;
|
||||
color: white;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 3px 3px 0 0;
|
||||
}
|
||||
}
|
||||
.extra-actions-menu {
|
||||
padding: 0px;
|
||||
list-style: none;
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
background: $primary-color;
|
||||
box-shadow: 0px 1px 1px 2px rgba(0, 0, 0, 0.04);
|
||||
z-index: 100;
|
||||
display: none;
|
||||
min-width: 12em;
|
||||
margin-top: 0px;
|
||||
top: 100%;
|
||||
&.open {
|
||||
border-radius: 3px 0 3px 3px;
|
||||
display: block;
|
||||
}
|
||||
li {
|
||||
margin: 0;
|
||||
a {
|
||||
color: white;
|
||||
float: none;
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 5px 10px;
|
||||
border: 0;
|
||||
&:hover {
|
||||
background: lighten($primary-color, 20%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&.highlight {
|
||||
|
|
Loading…
Reference in New Issue