widgets: enhance css border-radius support
This commit is contained in:
parent
9f89bc2122
commit
b9930a6b58
7 changed files with 25 additions and 4 deletions
|
|
@ -29,6 +29,16 @@
|
|||
}
|
||||
}
|
||||
|
||||
> .label + div {
|
||||
border-top-left-radius:0;
|
||||
border-top-right-radius:0;
|
||||
border-bottom-right-radius:inherit;
|
||||
border-bottom-left-radius:inherit;
|
||||
}
|
||||
&.nolabel > .label + div {
|
||||
border-radius: inherit;
|
||||
}
|
||||
|
||||
.label {
|
||||
text-overflow:ellipsis;
|
||||
overflow:hidden;
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@
|
|||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
border-radius: inherit;
|
||||
|
||||
> * {
|
||||
pointer-events: none;
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
padding:0;
|
||||
background: transparent;
|
||||
color:var(--color-accent);
|
||||
border-radius: 0;
|
||||
border-radius: inherit;
|
||||
-webkit-appearance:none;
|
||||
text-align:inherit;
|
||||
vertical-align: top;
|
||||
|
|
|
|||
|
|
@ -112,6 +112,17 @@
|
|||
.matrix {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
> .widget {
|
||||
border-radius: 0!important;
|
||||
&.white:first-child {
|
||||
border-top-left-radius:inherit!important;
|
||||
border-bottom-left-radius:inherit!important;
|
||||
}
|
||||
&.white:last-child {
|
||||
border-top-right-radius:inherit!important;
|
||||
border-bottom-right-radius:inherit!important;
|
||||
}
|
||||
}
|
||||
.white {
|
||||
--color-raised: var(--color-white-key);
|
||||
.toggle:before {
|
||||
|
|
|
|||
|
|
@ -233,6 +233,7 @@
|
|||
> .toggle:after {
|
||||
color:var(--color-custom);
|
||||
}
|
||||
border-radius: 0!important; // border radius breaks it smoehow
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
flex:1;
|
||||
background: var(--color-track);
|
||||
border:1rem solid var(--color-bg);
|
||||
border-radius: inherit;
|
||||
--opacity: 0;
|
||||
&:after {
|
||||
content:"";
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
cursor: pointer;
|
||||
flex:1;
|
||||
display: flex;
|
||||
border-radius: inherit;
|
||||
border-radius: inherit!important;
|
||||
|
||||
|
||||
&:before {
|
||||
|
|
@ -61,7 +61,6 @@
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 2;
|
||||
|
||||
}
|
||||
|
||||
&.on > .label {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue