positionierung
This commit is contained in:
parent
9281ecfa76
commit
909a97a095
1 changed files with 54 additions and 36 deletions
|
@ -1,18 +1,25 @@
|
||||||
#meta-box {
|
#meta-box {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
display: inline-block;
|
|
||||||
min-height: 1.95rem;
|
|
||||||
max-width: 40%;
|
|
||||||
float: right;
|
float: right;
|
||||||
|
display: inline-block;
|
||||||
|
max-width: 40%;
|
||||||
|
margin-top: 2px;
|
||||||
|
|
||||||
|
@media @screen_max-md {
|
||||||
|
position: relative;
|
||||||
|
top: -.5rem;
|
||||||
|
right: auto;
|
||||||
|
float: none;
|
||||||
|
display: block;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.tab-container {
|
.tab-container {
|
||||||
display: table;
|
|
||||||
@media @screen_max-md{
|
@media @screen_max-md{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-content {
|
.box-content {
|
||||||
|
@ -23,13 +30,15 @@
|
||||||
|
|
||||||
ul.meta-tabs {
|
ul.meta-tabs {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
background-color: @background_page-header;
|
line-height: 160%;
|
||||||
@media @screen_max-md{
|
white-space: nowrap;
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
|
@media @screen_max-md {
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
&::before,
|
&::before,
|
||||||
&::after {
|
&::after {
|
||||||
display: table;
|
display: table;
|
||||||
|
@ -62,11 +71,16 @@
|
||||||
padding: .3em 1rem .1em;
|
padding: .3em 1rem .1em;
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
transition: @transition color, @transition background-color, @transition border-color;
|
transition: @transition color, @transition background-color, @transition border-color;
|
||||||
@media @screen_max-xs{
|
|
||||||
padding: .3em .3rem .1em;
|
@media @screen_max-md{
|
||||||
|
padding: .2em .3rem .1em;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media @screen_max-xs {
|
||||||
|
min-height: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
@ -102,6 +116,10 @@
|
||||||
border-color: @color-link;
|
border-color: @color-link;
|
||||||
border-bottom-color: @color-content-bg;
|
border-bottom-color: @color-content-bg;
|
||||||
color: @color-link;
|
color: @color-link;
|
||||||
|
|
||||||
|
@media @screen_max-md {
|
||||||
|
top: -1px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -110,23 +128,30 @@
|
||||||
.meta-content {
|
.meta-content {
|
||||||
.tab-pane {
|
.tab-pane {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
|
||||||
display: none;
|
display: none;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: @color-content-bg;
|
background-color: @color-content-bg;
|
||||||
border: 1px solid @color-link;
|
border: 1px solid @color-link;
|
||||||
border-top-color: transparent;
|
|
||||||
border-radius: 0 0 @fix_border-radius @fix_border-radius;
|
border-radius: 0 0 @fix_border-radius @fix_border-radius;
|
||||||
|
|
||||||
&::before {
|
@media @screen_min-xxlg {
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
top: -1px;
|
top: -1px;
|
||||||
left: 0;
|
}
|
||||||
z-index: 0;
|
|
||||||
width: 100%;
|
@media @screen_max-xxlg {
|
||||||
height: 1px;
|
top: 0;
|
||||||
background-color: @color-link;
|
}
|
||||||
|
|
||||||
|
@media @screen_max-xlg {
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media @screen_max-lg {
|
||||||
|
top: -1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media @screen_max-md {
|
||||||
|
top: -2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
|
@ -183,16 +208,13 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
|
||||||
}
|
|
||||||
|
|
||||||
div.li {
|
div.li {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: .15em 0;
|
padding: .15em 0;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: .3em;
|
top: .6em;
|
||||||
content: "";
|
content: "";
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 4px;
|
width: 4px;
|
||||||
|
@ -216,22 +238,18 @@
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media @screen_max-md{
|
@media @screen_max-md {
|
||||||
max-width: 100%;
|
.tab-container {
|
||||||
float: none;
|
|
||||||
display: block;
|
|
||||||
top: -1.1rem;
|
|
||||||
position: relative;
|
|
||||||
right: auto;
|
|
||||||
.tab-container{
|
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
ul.meta-tabs{
|
|
||||||
> li > a{
|
ul.meta-tabs {
|
||||||
|
> li > a {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.meta-content{
|
|
||||||
|
.meta-content {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue