ENH: Tabs

master
U~man 2020-07-03 15:30:40 +02:00
parent 6141ae7693
commit 4f6c6e3c90
1 changed files with 18 additions and 8 deletions

View File

@ -74,21 +74,30 @@
} }
} }
.sheet-tabs { .sheet-tabs {
color: whitesmoke; position: absolute;
background: $colorDark; transform: rotate(90deg);
margin: 4px 0 0; top: 365px;
border: 1px solid $colorDark; right: -166px;
width: 320px;
z-index: -1;
.item { .item {
padding: 2px; padding: 0 10px;
margin-left: -5px;
text-indent: 4px;
background: url('/ui/parchment.jpg');
border-top-right-radius: 4px;
border-top-left-radius: 15px;
box-shadow: 0 0 6px 1px $colorDark;
font-size: 13px;
&.active { &.active {
background: $colorCrimson; z-index: 1;
font-weight: bold;
text-shadow: none;
} }
} }
} }
.sheet-body { .sheet-body {
padding: 5px 0; padding: 5px 0;
border: 1px solid $colorDark;
border-top: none;
height: calc(100% - 175px); height: calc(100% - 175px);
.attributes { .attributes {
margin: 0; margin: 0;
@ -97,6 +106,7 @@
position: relative; position: relative;
margin: 8px; margin: 8px;
border: 1px solid $colorTan; border: 1px solid $colorTan;
box-shadow: 0 0 2px $colorTan;
.attribute-name { .attribute-name {
color: whitesmoke; color: whitesmoke;
padding: 2px; padding: 2px;