mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 03:24:20 +00:00
🔧 Move border-radius
to the main .panel
class
This commit is contained in:
parent
a2f5dc5866
commit
54f6c9a6ed
5 changed files with 6 additions and 8 deletions
4
src/rules/skeleton.less
vendored
4
src/rules/skeleton.less
vendored
|
@ -422,6 +422,8 @@
|
|||
margin: 8px 0;
|
||||
// And a padding to separate them from their contents
|
||||
padding: 8px;
|
||||
// And a nice round border
|
||||
border-radius: 4px;
|
||||
|
||||
// Panels should try to fill the most space possible
|
||||
width: 100%;
|
||||
|
@ -443,14 +445,12 @@
|
|||
|
||||
// A panel which encloses its contents with a border.
|
||||
@{panel-box} {
|
||||
border-radius: 4px;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
// A panel which encloses its contents with a quote-like border.
|
||||
@{panel-dialog} {
|
||||
border-radius: 4px;
|
||||
border-width: 0 0 0 2px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
|
|
@ -144,6 +144,7 @@
|
|||
.bluelib .panel {
|
||||
margin: 8px 0;
|
||||
padding: 8px;
|
||||
border-radius: 4px;
|
||||
width: 100%;
|
||||
background-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.025);
|
||||
border-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.1);
|
||||
|
@ -157,12 +158,10 @@
|
|||
margin-bottom: 0;
|
||||
}
|
||||
.bluelib .panel-box {
|
||||
border-radius: 4px;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
}
|
||||
.bluelib .panel-dialog {
|
||||
border-radius: 4px;
|
||||
border-width: 0 0 0 2px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -163,6 +163,7 @@ body .panel,
|
|||
.bluelib .panel {
|
||||
margin: 8px 0;
|
||||
padding: 8px;
|
||||
border-radius: 4px;
|
||||
width: 100%;
|
||||
background-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.025);
|
||||
border-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.1);
|
||||
|
@ -177,13 +178,11 @@ body .panel > *:last-child,
|
|||
}
|
||||
body .panel-box,
|
||||
.bluelib .panel-box {
|
||||
border-radius: 4px;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
}
|
||||
body .panel-dialog,
|
||||
.bluelib .panel-dialog {
|
||||
border-radius: 4px;
|
||||
border-width: 0 0 0 2px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue