aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles
diff options
context:
space:
mode:
authorVjacheslav Trushkin <cyberalien@gmail.com>2013-10-21 21:28:32 +0300
committerVjacheslav Trushkin <cyberalien@gmail.com>2013-10-24 18:36:16 +0300
commit5c5137818607777367f6d9a970f668c0c6d061e7 (patch)
tree24c887bc6efa5fa20734230b42b25e5527f1b7cd /phpBB/styles
parent9b789662119c2893385801f5c746bedbed52c882 (diff)
downloadforums-5c5137818607777367f6d9a970f668c0c6d061e7.tar
forums-5c5137818607777367f6d9a970f668c0c6d061e7.tar.gz
forums-5c5137818607777367f6d9a970f668c0c6d061e7.tar.bz2
forums-5c5137818607777367f6d9a970f668c0c6d061e7.tar.xz
forums-5c5137818607777367f6d9a970f668c0c6d061e7.zip
[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
Diffstat (limited to 'phpBB/styles')
-rw-r--r--phpBB/styles/prosilver/theme/cp.css38
-rw-r--r--phpBB/styles/prosilver/theme/responsive.css35
2 files changed, 38 insertions, 35 deletions
diff --git a/phpBB/styles/prosilver/theme/cp.css b/phpBB/styles/prosilver/theme/cp.css
index e0863f7458..f6bb1d0623 100644
--- a/phpBB/styles/prosilver/theme/cp.css
+++ b/phpBB/styles/prosilver/theme/cp.css
@@ -417,3 +417,41 @@ ol.def-rules li {
border: 1px solid transparent;
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;
+ }
+}
diff --git a/phpBB/styles/prosilver/theme/responsive.css b/phpBB/styles/prosilver/theme/responsive.css
index fc24cd7ed2..83233bf6aa 100644
--- a/phpBB/styles/prosilver/theme/responsive.css
+++ b/phpBB/styles/prosilver/theme/responsive.css
@@ -211,41 +211,6 @@ ul.topiclist.forums dd.topics dfn, ul.topiclist.topics dd.posts dfn {
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
----------------------------------------*/
table.responsive, table.responsive tbody, table.responsive tr, table.responsive td {