From 0d5542954b308b332ecc6760a853e04ab2b6703a Mon Sep 17 00:00:00 2001 From: Luzifr Date: Mon, 8 Aug 2011 02:32:28 +0200 Subject: [PATCH] Even more corrections and updates Experimental Log-In page, corrected display: table layout for all pages, more definition lists. --- wcfsetup/install/files/acp/style/testing.css | 30 ++++++----- .../install/files/acp/templates/footer.tpl | 5 +- .../install/files/acp/templates/header.tpl | 5 +- .../install/files/acp/templates/login.tpl | 53 ++++++++++--------- .../acp/templates/masterPasswordInit.tpl | 6 +-- .../acp/templates/packageAutoUpdateList.tpl | 11 ++-- .../files/acp/templates/packageUpdateAuth.tpl | 28 +++++----- .../acp/templates/packageUpdateSearch.tpl | 41 +++++++------- .../files/acp/templates/setupFooter.tpl | 19 ++++++- .../files/acp/templates/setupHeader.tpl | 52 ++++++++++++++++-- .../files/acp/templates/userGroupAdd.tpl | 15 +++--- .../acp/templates/usersMassProcessing.tpl | 1 + 12 files changed, 171 insertions(+), 95 deletions(-) diff --git a/wcfsetup/install/files/acp/style/testing.css b/wcfsetup/install/files/acp/style/testing.css index 4aef80ab60..951d8752c0 100644 --- a/wcfsetup/install/files/acp/style/testing.css +++ b/wcfsetup/install/files/acp/style/testing.css @@ -231,36 +231,30 @@ nav.headerNavigation ul li { div.main { margin: 0 23px 0; - border-collapse: collapse; - display: table; - table-layout: fixed; -} - -div.main > div { - display: table-row; } - - /* -- -- -- -- -- Content -- -- -- -- -- */ section.content { background-color: #fff; display: table-cell; + vertical-align: top; padding: 25px; - width: 100%; position: relative; + width: 100%; z-index: 100; } div.main > div section:only-child { display: block !important; + width: auto; } /* -- -- -- -- -- Sidebar -- -- -- -- -- */ aside.sidebar { display: table-cell; + vertical-align: top; background-color: #d8e7f5; margin: 0 !important; padding: 0 !important; @@ -500,6 +494,7 @@ dl.disabled dt { } dl dt { + color: #69c; float: left; text-align: right; width: 230px; @@ -725,7 +720,7 @@ input[type='submit'], border: 1px solid #bcd; color: #69c; - background-color: #69c; + background-color: #e7f2fd; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#d8e7f5)); background-image: -moz-linear-gradient(0% 0% 270deg, #fff, #d8e7f5); background-image: -ms-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#d8e7f5)); @@ -784,7 +779,7 @@ input[type='submit']:active, color: #036; text-decoration: none; - background-color: #69c; + background-color: #d8e7f5; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#d8e7f5), to(#fff)); background-image: -moz-linear-gradient(0% 0% 270deg, #d8e7f5, #fff); background-image: -ms-gradient(linear, 0% 0%, 0% 100%, from(#d8e7f5), to(#fff)); @@ -920,10 +915,14 @@ thead th { } thead th:first-child { - border-top-left-radius: 5px; + /* rounded corners for the first table header cell to the left */ + border-top-left-radius: 5px; + /* keeps the first column of tables narrow */ + width: 1%; } thead th:last-child { + /* rounded corners for the last table header cell to the left */ border-top-right-radius: 5px; } @@ -990,6 +989,11 @@ tbody tr { border-bottom: 1px solid rgba(255, 255, 255, .3); } +tbody tr:first-child { + /* prevents icon-column from wrapping */ + white-space: nowrap; +} + tbody tr:last-child { /* no border for the last tables row */ border-bottom-width: 0; diff --git a/wcfsetup/install/files/acp/templates/footer.tpl b/wcfsetup/install/files/acp/templates/footer.tpl index 42b25de64a..893aff6674 100644 --- a/wcfsetup/install/files/acp/templates/footer.tpl +++ b/wcfsetup/install/files/acp/templates/footer.tpl @@ -1,10 +1,11 @@ + - + -