From c0b47052086a610227c07995758ae512a6201e5f Mon Sep 17 00:00:00 2001 From: Luzifr Date: Tue, 15 Nov 2011 20:07:45 +0100 Subject: [PATCH] Overlays & iconbar optimization (merged declarations of header- & footer-navigation because they are the same) --- wcfsetup/install/files/acp/style/style.css | 52 +++++++++---------- wcfsetup/install/files/icon/edit.svg | 58 ++++++++++++++++++++++ 2 files changed, 84 insertions(+), 26 deletions(-) create mode 100755 wcfsetup/install/files/icon/edit.svg diff --git a/wcfsetup/install/files/acp/style/style.css b/wcfsetup/install/files/acp/style/style.css index 9f48b8b365..8fcc8686a8 100644 --- a/wcfsetup/install/files/acp/style/style.css +++ b/wcfsetup/install/files/acp/style/style.css @@ -492,7 +492,7 @@ nav.mainMenu ul li.activeMenuItem .badge { -/* -- -- -- Header Navigation -- -- -- */ +/* -- -- -- Header/Footer Navigation -- -- -- */ nav.headerNavigation { background-color: #e7f2fd; @@ -527,7 +527,7 @@ nav.headerNavigation:after { } nav.headerNavigation > div { - padding: 3px 7px; + padding: 0 7px; } nav.headerNavigation > div:after { @@ -540,11 +540,26 @@ nav.headerNavigation ul { display: block; } -nav.headerNavigation ul li { +nav.headerNavigation ul li, +footer.pageFooter nav.footerNavigation ul li { + cursor: pointer; + margin: 0 3px; float: right; } -#tplLogin header.pageHeader nav.headerNavigation ul li.toBottomLink { +nav.headerNavigation ul li a, +footer.pageFooter nav.footerNavigation ul li a { + padding: 3px; + display: inline-block; +} + +nav.headerNavigation ul li a:hover, +footer.pageFooter nav.footerNavigation ul li a:hover { + background-color: #d8e7f5; +} + +#tplLogin header.pageHeader nav.headerNavigation ul li.toBottomLink, +#tplLogin footer.pageFooter nav.footerNavigation ul li.toTopLink { /* Removes the to-bottom-link on the log-in page */ position: absolute; left: -9000px; @@ -846,7 +861,7 @@ footer.pageFooter > div { border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; background-color: #e7f2fd; - padding: 3px 7px; + padding: 0 7px; clear: both; } @@ -877,23 +892,6 @@ footer.pageFooter .copyright a:hover { -/* -- -- -- Footer Navigation -- -- -- */ - -footer.pageFooter nav.footerNavigation ul li { - display: inline-block; - float: right; -} - -#tplLogin footer.pageFooter nav.footerNavigation ul li.toTopLink { - /* Removes the to-top-link on the log-in page */ - position: absolute; - left: -9000px; - top: -9000px; - width: 0; -} - - - /* ############## Badges ############## */ /* Globals */ @@ -2820,15 +2818,17 @@ a.ui-dialog-titlebar-close span { padding-top: 7px; } +.ui-dialog > .ui-dialog-content { + border-radius: 7px; +} + .ui-dialog-titlebar ~ .ui-dialog-content { + border-top-left-radius: 0; + border-top-right-radius: 0; border-bottom-left-radius: 7px; border-bottom-right-radius: 7px; } -.ui-dialog > .ui-dialog-content { - border-radius: 7px; -} - div.ui-widget-overlay { diff --git a/wcfsetup/install/files/icon/edit.svg b/wcfsetup/install/files/icon/edit.svg new file mode 100755 index 0000000000..539c712de9 --- /dev/null +++ b/wcfsetup/install/files/icon/edit.svg @@ -0,0 +1,58 @@ + + + + + + Edit + Edit Icon (plus line) + + + + + + + + + + + + + + + + + + -- 2.20.1