From e666d69d4800114a531ce6915164e7339f276806 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 12 Sep 2013 10:35:08 +0000 Subject: [PATCH] refactor(css) mv .panel, #right to max-width:1155px --- css/style.css | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/css/style.css b/css/style.css index 84d43f8b..7ed739cc 100644 --- a/css/style.css +++ b/css/style.css @@ -251,13 +251,6 @@ a:hover, a:active { */ /* responsive design */ @media only screen and (max-width: 600px) { - .panel { - width:94%; - } - /* если правая панель не помещаеться - прячем её */ - #right { - display:none; - } /* текущий файл под курсором */ .current-file { background-color: rgb(49, 123, 249); @@ -348,19 +341,18 @@ a:hover, a:active { } } @media only screen and (min-width: 601px) and (max-width: 785px) { - .panel { - width:94%; - } - #right { - display:none; - } - .cmd-button { width: 15%; } } @media only screen and (min-width:786px) and (max-width: 1155px) { + .cmd-button { + width: 10%; + } +} + +@media only screen and (max-width: 1155px) { .panel { width:94%; } @@ -368,8 +360,4 @@ a:hover, a:active { #right { display:none; } - - .cmd-button { - width: 10%; - } -} \ No newline at end of file +}