2021-05-06 20:29:55 +02:00
|
|
|
@use "ts/sass/button_mixins" as button;
|
|
|
|
|
2021-04-09 20:55:49 +02:00
|
|
|
.linkb {
|
|
|
|
display: inline-block;
|
2021-05-23 19:39:57 +02:00
|
|
|
background-color: white;
|
2021-05-19 11:58:12 +02:00
|
|
|
border: 1px solid var(--medium-border);
|
2021-05-24 11:21:42 +02:00
|
|
|
|
|
|
|
/* !important cannot be used with @include */
|
|
|
|
border-top-left-radius: var(--border-left-radius) !important;
|
|
|
|
border-bottom-left-radius: var(--border-left-radius) !important;
|
|
|
|
border-top-right-radius: var(--border-right-radius) !important;
|
|
|
|
border-bottom-right-radius: var(--border-right-radius) !important;
|
|
|
|
|
2021-05-23 00:50:02 +02:00
|
|
|
min-width: 28px;
|
|
|
|
margin-left: -1px;
|
2021-05-24 11:21:42 +02:00
|
|
|
padding: 3.5px !important;
|
2021-05-23 00:50:02 +02:00
|
|
|
}
|
|
|
|
|
2021-05-24 13:11:50 +02:00
|
|
|
.linkb:hover,
|
|
|
|
.linkb:active:hover {
|
2021-05-23 00:50:02 +02:00
|
|
|
background-color: #ebebeb;
|
2021-05-19 11:58:12 +02:00
|
|
|
}
|
|
|
|
|
2021-05-23 00:50:02 +02:00
|
|
|
.linkb:active,
|
|
|
|
.linkb:active:hover {
|
2021-05-24 13:11:50 +02:00
|
|
|
background-color: white;
|
2021-05-23 00:50:02 +02:00
|
|
|
box-shadow: inset 0
|
|
|
|
calc(var(--toolbar-size) / 15)
|
|
|
|
calc(var(--toolbar-size) / 5)
|
|
|
|
rgba(0, 0, 0, 0.25);
|
|
|
|
}
|
|
|
|
|
|
|
|
.linkb:active:hover .topbut {
|
|
|
|
filter: invert(1) grayscale(1) brightness(100);
|
2021-04-09 20:55:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.topbut {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
width: calc(var(--toolbar-size) - 12px);
|
|
|
|
height: calc(var(--toolbar-size) - 12px);
|
|
|
|
}
|
2021-05-23 00:50:02 +02:00
|
|
|
|
|
|
|
.nightMode {
|
|
|
|
.linkb {
|
|
|
|
margin-left: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.linkb:hover {
|
|
|
|
background-color: #7a7a7a;
|
|
|
|
border-color: #7a7a7a;
|
|
|
|
}
|
|
|
|
|
2021-05-23 15:55:22 +02:00
|
|
|
.linkb:active,
|
2021-05-23 00:50:02 +02:00
|
|
|
.linkb:active:hover {
|
|
|
|
box-shadow: inset 0
|
|
|
|
calc(var(--toolbar-size) / 15)
|
|
|
|
calc(var(--toolbar-size) / 5)
|
|
|
|
rgba(0, 0, 0, 0.35);
|
|
|
|
border-color: #525252;
|
|
|
|
}
|
|
|
|
|
|
|
|
.topbut,
|
|
|
|
.linkb:active:hover .topbut {
|
|
|
|
filter: invert(1);
|
|
|
|
}
|
2021-05-22 22:40:21 +02:00
|
|
|
}
|