widgets: remove built-in label except for button, modal & tabs
widgets: colorBg property for all; opaque background for all
This commit is contained in:
parent
7c63979db9
commit
c72a1aacc5
17 changed files with 171 additions and 141 deletions
|
|
@ -12,7 +12,6 @@
|
|||
width: 100rem;
|
||||
height: 100rem;
|
||||
|
||||
background-clip: content-box;
|
||||
|
||||
contain: strict;
|
||||
@supports not (contain: strict) {
|
||||
|
|
@ -39,34 +38,15 @@
|
|||
|
||||
color: var(--color-text);
|
||||
|
||||
background-color: var(--color-background);
|
||||
background-clip: content-box;
|
||||
|
||||
|
||||
&.absolute-position {
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
&.no-label {
|
||||
> label {
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
|
||||
label {
|
||||
text-overflow:ellipsis;
|
||||
overflow:hidden;
|
||||
text-align:center;
|
||||
height:30rem;
|
||||
max-height:30rem;
|
||||
padding:0 6rem;
|
||||
width: 100%;
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
white-space: pre;
|
||||
align-items: center;
|
||||
order: -1;
|
||||
}
|
||||
|
||||
canvas {
|
||||
flex: 1;
|
||||
height: auto;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue