metabox part 1

This commit is contained in:
Jana Deutschländer 2017-01-09 14:32:43 +01:00
commit 38297711ab
9 changed files with 98 additions and 2 deletions

View file

@ -22,7 +22,7 @@
}
#meta-box{
display: inline-block;
height: 3rem;
height: 2.05rem;
max-width: 40%;
float: right;
border: 1px solid transparent;

56
css/area_nav-metabox.less Normal file
View file

@ -0,0 +1,56 @@
#meta-box{
ul.nav-tabs {
border-bottom: 1px solid @background_page-header;
background-color: @background_page-header;
position: relative;
bottom: -2px;
margin: 0; padding: 0;
list-style: none;
&::before, &::after {
display: table;
content: " ";
box-sizing: border-box;
clear: both;
}
>li {
margin: -1px;
position: relative;
display: inline-block;
>a {
font-size: .78rem;
margin-right: 2px;
line-height: 1.42857143;
position: relative;
display: block;
padding: .5em 2em;
border: 1px solid transparent;
border-radius: 4px 4px 0 0;
color: @color-nav;
.prefix{
font-size: .78rem;
color: @color-nav;
}
.num{
font-size: .56rem;
}
&:hover, &:focus, &:active{
color: #555;
cursor: default;
background-color: #fff;
border-color: 1px solid @button_background;
border-bottom-color: transparent;
}
}
&.active >a{
color: #555;
cursor: default;
background-color: #fff;
border-color: transparent;
}
}
}
}

View file

@ -112,6 +112,7 @@ h6 {
h1 {
font-size: 1.4rem;
margin: 0 0 0.444em;
padding-top: 1em;
}
h2 {

View file

@ -0,0 +1,7 @@
#popupviewer{
> .controls > .content{
padding: 1.5rem 1rem 1rem;
}
}