SPR-908: meta-box - border-radius in mobile

This commit is contained in:
Silke Pisulla 2017-03-22 14:10:37 +01:00
commit abe8713796

View file

@ -7,13 +7,13 @@
z-index: 10; z-index: 10;
float: right; float: right;
max-width: 40%; max-width: 40%;
border: 1px solid transparent;
margin-top: -(@page_padding-top); // reverse padding-top of .page container margin-top: -(@page_padding-top); // reverse padding-top of .page container
margin-right: -1px; margin-right: -1px;
// >= 1024 // >= 1024
@media @screen_min-md { @media @screen_min-md {
height: @page-header_height; height: @page-header_height;
border: 1px solid transparent;
} }
// < 1024 // < 1024
@ -32,6 +32,7 @@
@media @screen_max-sm { @media @screen_max-sm {
position: relative; position: relative;
top: .2rem; top: .2rem;
border: 0 none;
} }
.tab-container { .tab-container {
@ -89,7 +90,7 @@
} }
@media @screen_max-sm { @media @screen_max-sm {
margin-right: .3rem; margin-right: .4rem;
margin-bottom: .2rem; margin-bottom: .2rem;
} }
@ -163,7 +164,6 @@
@media @screen_max-sm { @media @screen_max-sm {
background-color: @color-link; background-color: @color-link;
border-bottom-color: @color-link; border-bottom-color: @color-link;
border-radius: 0;
color: @color-content-bg; color: @color-content-bg;
} }
} }
@ -194,12 +194,15 @@
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-radius: 0 0 @fix_border-radius @fix_border-radius;
@media @screen_min-xs { @media @screen_min-xs {
min-width: 20em; min-width: 20em;
} }
@media @screen_min-sm {
border-radius: 0 0 @fix_border-radius @fix_border-radius;
}
&.active { &.active {
display: block; display: block;
overflow: hidden; overflow: hidden;