diff options
Diffstat (limited to 'phpBB/styles/prosilver/theme/responsive.css')
-rw-r--r-- | phpBB/styles/prosilver/theme/responsive.css | 853 |
1 files changed, 419 insertions, 434 deletions
diff --git a/phpBB/styles/prosilver/theme/responsive.css b/phpBB/styles/prosilver/theme/responsive.css index 8653042a69..826972fdac 100644 --- a/phpBB/styles/prosilver/theme/responsive.css +++ b/phpBB/styles/prosilver/theme/responsive.css @@ -1,167 +1,110 @@ /* Responsive Design ---------------------------------------- */ -.responsive-hide { display: none !important; } -.responsive-show { display: block !important; } -.responsive-show-inline { display: inline !important; } -.responsive-show-inline-block { display: inline-block !important; } - -/* Content wrappers -----------------------------------------*/ -html { - height: auto; -} - -body { - padding: 0; -} - -#wrap { - border: none; - border-radius: 0; - margin: 0; - min-width: 290px; - padding: 0 5px; +@media (max-width: 320px) { + select, .inputbox { + max-width: 240px; + } } -/* Common block wrappers +/* Notifications list ----------------------------------------*/ -.headerbar, .navbar, .forabg, .forumbg, .post, .panel { - border-radius: 0; - margin-left: -5px; - margin-right: -5px; +@media (max-width: 350px) { + .dropdown-extended .dropdown-contents { + width: auto; + } } -#cp-main .forabg, #cp-main .forumdb, #cp-main .post, #cp-main .panel { - border-radius: 7px; -} +@media (max-width: 430px) { + .action-bar .search-box .inputbox { + width: 120px; + } -/* Logo block -----------------------------------------*/ -#site-description { - float: none; - width: auto; - text-align: center; -} + .section-viewtopic .search-box .inputbox { + width: 57px; + } -.logo { - /* change display value to inline-block to show logo */ - display: none; - float: none; - padding: 10px; -} + .action-bar .search-box .inputbox ::-moz-placeholder { + content: "Search..."; + } -#site-description h1, #site-description p { - text-align: inherit; - float: none; - margin: 5px; - line-height: 1.2em; - overflow: hidden; - text-overflow: ellipsis; -} + .action-bar .search-box .inputbox :-ms-input-placeholder { + content: "Search..."; + } -#site-description p, .search-header { - display: none; + .action-bar .search-box .inputbox ::-webkit-input-placeholder { + content: "Search..."; + } } -/* Navigation -----------------------------------------*/ -.headerbar + .navbar { - margin-top: -5px; -} +@media (max-width: 500px) { + dd label { + white-space: normal; + } -/* Search -----------------------------------------*/ -.responsive-search { display: block !important; } -.responsive-search a { - display: block; - width: 16px; - height: 22px; - text-indent: 99px; - overflow: hidden; - background-position: 50% 50%; - background-repeat: no-repeat; - text-decoration: none; -} + select, .inputbox { + max-width: 260px; + } -/* .topiclist lists -----------------------------------------*/ -li.header dt { - text-align: center; - text-transform: none; - line-height: 1em; - font-size: 1.2em; - padding-bottom: 4px; -} + .captcha-panel dd.captcha { + margin-left: 0; + } -ul.topiclist li.header dt, ul.topiclist li.header dt .list-inner { - margin-right: 0 !important; - padding-right: 0; -} + .captcha-panel dd.captcha-image img { + width: 100%; + } -ul.topiclist li.header dd { - display: none !important; -} + dl.details dt, dl.details dd { + width: auto; + float: none; + text-align: left; + } -ul.topiclist dt, ul.topiclist dt .list-inner, -ul.topiclist.missing-column dt, ul.topiclist.missing-column dt .list-inner, -ul.topiclist.two-long-columns dt, ul.topiclist.two-long-columns dt .list-inner, -ul.topiclist.two-columns dt, ul.topiclist.two-columns dt .list-inner { - margin-right: 0; -} + dl.details dd { + margin-left: 20px; + } -ul.topiclist dt .list-inner.with-mark { - padding-right: 34px; -} + p.responsive-center { + float: none; + text-align: center; + margin-bottom: 5px; + } -ul.topiclist dt .list-inner { - min-height: 28px; -} + .action-bar > div { + margin-bottom: 5px; + } -ul.topiclist li.header dt .list-inner { - min-height: 0; -} + .action-bar > .pagination { + float: none; + clear: both; + padding-bottom: 1px; + text-align: center; + } -ul.topiclist dd { - display: none; -} -ul.topiclist dd.mark { - display: block; -} + .action-bar > .pagination li.page-jump { + margin: 0 2px; + } -/* Forums and topics lists -----------------------------------------*/ -ul.topiclist.forums dt { - margin-right: -250px; -} -ul.topiclist.forums dt .list-inner { - margin-right: 250px; -} + p.jumpbox-return { + display: none; + } -ul.topiclist.forums dd.lastpost { - display: block; -} + .display-options > label:nth-child(1) { + display: block; + margin-bottom: 5px; + } -ul.topiclist dd.mark { - display: block; - position: absolute; - right: 5px; - top: 0; - margin: 0; - width: auto; - min-width: 0; - text-align: left; -} + .attach-controls { + margin-top: 5px; + width: 100%; + } -ul.topiclist.forums dd.topics dfn, ul.topiclist.topics dd.posts dfn { - position: relative; - left: 0; - width: auto; - display: inline; - font-weight: normal; + .quick-links .dropdown-trigger span { + display: none; + } } -@media only screen and (max-width: 550px), only screen and (max-device-width: 550px) { +@media (max-width: 550px) { ul.topiclist.forums dt { margin-right: 0; } @@ -175,400 +118,442 @@ ul.topiclist.forums dd.topics dfn, ul.topiclist.topics dd.posts dfn { } } -li.row .responsive-show strong { - font-weight: bold; - color: inherit; -} +@media (max-width: 700px) { + .responsive-hide { display: none !important; } + .responsive-show { display: block !important; } + .responsive-show-inline { display: inline !important; } + .responsive-show-inline-block { display: inline-block !important; } -ul.topiclist li.row dt a.subforum { - display: inline-block; - vertical-align: bottom; - overflow: hidden; - text-overflow: ellipsis; - max-width: 100px; -} + /* Content wrappers + ----------------------------------------*/ + html { + height: auto; + } -/* Notifications list -----------------------------------------*/ -@media only screen and (max-width: 350px), only screen and (max-device-width: 350px) { - .dropdown-extended .dropdown-contents { - width: auto; + body { + padding: 0; } -} -/* Pagination -----------------------------------------*/ -.pagination > ul { - margin: 5px 0 0; -} + .wrap { + border: none; + border-radius: 0; + margin: 0; + min-width: 290px; + padding: 0 5px; + } -.row .pagination .ellipsis + li { - display: none !important; -} + /* Common block wrappers + ----------------------------------------*/ + .headerbar, .navbar, .forabg, .forumbg, .post, .panel { + border-radius: 0; + margin-left: -5px; + margin-right: -5px; + } -/* Responsive tables -----------------------------------------*/ -table.responsive, table.responsive tbody, table.responsive tr, table.responsive td { - display: block; -} + .cp-main .forabg, .cp-main .forumdb, .cp-main .post, .cp-main .panel { + border-radius: 7px; + } -table.responsive thead, table.responsive th { - display: none; -} + /* Logo block + ----------------------------------------*/ + .site-description { + float: none; + width: auto; + text-align: center; + } -table.responsive.show-header thead, table.responsive.show-header th:first-child { - display: block; - width: auto !important; - text-align: left !important; -} + .logo { + /* change display value to inline-block to show logo */ + display: none; + float: none; + padding: 10px; + } -table.responsive.show-header th:first-child span.rank-img { - display: none; -} + .site-description h1, .site-description p { + text-align: inherit; + float: none; + margin: 5px; + line-height: 1.2em; + overflow: hidden; + text-overflow: ellipsis; + } -table.responsive tr { - margin: 2px 0; -} + .site-description p, .search-header { + display: none; + } -table.responsive td { - width: auto !important; - text-align: left !important; - padding: 4px; -} + /* Navigation + ----------------------------------------*/ + .headerbar + .navbar { + margin-top: -5px; + } -table.responsive td.empty { - display: none !important; -} + /* Search + ----------------------------------------*/ + .responsive-search { display: block !important; } -table.responsive td > dfn { - display: inline-block !important; -} + /* .topiclist lists + ----------------------------------------*/ + li.header dt { + text-align: center; + text-transform: none; + line-height: 1em; + font-size: 1.2em; + padding-bottom: 4px; + } -table.responsive td > dfn:after { - content: ':'; - padding-right: 5px; -} + ul.topiclist li.header dt, ul.topiclist li.header dt .list-inner { + margin-right: 0 !important; + padding-right: 0; + } -table.responsive span.rank-img { - float: none; - padding-right: 5px; -} + ul.topiclist li.header dd { + display: none !important; + } -table.responsive#memberlist td:first-child input[type="checkbox"] { - float: right; -} + ul.topiclist dt, ul.topiclist dt .list-inner, + ul.topiclist.missing-column dt, ul.topiclist.missing-column dt .list-inner, + ul.topiclist.two-long-columns dt, ul.topiclist.two-long-columns dt .list-inner, + ul.topiclist.two-columns dt, ul.topiclist.two-columns dt .list-inner { + margin-right: 0; + } -/* Forms -----------------------------------------*/ -fieldset dt, fieldset.fields1 dt, fieldset.fields2 dt { - width: auto; - float: none; -} + ul.topiclist dt .list-inner.with-mark { + padding-right: 34px; + } -fieldset dd, fieldset.fields1 dd, fieldset.fields2 dd { - margin-left: 20px; -} + ul.topiclist dt .list-inner { + min-height: 28px; + } -textarea, dd textarea, #message-box textarea { - width: 100%; - -moz-box-sizing: border-box; - box-sizing: border-box; -} + ul.topiclist li.header dt .list-inner { + min-height: 0; + } -dl.pmlist dt { - width: auto !important; - margin-bottom: 5px; -} + ul.topiclist dd { + display: none; + } + ul.topiclist dd.mark { + display: block; + } -dl.pmlist dd { - display: inline-block; - margin-left: 0 !important; -} + /* Forums and topics lists + ----------------------------------------*/ + ul.topiclist.forums dt { + margin-right: -250px; + } -dl.pmlist dd:first-of-type { - padding-left: 20px; -} + ul.topiclist dd.mark { + display: block; + position: absolute; + right: 5px; + top: 0; + margin: 0; + width: auto; + min-width: 0; + text-align: left; + } -#smiley-box, #message-box { - float: none; - width: auto; -} + ul.topiclist.forums dd.topics dfn, ul.topiclist.topics dd.posts dfn { + position: relative; + left: 0; + width: auto; + display: inline; + font-weight: normal; + } -#smiley-box { - margin-top: 5px; -} + li.row .responsive-show strong { + font-weight: bold; + color: inherit; + } -.bbcode-status { - display: none; -} + ul.topiclist li.row dt a.subforum { + vertical-align: bottom; + overflow: hidden; + text-overflow: ellipsis; + max-width: 100px; + } -.colour-palette, .colour-palette tbody, .colour-palette tr { - display: block; -} + /* Pagination + ----------------------------------------*/ + .pagination > ul { + margin: 5px 0 0; + } -.colour-palette td { - display: inline-block; - margin-right: 2px; -} + .row .pagination .ellipsis + li { + display: none !important; + } -.horizontal-palette td:nth-child(2n), .vertical-palette tr:nth-child(2n) { - display: none; -} + /* Responsive tables + ----------------------------------------*/ + table.responsive, table.responsive tbody, table.responsive tr, table.responsive td { + display: block; + } -.colour-palette a { - display: inline-block !important; -} + table.responsive thead, table.responsive th { + display: none; + } -fieldset.quick-login label { - display: block; - margin-bottom: 5px; - white-space: normal; -} + table.responsive.show-header thead, table.responsive.show-header th:first-child { + display: block; + width: auto !important; + text-align: left !important; + } -fieldset.quick-login label > span { - display: inline-block; - min-width: 100px; -} + table.responsive.show-header th:first-child span.rank-img { + display: none; + } -fieldset.quick-login input.inputbox { - width: 85%; - max-width: 300px; - margin-left: 20px; -} + table.responsive tr { + margin: 2px 0; + } -fieldset.quick-login label[for="autologin"] { - display: inline-block; - text-align: right; - min-width: 50%; -} + table.responsive td { + width: auto !important; + text-align: left !important; + padding: 4px; + } -@media only screen and (max-width: 500px), only screen and (max-device-width: 500px) { - dd label { - white-space: normal; + table.responsive td.empty { + display: none !important; } - select, .inputbox { - max-width: 260px; + table.responsive td > dfn { + display: inline-block !important; } - .captcha-panel dd.captcha { - margin-left: 0; + table.responsive td > dfn:after { + content: ':'; + padding-right: 5px; } - .captcha-panel dd.captcha-image img { - width: 100%; + table.responsive span.rank-img { + float: none; + padding-right: 5px; } - #recaptcha_challenge_image, - #recaptcha_response_field, - .recaptchatable #recaptcha_image { - width: 100% !important; - height: auto !important; + table.responsive.memberlist td:first-child input[type="checkbox"] { + float: right; } - .recaptchatable tr td:last-child { - display: none; + /* Forms + ----------------------------------------*/ + fieldset dt, fieldset.fields1 dt, fieldset.fields2 dt { + width: auto; + float: none; } - .captcha-panel .recaptcha-responsive { - display: inline-block !important; - margin-top: 10px; - vertical-align: middle; + fieldset dd, fieldset.fields1 dd, fieldset.fields2 dd { + margin-left: 20px; } -} -@media only screen and (max-width: 430px), only screen and (max-device-width: 430px) { - .section-viewtopic .search-box .inputbox { - width: 110px; + textarea, dd textarea, .message-box textarea { + width: 100%; + -moz-box-sizing: border-box; + box-sizing: border-box; } -} -@media only screen and (max-width: 320px), only screen and (max-device-width: 320px) { - select, .inputbox { - max-width: 240px; + dl.pmlist dt { + width: auto !important; + margin-bottom: 5px; } -} -/* User profile -----------------------------------------*/ -.column1, .column2, .left-box.profile-details { - float: none; - width: auto; -} + dl.pmlist dd { + display: inline-block; + margin-left: 0 !important; + } -@media only screen and (max-width: 500px), only screen and (max-device-width: 500px) { - dl.details dt, dl.details dd { - width: auto; + dl.pmlist dd:first-of-type { + padding-left: 20px; + } + + .smiley-box, .message-box { float: none; - text-align: left; + width: auto; } - dl.details dd { - margin-left: 20px; + .smiley-box { + margin-top: 5px; } -} -/* Polls -----------------------------------------*/ -fieldset.polls dt { - width: 90%; -} + .bbcode-status { + display: none; + } -fieldset.polls dd.resultbar { - padding-left: 20px; -} + .colour-palette, .colour-palette tbody, .colour-palette tr { + display: block; + } -fieldset.polls dd.poll_option_percent { - width: 20%; -} + .colour-palette td { + display: inline-block; + margin-right: 2px; + } -fieldset.polls dd.resultbar, fieldset.polls dd.poll_option_percent { - margin-top: 5px; -} + .horizontal-palette td:nth-child(2n), .vertical-palette tr:nth-child(2n) { + display: none; + } -/* Post -----------------------------------------*/ -.postbody { - position: inherit; -} + fieldset.quick-login label { + display: block; + margin-bottom: 5px; + white-space: normal; + } -.postprofile, .postbody, .search .postbody { - display: block; - width: auto; - float: none; - padding: 0; - min-height: 0; -} + fieldset.quick-login label > span { + display: inline-block; + min-width: 100px; + } -.post .postprofile { - width: auto; - border-width: 0 0 1px 0; - padding-bottom: 5px; - margin: 0; - margin-bottom: 5px; - min-height: 40px; - overflow: hidden; -} + fieldset.quick-login input.inputbox { + width: 85%; + max-width: 300px; + margin-left: 20px; + } -.postprofile dd { - display: none; -} + fieldset.quick-login label[for="autologin"] { + display: inline-block; + text-align: right; + min-width: 50%; + } -.postprofile dt, .postprofile dd.profile-rank, .search .postprofile dd { - display: block; - margin: 0; -} + /* User profile + ----------------------------------------*/ + .column1, .column2, .left-box.profile-details { + float: none; + width: auto; + } -.postprofile .has-avatar .avatar-container { - margin: 0; - overflow: inherit; -} + /* Polls + ----------------------------------------*/ + fieldset.polls dt { + width: 90%; + } -.postprofile .avatar-container:after { - clear: none; -} + fieldset.polls dd.resultbar { + padding-left: 20px; + } -.postprofile .avatar { - margin-right: 5px; -} + fieldset.polls dd.poll_option_percent { + width: 20%; + } -.postprofile .avatar img { - width: auto !important; - height: auto !important; - max-height: 32px; -} + fieldset.polls dd.resultbar, fieldset.polls dd.poll_option_percent { + margin-top: 5px; + } -.has-profile .postbody h3 { - margin-left: 0 !important; - margin-right: 0 !important; -} + /* Post + ----------------------------------------*/ + .postbody { + position: inherit; + } -.has-profile .post-buttons { - right: 20px; - top: 15px; -} + .postprofile, .postbody, .search .postbody { + display: block; + width: auto; + float: none; + padding: 0; + min-height: 0; + } -.online { - background-size: 40px; -} + .post .postprofile { + width: auto; + border-width: 0 0 1px 0; + padding-bottom: 5px; + margin: 0; + margin-bottom: 5px; + min-height: 40px; + overflow: hidden; + } -/* Misc stuff -----------------------------------------*/ -h2 { - margin-top: .5em; -} + .postprofile dd { + display: none; + } -p { - margin-bottom: .5em; - overflow: hidden; -} + .postprofile dt, .postprofile dd.profile-rank, .search .postprofile dd { + display: block; + margin: 0; + } -p.rightside { - margin-bottom: 0; -} + .postprofile .has-avatar .avatar-container { + margin: 0; + overflow: inherit; + } -fieldset.display-options label { - display: block; - clear: both; - margin-bottom: 5px; -} + .postprofile .avatar-container:after { + clear: none; + } -dl.mini dd.pm-legend { - float: left; - min-width: 200px; -} + .postprofile .avatar { + margin-right: 5px; + } -#topicreview { - margin: 0 -5px; - padding: 0 5px; -} + .postprofile .avatar img { + width: auto !important; + height: auto !important; + max-height: 32px; + } -fieldset.display-actions { - white-space: normal; -} + .has-profile .postbody h3 { + margin-left: 0 !important; + margin-right: 0 !important; + } -.phpbb_alert { - width: auto; - margin: 0 5px; -} + .has-profile .post-buttons { + right: 30px; + top: 15px; + } -.attach-comment dfn { - width: 100%; -} + .online { + background-size: 40px; + } -@media only screen and (max-width: 500px), only screen and (max-device-width: 500px) { - p.responsive-center { - float: none; - text-align: center; - margin-bottom: 5px; + /* Misc stuff + ----------------------------------------*/ + h2 { + margin-top: .5em; } - .action-bar > div { - margin-bottom: 5px; - } + p { + margin-bottom: .5em; + overflow: hidden; + } - .action-bar > .pagination { - float: none; + p.rightside { + margin-bottom: 0; + } + + fieldset.display-options label { + display: block; clear: both; - padding-bottom: 1px; - text-align: center; + margin-bottom: 5px; } - .action-bar > .pagination li.page-jump { - margin: 0 2px; + dl.mini dd.pm-legend { + float: left; + min-width: 200px; } - p.jumpbox-return { - display: none; + .topicreview { + margin: 0 -5px; + padding: 0 5px; } - .display-options > label:nth-child(1) { - display: block; - margin-bottom: 5px; + fieldset.display-actions { + white-space: normal; } - .attach-controls { - margin-top: 5px; + .phpbb_alert { + width: auto; + margin: 0 5px; + } + + .attach-comment dfn { width: 100%; } } + +@media (max-width: 850px) { + .postprofile { width: 28%; } + .postbody { width: 70%; } +} + |