Aligment improvements to notebook widgets
This commit is contained in:
parent
ffdb75e86b
commit
cc205d4379
|
@ -833,33 +833,31 @@ menuitem > box > image {
|
||||||
* notebook *
|
* notebook *
|
||||||
************/
|
************/
|
||||||
|
|
||||||
/* Must paint over the notebook.frame, so that we cut the bevel on the header side,
|
/* Must paint over the notebook.frame top bevel by using the header side,
|
||||||
cant do it any other way... */
|
cant do it any other way... */
|
||||||
notebook {
|
notebook {
|
||||||
padding-left: 0px;
|
padding-left: 0px;
|
||||||
padding-right: 0px;
|
padding-right: 0px;
|
||||||
margin: 4px;
|
margin: 4px;
|
||||||
}
|
}
|
||||||
|
/* Some notebooks use .frame styles, this fixes some unaligments */
|
||||||
notebook > stack{
|
notebook.frame {
|
||||||
margin: 3px;
|
padding-left: 2px;
|
||||||
|
padding-right: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
notebook > header {
|
notebook > header {
|
||||||
background-color: @bg_color;
|
background-color: @bg_color;
|
||||||
margin: -1px;
|
margin-left: -3px;
|
||||||
|
margin-right: -1px;
|
||||||
|
}
|
||||||
|
notebook > stack{
|
||||||
|
margin: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
notebook > header > tabs {
|
notebook > header > tabs {
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
notebook > header > tabs > tab label {
|
|
||||||
padding-left: 5px;
|
|
||||||
padding-right: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
notebook > header > tabs > tab {
|
notebook > header > tabs > tab {
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
|
@ -868,7 +866,12 @@ notebook > header > tabs > tab:checked {
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
padding-bottom: 7px;
|
padding-bottom: 7px;
|
||||||
}
|
}
|
||||||
|
notebook > header > tabs > tab label {
|
||||||
|
padding-left: 5px;
|
||||||
|
padding-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* TOP tabs */
|
||||||
notebook > header.top > tabs {
|
notebook > header.top > tabs {
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 1px 1px 0px 1px;
|
border-width: 1px 1px 0px 1px;
|
||||||
|
@ -900,9 +903,7 @@ notebook > header.top > tabs > tab:checked:first-child {
|
||||||
margin-right: -3px;
|
margin-right: -3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* LEFT tabs */
|
||||||
|
|
||||||
|
|
||||||
notebook > header.left > tabs > tab {
|
notebook > header.left > tabs > tab {
|
||||||
border-right: 0px;
|
border-right: 0px;
|
||||||
box-shadow: inset 1px 1px shade(white,1.0),
|
box-shadow: inset 1px 1px shade(white,1.0),
|
||||||
|
@ -912,6 +913,7 @@ notebook > header.left > tabs > tab {
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* BOTTOM tabs */
|
||||||
notebook > header.bottom > tabs > tab {
|
notebook > header.bottom > tabs > tab {
|
||||||
border-top: 0px;
|
border-top: 0px;
|
||||||
box-shadow: inset 1px 0px shade(white,1.0),
|
box-shadow: inset 1px 0px shade(white,1.0),
|
||||||
|
@ -921,6 +923,7 @@ notebook > header.bottom > tabs > tab {
|
||||||
margin-bottom: 3px;
|
margin-bottom: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* RIGHT tabs */
|
||||||
notebook > header.right > tabs > tab {
|
notebook > header.right > tabs > tab {
|
||||||
border-left: 0px;
|
border-left: 0px;
|
||||||
box-shadow: inset 0px 1px shade(white,1.0),
|
box-shadow: inset 0px 1px shade(white,1.0),
|
||||||
|
|
Loading…
Reference in New Issue