diff options
Diffstat (limited to 'phpBB/styles/prosilver/theme/common.css')
-rw-r--r-- | phpBB/styles/prosilver/theme/common.css | 319 |
1 files changed, 134 insertions, 185 deletions
diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css index 5dd5ecdb28..e5a147f034 100644 --- a/phpBB/styles/prosilver/theme/common.css +++ b/phpBB/styles/prosilver/theme/common.css @@ -1,52 +1,3 @@ -/* CSS Reset http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 ----------------------------------------- */ -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; -} -/* HTML5 display-role reset for older browsers */ -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; -} -body { - line-height: 1; -} -ol, ul { - list-style: none; -} -blockquote, q { - quotes: none; -} -blockquote:before, blockquote:after, -q:before, q:after { - content: ''; - content: none; -} -table { - border-collapse: collapse; - border-spacing: 0; -} -abbr { - text-decoration: none; -} - /* General Markup Styles ---------------------------------------- */ html { @@ -172,10 +123,11 @@ ol ol ul, ol ul ul, ul ol ul, ul ul ul { list-style-type: square; } +a:hover { text-decoration: underline; } /* Main blocks ---------------------------------------- */ -#wrap { +.wrap { border: 1px solid transparent; border-radius: 8px; margin: 0 auto; @@ -185,21 +137,21 @@ ol ol ul, ol ul ul, ul ol ul, ul ul ul { } @media only screen and (max-width: 1220px), only screen and (max-device-width: 1220px) { - #wrap { + .wrap { margin: 0 12px; } } -#page-body { +.page-body { margin: 4px 0; clear: both; } -#page-footer { +.page-footer { clear: both; } -#page-footer h3 { +.page-footer h3 { margin-top: 20px; } @@ -213,20 +165,25 @@ ol ol ul, ol ul ul, ul ol ul, ul ul ul { text-decoration: none; } +.site_logo { + display: inline-block; + width: 149px; + height: 52px; +} + /* Site description and logo */ -#site-description { +.site-description { float: left; width: 65%; } -#site-description h1 { +.site-description h1 { margin-right: 0; } /* Round cornered boxes and backgrounds ---------------------------------------- */ .headerbar { - background: transparent none repeat-x 0 0; margin-bottom: 4px; padding: 5px; border-radius: 7px; @@ -238,7 +195,6 @@ ol ol ul, ol ul ul, ul ol ul, ul ul ul { } .forabg { - background: transparent none repeat-x 0 0; margin-bottom: 4px; padding: 5px; clear: both; @@ -246,7 +202,6 @@ ol ol ul, ol ul ul, ul ol ul, ul ul ul { } .forumbg { - background: transparent none repeat-x 0 0; margin-bottom: 4px; padding: 5px; clear: both; @@ -276,6 +231,7 @@ ol ol ul, ol ul ul, ul ol ul, ul ul ul { ----------------------------------------*/ .navbar ul.linklist { padding: 2px 0; + list-style-type: none; } ul.linklist { @@ -283,7 +239,7 @@ ul.linklist { margin: 0; } -#cp-main .panel { +.cp-main .panel { padding: 5px 10px; } @@ -327,27 +283,6 @@ ul.linklist li.responsive-menu { margin: 0 5px; } -ul.linklist li.responsive-menu a.responsive-menu-link { - display: inline-block; - margin: 0 5px; - font-size: 1.455em; - position: relative; - width: 16px; - line-height: 1.2em; - text-decoration: none; -} - -ul.linklist li.responsive-menu a.responsive-menu-link:before { - content: ''; - position: absolute; - left: 0; - top: 7px; - height: .125em; - width: 14px; - border-bottom: 0.125em solid transparent; - border-top: 0.375em double transparent; -} - .hasjs ul.linklist.leftside, .hasjs ul.linklist.rightside { max-width: 48%; } @@ -414,12 +349,12 @@ ul.linklist.bulletin > li.no-bulletin:before { } .header-avatar span:after { - content: '\25BC'; + content: '\f0dd'; display: inline-block; - font-size: 9px; - float: right; - padding-left: 2px; - opacity: 0.7; + font: normal normal normal 14px/1 FontAwesome; + padding-left: 6px; + padding-top: 2px; + vertical-align: top; } /* Dropdown menu @@ -441,6 +376,7 @@ ul.linklist.bulletin > li.no-bulletin:before { } .dropdown { + display: none; position: absolute; left: 0; top: 1.2em; @@ -501,12 +437,12 @@ ul.linklist.bulletin > li.no-bulletin:before { .dropdown .pointer { right: auto; left: 10px; - top: 0; + top: -1px; z-index: 3; } .dropdown-up .pointer { - bottom: 0; + bottom: -1px; top: auto; } @@ -534,22 +470,72 @@ ul.linklist.bulletin > li.no-bulletin:before { border-radius: 5px; padding: 5px; position: relative; - min-width: 40px; max-height: 300px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; +} + +.dropdown-contents a { + display: block; + padding: 5px; +} + +.jumpbox { + margin: 5px 0; +} + +.jumpbox .dropdown li { + border-top: 1px solid transparent; +} + +.jumpbox .dropdown-select { + margin: 0; +} + +.jumpbox .dropdown-contents { + padding: 0; + text-decoration: none; +} + +.jumpbox .dropdown-contents li { + padding: 0; +} + +.jumpbox .dropdown-contents a { + margin-right: 20px; + padding: 5px 10px; + text-decoration: none; + width: 100%; +} + +.jumpbox .spacer { + display: inline-block; + width: 0px; +} + +.jumpbox .spacer + .spacer { + width: 20px; +} + +.dropdown-contents a { + display: block; + padding: 5px; +} + +.jumpbox .dropdown-select { + margin: 0; +} + +.jumpbox .dropdown-contents a { + text-decoration: none; } .dropdown li { + display: list-item; border-top: 1px dotted transparent; float: none !important; line-height: normal !important; font-size: 1em !important; list-style: none; margin: 0; - padding-top: 4px; - padding-bottom: 4px; white-space: nowrap; text-align: left; } @@ -585,7 +571,6 @@ ul.linklist.bulletin > li.no-bulletin:before { .dropdown li.separator { border-top: 1px solid transparent; - margin: 4px 0; padding: 0; } @@ -612,7 +597,6 @@ ul.linklist.bulletin > li.no-bulletin:before { } .breadcrumbs .crumb a { - display: inline-block; white-space: nowrap; text-overflow: ellipsis; vertical-align: bottom; @@ -635,7 +619,7 @@ table.table1 { width: 100%; } -#ucp-main table.table1 { +.ucp-main table.table1 { padding: 2px; } @@ -707,7 +691,7 @@ table.info tbody th { margin: 0 -1px; } -#color_palette_placeholder table { +.color_palette_placeholder table { border-collapse: separate; border-spacing: 1px; } @@ -802,7 +786,7 @@ fieldset.fields1 dl.pmlist dd.recipients { /* Action-bars (container for post/reply buttons, pagination, etc.) ---------------------------------------- */ .action-bar { - font-size: 1.1em; + font-size: 11px; margin: 4px 0; } @@ -810,6 +794,15 @@ fieldset.fields1 dl.pmlist dd.recipients { margin-top: 2em; } +.action-bar .button { + margin-right: 5px; + float: left; +} + +.action-bar .button-search { + margin-right: 0; +} + /* Pagination ---------------------------------------- */ .pagination { @@ -819,10 +812,15 @@ fieldset.fields1 dl.pmlist dd.recipients { width: auto; } -.action-bar.bottom .pagination { +.action-bar.bar-bottom .pagination { margin-top: 0; } +.action-bar .pagination .button { + margin-right: 0; + float: none; +} + .pagination > ul { display: inline-block; list-style: none !important; @@ -838,16 +836,20 @@ fieldset.fields1 dl.pmlist dd.recipients { } .pagination li a, .pagination li span { - border: 1px solid transparent; border-radius: 2px; - display: block; - font-size: 0.9em; + padding: 2px 5px; +} + +.pagination li.active span { + display: inline-block; + font-size: 13px; font-weight: normal; - line-height: 1.4em; - min-width: 10px; - padding: 3px; + font-family: "Open Sans", "Droid Sans", Verdana, Arial, Helvetica; + line-height: 1.4; text-align: center; - text-decoration: none; + white-space: nowrap; + vertical-align: middle; + border: 1px solid transparent; } .pagination li.ellipsis span { @@ -859,37 +861,22 @@ fieldset.fields1 dl.pmlist dd.recipients { margin-right: 5px; } -.pagination li.page-jump a, .pagination li.next a, .pagination li.previous a { - background-repeat: no-repeat; - font-size: 0; - height: 13px; - width: 11px; -} - .pagination li.page-jump a { - background-position: 0 2px; - width: 24px; + padding: 0 8px; } -.pagination li.next a { - background-position: -50px 2px; +.pagination li.page-jump a i { + font-size: 21px; } -.pagination li.previous a { - background-position: -30px 2px; +.pagination .arrow a { + padding: 2px 0; } -.pagination li.page-jump a:hover, .pagination .dropdown-visible a.dropdown-trigger, .nojs .pagination .dropdown-container:hover a.dropdown-trigger { background-position: 0 -18px; } -.pagination li.next a:hover { background-position: -50px -18px; } -.pagination li.previous a:hover { background-position: -30px -18px; } - /* Pagination in viewforum for multipage topics */ .row .pagination { display: block; margin-top: 0; - padding: 1px 0 1px 15px; - font-size: 0.9em; - background: none 0 50% no-repeat; } .row .pagination > ul { @@ -897,8 +884,9 @@ fieldset.fields1 dl.pmlist dd.recipients { } .row .pagination li a, .row .pagination li span { - border-radius: 1px; - padding: 1px; + border-radius: 2px; + padding: 1px 3px; + font-size: 9px; } /* jQuery popups @@ -924,18 +912,9 @@ fieldset.fields1 dl.pmlist dd.recipients { } .phpbb_alert .alert_close { - display: block; float: right; - width: 16px; - height: 16px; - overflow: hidden; - text-decoration: none !important; - background: transparent none 0 0 no-repeat; - margin-top: -7px; - margin-right: -31px; -} -.phpbb_alert .alert_close:hover { - background-position: 0 -16px; + margin-right: -36px; + margin-top: -8px; } .phpbb_alert p { @@ -957,13 +936,13 @@ fieldset.fields1 dl.pmlist dd.recipients { font-size: 1.1em; } -#darkenwrapper { +.darkenwrapper { display: none; position: relative; z-index: 44; } -#darken { +.darken { position: fixed; left: 0; top: 0; @@ -973,7 +952,7 @@ fieldset.fields1 dl.pmlist dd.recipients { z-index: 45; } -#loading_indicator { +.loading_indicator { background: center center no-repeat; border-radius: 5px; display: none; @@ -990,15 +969,6 @@ fieldset.fields1 dl.pmlist dd.recipients { /* Miscellaneous styles ---------------------------------------- */ -#forum-permissions { - float: right; - width: auto; - padding-left: 5px; - margin-left: 5px; - margin-top: 10px; - text-align: right; -} - .copyright { padding: 5px; text-align: center; @@ -1056,15 +1026,12 @@ form > p.post-notice strong { line-height: 20px; } -#jumpbox { - margin: 5px 0; -} - .stat-block { clear: both; } -#top { +.top-anchor { + display: block; position: absolute; top: -20px; } @@ -1083,18 +1050,14 @@ ul.linklist:after, .action-bar:after, .notification_text:after, .tabs-container:after, -#tabs > ul:after, -#minitabs > ul:after, +.tabs > ul:after, +.minitabs > ul:after, .postprofile .avatar-container:after { clear: both; content: ''; display: block; } -.hidden { - display: none; -} - .smilies { vertical-align: text-bottom; } @@ -1173,6 +1136,11 @@ ul.linklist:after, text-transform: none; } +.dropdown-extended .header .header_settings a { + display: inline-block; + padding: 0 5px; +} + .dropdown-extended .header:after { content: ''; display: table; @@ -1254,34 +1222,15 @@ ul.linklist:after, /* Navbar specific list items ----------------------------------------*/ -#quick-links { +.linklist .quick-links { margin: 0 7px 0 0; } -#quick-links a.responsive-menu-link { - display: block; - font-size: inherit; - line-height: inherit; - margin: 0; - width: auto; -} - -#quick-links a.responsive-menu-link:before { - font-size: 1.455em; - line-height: 16.5px; -} - -.compact #quick-links a.responsive-menu-link { - width: 0; - overflow: hidden; - white-space: nowrap; -} - -.compact .icon-notification > a > span, .compact .icon-pm > a > span { +.linklist.compact .rightside > a > span span { display: none; } -.compact .icon-notification > a > strong, .compact .icon-pm > a > strong { +.linklist.compact .rightside > a strong { padding-left: 2px; } |