From f3153b968f140da03cec607ae64a7e5b0d5ebc2e Mon Sep 17 00:00:00 2001 From: Luzifr Date: Mon, 5 Dec 2011 17:58:14 +0100 Subject: [PATCH] "dropdown" -> "dropDown" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit I don't like that change, because too much CamelCase makes me sick and destroys readability, but for consistency-reasons i'll do it … --- wcfsetup/install/files/acp/style/wcf.css | 74 +++++++++---------- .../install/files/acp/templates/header.tpl | 4 +- wcfsetup/install/files/js/WCF.js | 12 +-- .../PagesFunctionTemplatePlugin.class.php | 4 +- 4 files changed, 47 insertions(+), 47 deletions(-) diff --git a/wcfsetup/install/files/acp/style/wcf.css b/wcfsetup/install/files/acp/style/wcf.css index 4e595a33f6..8646cb1a48 100644 --- a/wcfsetup/install/files/acp/style/wcf.css +++ b/wcfsetup/install/files/acp/style/wcf.css @@ -361,27 +361,27 @@ nav.topMenu > div > ul > li:hover a { border-color: rgba(255, 255, 255, .5); } -nav.topMenu > div > ul > li .dropdownCaption, -nav.topMenu > div > ul > li .dropdownCaption a { +nav.topMenu > div > ul > li .dropDownCaption, +nav.topMenu > div > ul > li .dropDownCaption a { padding-right: 5px; } -nav.topMenu > div > ul > li:hover .dropdownCaption, -nav.topMenu > div > ul > li:hover .dropdownCaption a { +nav.topMenu > div > ul > li:hover .dropDownCaption, +nav.topMenu > div > ul > li:hover .dropDownCaption a { text-shadow: 0 -1px 0 rgba(0, 0, 0, .7); color: #fff; background-color: rgba(0, 0, 0, .7); } -nav.topMenu > div > ul > li > .dropdownCaption > .badge, -nav.topMenu > div > ul > li:hover > .dropdownCaption > .badge { +nav.topMenu > div > ul > li > .dropDownCaption > .badge, +nav.topMenu > div > ul > li:hover > .dropDownCaption > .badge { font-size: 75%; color: #369 !important; margin: -3px 3px; padding: 1px 3px; } -nav.topMenu > div > ul > li > .dropdownCaption > img { +nav.topMenu > div > ul > li > .dropDownCaption > img { margin: -7px 0 -5px 0; } @@ -389,9 +389,9 @@ nav.topMenu > div > ul > li > span:not(.badge) { padding: 6px; } -nav.topMenu ul li .dropdownCaption { +nav.topMenu ul li .dropDownCaption { cursor: pointer; - background-image: url('../../icon/dropdown2.svg'); + background-image: url('../../icon/dropDown2.svg'); background-position: 97% center; background-repeat: no-repeat; padding-right: 15px !important; @@ -403,7 +403,7 @@ nav.topMenu ul li .dropdownCaption { /* ToDo: Top-Menu Dropdown Tweaks */ /* Auto-Opening Dropdowns */ -nav.topMenu ul li:hover .dropdownCaption ~ .dropdown { +nav.topMenu ul li:hover .dropDownCaption ~ .dropDown { border-color: rgba(255, 255, 255, .5); background-color: rgba(0, 0, 0, .7); height: auto !important; @@ -414,12 +414,12 @@ nav.topMenu ul li { white-space: nowrap; } -nav.topMenu ul li .dropdown { +nav.topMenu ul li .dropDown { border-width: 0 1px 1px 1px; border-radius: 0 0 5px 5px; } -nav.topMenu ul li .dropdown > :first-child { +nav.topMenu ul li .dropDown > :first-child { border-top-width: 0; } @@ -1165,7 +1165,7 @@ li > .badgeButton { /* ############## ToDo: Dropdown Global ############## */ -.dropdown { +.dropDown { color: #fff; border-width: 0 1px 1px 1px; border-style: solid; @@ -1195,8 +1195,8 @@ li > .badgeButton { /* Dropdown Items */ -.dropdown > li, -.dropdown > div { +.dropDown > li, +.dropDown > div { text-shadow: none; color: #ccc; cursor: pointer; @@ -1208,37 +1208,37 @@ li > .badgeButton { transition: color background .2s linear; } -.dropdown > div { +.dropDown > div { padding: 5px 7px; } -.dropdown > :first-child { +.dropDown > :first-child { border-top-left-radius: 5px; border-top-right-radius: 5px; } -.dropdown > :last-child { +.dropDown > :last-child { border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; } -.dropdown > :hover:not(ul):not(.pointer), -.dropdown > .active { +.dropDown > :hover:not(ul):not(.pointer), +.dropDown > .active { color: #fff; background-color: rgba(0, 0, 0, .5); } -.dropdown > li.divider:not(:first-child) { +.dropDown > li.divider:not(:first-child) { border-top: 1px solid rgba(255, 255, 255, .7); } -.dropdown > li a { +.dropDown > li a { text-decoration: none; padding: 5px 7px; display: inline-block; } -.dropdown > li a:hover { +.dropDown > li a:hover { color: #fff !important; } @@ -1790,7 +1790,7 @@ textarea[disabled='disabled'] { /* Dropdown Caption */ -.preInput .dropdownCaption { +.preInput .dropDownCaption { letter-spacing: -1px; cursor: pointer; border-radius: 3px 0 0 3px; @@ -1800,20 +1800,20 @@ textarea[disabled='disabled'] { vertical-align: middle; } -.preInput .dropdownCaption span { +.preInput .dropDownCaption span { margin-right: -1px; padding-left: 5px; white-space: nowrap; } -.preInput .dropdownCaption span.active { - background-image: url('../../icon/dropdown1.svg'); +.preInput .dropDownCaption span.active { + background-image: url('../../icon/dropDown1.svg'); background-position: right center; background-repeat: no-repeat; padding-right: 10px; } -.preInput .dropdown > li.missingValue { /* ToDo */ +.preInput .dropDown > li.missingValue { /* ToDo */ /* color: #990; */ background-image: url('../../icon/systemWarning.svg'); background-size: 16px; @@ -2748,7 +2748,7 @@ tr .columnURL { width: 7px; } -.pageNavigation ul li.children .dropdown { +.pageNavigation ul li.children .dropDown { text-align: left; border-color: transparent; border-radius: 3px; @@ -2770,19 +2770,19 @@ tr .columnURL { transition: opacity .2s linear; } -.pageNavigation ul li.children:hover .dropdown { +.pageNavigation ul li.children:hover .dropDown { border-color: rgba(255, 255, 255, .7); height: auto; overflow: visible; opacity: 1; } -.pageNavigation ul li.children .dropdown ul { +.pageNavigation ul li.children .dropDown ul { padding: 0 5px 5px 2px; display: block; } -.pageNavigation ul li.children .dropdown ul li { +.pageNavigation ul li.children .dropDown ul li { margin-top: 5px; margin-left: 3px; } @@ -3202,7 +3202,7 @@ img[src*='enable'] { } .clipboardEditor > ul > li > span { - background-image: url('../../icon/dropdown1.svg'); + background-image: url('../../icon/dropDown1.svg'); background-position: right center; background-repeat: no-repeat; padding-right: 12px; @@ -3270,7 +3270,7 @@ input[type='button'], .badgeButton, .pageNavigation ul li:not(.children), .clipboardEditor > ul > li, -.preInput .dropdownCaption { +.preInput .dropDownCaption { text-decoration: none; text-shadow: 0 1px 0 #fff; color: #999; @@ -3321,7 +3321,7 @@ input[type='button'].default:hover, .badgeButton:hover, .pageNavigation ul li:not(.disabled):not(.children):hover, .clipboardEditor > ul > li:hover, -.preInput:hover .dropdownCaption { +.preInput:hover .dropDownCaption { color: #666; border-width: 1px; border-style: solid; @@ -3350,7 +3350,7 @@ input[type='button'].default:focus, .badgeButton:focus, .pageNavigation ul li:not(.disabled):not(.children):active, .clipboardEditor > ul > li:focus, -.preInput .dropdownCaption:focus, +.preInput .dropDownCaption:focus, button:active, input[type='reset']:active, input[type='submit']:active, @@ -3363,7 +3363,7 @@ input[type='button'].default:active, .badgeButton:active, .pageNavigation ul li:not(.disabled):not(.children):focus, .clipboardEditor > ul > li:active, -.preInput .dropdownCaption:active { +.preInput .dropDownCaption:active { color: #333; border-width: 1px; border-style: solid; diff --git a/wcfsetup/install/files/acp/templates/header.tpl b/wcfsetup/install/files/acp/templates/header.tpl index 8010afbbad..ba6abc5457 100644 --- a/wcfsetup/install/files/acp/templates/header.tpl +++ b/wcfsetup/install/files/acp/templates/header.tpl @@ -89,8 +89,8 @@