Commit 576028bd authored by Matthias Clasen's avatar Matthias Clasen

frame: Convert to gadgets

As part of this conversion, remove the hardcoded padding around
the label.

Unfortunately, we cannot use the main gadget for drawing the frame
decoration, since we want to draw a custom border instead of the
stock css border that gadgets insist on drawing for us. Therefore,
add an extra gadget with name border and use it just for rendering
the frame.
parent 3be4971e
This diff is collapsed.
......@@ -2496,12 +2496,15 @@ levelbar {
/**********
* Frames *
**********/
frame,
frame border,
.frame {
box-shadow: none;
margin: 0;
padding: 0;
border-radius: 0;
border: 1px solid $borders_color;
&.flat { border-style: none; }
&:backdrop { border-color: $backdrop_borders_color; }
padding: 0;
}
paper {
......
......@@ -3483,14 +3483,17 @@ levelbar {
/**********
* Frames *
**********/
frame,
frame border,
.frame {
border: 1px solid #1c1f1f;
padding: 0; }
frame.flat,
box-shadow: none;
margin: 0;
padding: 0;
border-radius: 0;
border: 1px solid #1c1f1f; }
frame border.flat,
.frame.flat {
border-style: none; }
frame:backdrop,
frame border:backdrop,
.frame:backdrop {
border-color: #1f2222; }
......
......@@ -3645,14 +3645,17 @@ levelbar {
/**********
* Frames *
**********/
frame,
frame border,
.frame {
border: 1px solid #9d9d99;
padding: 0; }
frame.flat,
box-shadow: none;
margin: 0;
padding: 0;
border-radius: 0;
border: 1px solid #9d9d99; }
frame border.flat,
.frame.flat {
border-style: none; }
frame:backdrop,
frame border:backdrop,
.frame:backdrop {
border-color: #a5a5a1; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment