diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-10-16 17:28:45 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2012-10-16 17:28:45 -0500 |
commit | a080af4b05603dadf12adc171508db9c16dd73a4 (patch) | |
tree | 4accad9de8610ae11411fb83ea76baf6ec75ad9d /phpBB/styles | |
parent | 901739b0c6f0034fe91e38b19eba010975dd8fdd (diff) | |
download | forums-a080af4b05603dadf12adc171508db9c16dd73a4.tar forums-a080af4b05603dadf12adc171508db9c16dd73a4.tar.gz forums-a080af4b05603dadf12adc171508db9c16dd73a4.tar.bz2 forums-a080af4b05603dadf12adc171508db9c16dd73a4.tar.xz forums-a080af4b05603dadf12adc171508db9c16dd73a4.zip |
[ticket/11103] Add title/view all link to subsilver2
PHPBB3-11103
Diffstat (limited to 'phpBB/styles')
-rw-r--r-- | phpBB/styles/subsilver2/template/overall_header.html | 54 | ||||
-rw-r--r-- | phpBB/styles/subsilver2/theme/stylesheet.css | 36 |
2 files changed, 64 insertions, 26 deletions
diff --git a/phpBB/styles/subsilver2/template/overall_header.html b/phpBB/styles/subsilver2/template/overall_header.html index 560f6a32b3..069c39aaae 100644 --- a/phpBB/styles/subsilver2/template/overall_header.html +++ b/phpBB/styles/subsilver2/template/overall_header.html @@ -152,28 +152,40 @@ function marklist(id, name, state) <!-- IF S_NOTIFICATIONS_DISPLAY --> [ <a href="#" id="notification_list_button" title="{NOTIFICATIONS_COUNT}" onclick="$('#notification_list').toggle();">{NOTIFICATIONS_COUNT}</a> ] • <div id="notification_list" class="notification_list"> - <table class="tablebg" width="310px" cellspacing="1"> - <!-- BEGIN notifications --> - <tr class="row<!-- IF notifications.UNREAD -->2<!-- ELSE -->1<!-- ENDIF -->"> - <!-- IF notifications.AVATAR --> - <td width="50px"> - {notifications.AVATAR} - </td> - <td valign="top"> - <!-- ELSE --> - <td colspan="2" valign="top"> - <!-- ENDIF --> - <!-- IF notifications.URL --><a href="<!-- IF notifications.UNREAD -->{notifications.U_MARK_READ}<!-- ELSE -->{notifications.URL}<!-- ENDIF -->"><!-- ENDIF --> - {notifications.FORMATTED_TITLE} - <!-- IF notifications.URL --></a><!-- ENDIF --><br /> - {notifications.TIME} - <!-- IF not notifications.URL and notifications.UNREAD --> - <br /><a href="{notifications.U_MARK_READ}">{L_MARK_READ}</a> + <div class="row1 header"> + {L_NOTIFICATIONS} + </div> + + <div class="notification_scroll"> + <table class="tablebg" width="310px" cellspacing="1"> + <!-- BEGIN notifications --> + <tr class="row<!-- IF notifications.UNREAD -->2<!-- ELSE -->1<!-- ENDIF -->"> + <!-- IF notifications.AVATAR --> + <td width="50px"> + {notifications.AVATAR} + </td> + <td valign="top"> + <!-- ELSE --> + <td colspan="2" valign="top"> <!-- ENDIF --> - </td> - </tr> - <!-- END notifications --> - </table> + <div class="notification_title"> + <!-- IF notifications.URL --><a href="<!-- IF notifications.UNREAD -->{notifications.U_MARK_READ}<!-- ELSE -->{notifications.URL}<!-- ENDIF -->"><!-- ENDIF --> + {notifications.FORMATTED_TITLE} + <!-- IF notifications.URL --></a><!-- ENDIF --> + <br />{notifications.TIME} + <!-- IF not notifications.URL and notifications.UNREAD --> + <br /><a href="{notifications.U_MARK_READ}">{L_MARK_READ}</a> + <!-- ENDIF --> + </div> + </td> + </tr> + <!-- END notifications --> + </table> + </div> + + <div class="row1 footer"> + <a href="{U_VIEW_ALL_NOTIFICATIONS}"><span>{L_SEE_ALL}</span></a> + </div> </div> <!-- ENDIF --> <!-- IF not S_IS_BOT --><a href="{U_LOGIN_LOGOUT}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_LOGIN_LOGOUT}</a> <!-- ENDIF --> diff --git a/phpBB/styles/subsilver2/theme/stylesheet.css b/phpBB/styles/subsilver2/theme/stylesheet.css index 1312d9edd4..b41860d130 100644 --- a/phpBB/styles/subsilver2/theme/stylesheet.css +++ b/phpBB/styles/subsilver2/theme/stylesheet.css @@ -181,7 +181,7 @@ p.datetime { p.searchbar { padding: 2px 0; white-space: nowrap; -} +} p.searchbarreg { margin: 0; @@ -464,7 +464,7 @@ textarea { background-color: #FAFAFA; color: #333333; font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; - font-size: 1.3em; + font-size: 1.3em; line-height: 1.4em; font-weight: normal; border: 1px solid #A9B8C2; @@ -1145,15 +1145,41 @@ a.imageset { #notification_list { display: none; position: absolute; - width: 330px; - max-height: 350px; + width: 310px; z-index: 1; +} + +#notification_list .notification_scroll { + max-height: 350px; overflow-y: auto; overflow-x: hidden; - background-color: #FFFFFF; +} + +#notification_list .notification_title { + width: 240px; +} + +#notification_list .header { + width: 298px; + padding: 5px; + font-weight: bold; + border: 1px solid #A9B8C2; + border-bottom: 0; +} + +#notification_list .footer { + width: 300px; + text-align: center; + font-size: 1.2em; + border: 1px solid #A9B8C2; + border-top: 0; } .notification_list img { max-width: 50px; max-height: 50px; +} + +#notification_list .footer > a { + display: block; }
\ No newline at end of file |