diff options
author | Matt Friedman <maf675@gmail.com> | 2016-11-11 09:28:35 -0800 |
---|---|---|
committer | Matt Friedman <maf675@gmail.com> | 2016-11-11 09:32:25 -0800 |
commit | 74285b430801db773b7b69536f6e74fbf88917ea (patch) | |
tree | 07c38106a7f31942ca05d8f6884178e5aa1cf522 | |
parent | 9b1e2e523c827b2af3bb5b6d8ccdf4338f8f4ffc (diff) | |
download | forums-74285b430801db773b7b69536f6e74fbf88917ea.tar forums-74285b430801db773b7b69536f6e74fbf88917ea.tar.gz forums-74285b430801db773b7b69536f6e74fbf88917ea.tar.bz2 forums-74285b430801db773b7b69536f6e74fbf88917ea.tar.xz forums-74285b430801db773b7b69536f6e74fbf88917ea.zip |
[ticket/14855] Update CSS
PHPBB3-14855
-rw-r--r-- | phpBB/styles/prosilver/template/navbar_header.html | 4 | ||||
-rw-r--r-- | phpBB/styles/prosilver/theme/common.css | 19 |
2 files changed, 16 insertions, 7 deletions
diff --git a/phpBB/styles/prosilver/template/navbar_header.html b/phpBB/styles/prosilver/template/navbar_header.html index 3e5720ad65..9179b659cd 100644 --- a/phpBB/styles/prosilver/template/navbar_header.html +++ b/phpBB/styles/prosilver/template/navbar_header.html @@ -72,12 +72,12 @@ </li> <!-- IF S_DISPLAY_PM --> <li class="small-icon icon-pm rightside" data-skip-responsive="true"> - <a href="{U_PRIVATEMSGS}" role="menuitem"><span>{L_PRIVATE_MESSAGES} </span><!-- IF PRIVATE_MESSAGE_COUNT --><strong class="notification-alert">{PRIVATE_MESSAGE_COUNT}</strong><!-- ENDIF --><span></span></a> + <a href="{U_PRIVATEMSGS}" role="menuitem"><span>{L_PRIVATE_MESSAGES} </span><!-- IF PRIVATE_MESSAGE_COUNT --><strong class="notification-alert">{PRIVATE_MESSAGE_COUNT}</strong><!-- ENDIF --></a> </li> <!-- ENDIF --> <!-- IF S_NOTIFICATIONS_DISPLAY --> <li class="small-icon icon-notification dropdown-container dropdown-{S_CONTENT_FLOW_END} rightside" data-skip-responsive="true"> - <a href="{U_VIEW_ALL_NOTIFICATIONS}" id="notification_list_button" class="dropdown-trigger"><span>{L_NOTIFICATIONS} </span><!-- IF NOTIFICATIONS_COUNT --><strong class="notification-alert">{NOTIFICATIONS_COUNT}</strong><!-- ENDIF --><span></span></a> + <a href="{U_VIEW_ALL_NOTIFICATIONS}" id="notification_list_button" class="dropdown-trigger"><span>{L_NOTIFICATIONS} </span><!-- IF NOTIFICATIONS_COUNT --><strong class="notification-alert">{NOTIFICATIONS_COUNT}</strong><!-- ENDIF --></a> <!-- INCLUDE notification_dropdown.html --> </li> <!-- ENDIF --> diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css index d59efc0bb5..03d59ed6b8 100644 --- a/phpBB/styles/prosilver/theme/common.css +++ b/phpBB/styles/prosilver/theme/common.css @@ -1251,12 +1251,21 @@ ul.linklist:after, margin-left: 58px; } -.notification-alert, -.compact .notification-alert { - border-radius: 50px; - font-size: 0.9em; +.notification-alert { + border-radius: 10px; opacity: 0.8; - padding: 4px 7px; + min-width: 10px; + text-align: center; + white-space: nowrap; + font-size: 9px; + line-height: 1; + float: right; + display: inline-block; + margin-left: 3px; + vertical-align: baseline; + position: relative; + top: 3px; + padding: 4px 6px; } /* Navbar specific list items |