mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/11956] Move responsive *CP navigation
Move responsive *CP navigation to cp.css because layout has to change at width higher than 700px PHPBB3-11956
This commit is contained in:
parent
9b78966211
commit
5c51378186
2 changed files with 38 additions and 35 deletions
|
@ -417,3 +417,41 @@ ol.def-rules li {
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Responsive *CP navigation
|
||||||
|
----------------------------------------*/
|
||||||
|
@media only screen and (max-width: 900px), only screen and (max-device-width: 900px)
|
||||||
|
{
|
||||||
|
.nojs #tabs a span, .nojs #minitabs a span {
|
||||||
|
max-width: 40px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
letter-spacing: -.5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#cp-menu, #navigation, #cp-main {
|
||||||
|
float: none;
|
||||||
|
width: auto;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#navigation {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0 auto;
|
||||||
|
max-width: 320px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#navigation a {
|
||||||
|
background-image: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#navigation li:first-child a {
|
||||||
|
border-top-left-radius: 5px;
|
||||||
|
border-top-right-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#navigation li:last-child a {
|
||||||
|
border-bottom-left-radius: 5px;
|
||||||
|
border-bottom-right-radius: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -211,41 +211,6 @@ ul.topiclist.forums dd.topics dfn, ul.topiclist.topics dd.posts dfn {
|
||||||
margin: 5px 0;
|
margin: 5px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* *CP navigation
|
|
||||||
----------------------------------------*/
|
|
||||||
.nojs #tabs a span, .nojs #minitabs a span {
|
|
||||||
max-width: 40px;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
letter-spacing: -.5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#cp-menu, #navigation, #cp-main {
|
|
||||||
float: none;
|
|
||||||
width: auto;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#navigation {
|
|
||||||
padding: 0;
|
|
||||||
margin: 0 auto;
|
|
||||||
max-width: 320px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#navigation a {
|
|
||||||
background-image: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#navigation li:first-child a {
|
|
||||||
border-top-left-radius: 5px;
|
|
||||||
border-top-right-radius: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#navigation li:last-child a {
|
|
||||||
border-bottom-left-radius: 5px;
|
|
||||||
border-bottom-right-radius: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Responsive tables
|
/* Responsive tables
|
||||||
----------------------------------------*/
|
----------------------------------------*/
|
||||||
table.responsive, table.responsive tbody, table.responsive tr, table.responsive td {
|
table.responsive, table.responsive tbody, table.responsive tr, table.responsive td {
|
||||||
|
|
Loading…
Add table
Reference in a new issue