Resolved some todos in .scss files
authorMarcel Werk <burntime@woltlab.com>
Thu, 14 Jul 2016 20:29:25 +0000 (22:29 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 14 Jul 2016 20:29:30 +0000 (22:29 +0200)
wcfsetup/install/files/style/bootstrap/mixin/list.scss
wcfsetup/install/files/style/icon/icon.scss
wcfsetup/install/files/style/layout/content.scss
wcfsetup/install/files/style/ui/alert.scss
wcfsetup/install/files/style/ui/badge.scss
wcfsetup/install/files/style/ui/comment.scss
wcfsetup/install/files/style/ui/dialog.scss
wcfsetup/install/files/style/ui/dropdown.scss
wcfsetup/install/files/style/ui/redactor.scss

index 8b18d68aa1d2aab320032a9c4bc2e6e2a72ff29e..fe55b0adf302fb6dc3f8f484b5ac0921229ae0f7 100644 (file)
                &:not(:last-child) {
                        margin-right: 5px;
                }
-               
-               > a {
-                       // @todo: still necessary?
-                       /*display: inline-flex;*/
-               }
        }
        
        /* adds a comma after each list item */
index ac78e57c3f34656e676d7ba1f7fdfa310393ecdd..6ec19071ece847d7e1a49cbcb29d1f733e55f607 100644 (file)
@@ -126,7 +126,7 @@ a > span.fa:not(.pointer) {
 }
 
 .icon144 {
-       font-size: 130px; // TODO
+       font-size: 130px;
        height: 144px;
        line-height: 144px;
        width: 144px;
@@ -135,7 +135,6 @@ a > span.fa:not(.pointer) {
 // spinner animation
 .fa-spinner {
        animation: wcfSpinner .6s linear infinite;
-       // TODO: these colors shouldn't be hard-coded
        border: 2px solid rgb(204, 204, 204);
        border-top-color: rgb(79, 129, 189);
        border-radius: 50%;
index 3b9b87f7e0081e895b1ed9b9bea7ab189b464789..4245ca7dfe9c75c55f9b831a6883d6a83389c29f 100644 (file)
@@ -2,7 +2,7 @@
 /* content header */
 .contentHeader,
 .boxHeadline { // deprecated
-       color: $wcfContentHeadlineText; // todo: rename variable
+       color: $wcfContentHeadlineText;
        
        .contentTitle,
        > h1 { // deprecated
        }
        
        a {
-               color: $wcfContentHeadlineLink; // todo: rename variable
+               color: $wcfContentHeadlineLink;
                
                &:hover {
-                       color: $wcfContentHeadlineLinkActive; // todo: rename variable
+                       color: $wcfContentHeadlineLinkActive;
                }
        }
 }
        margin-bottom: 20px;
        
        > h2 {
-               color: $wcfContentHeadlineText; // todo: rename variable
+               color: $wcfContentHeadlineText;
                
                @include wcfFontSection;
                
                a {
-                       color: $wcfContentHeadlineLink; // todo: rename variable
+                       color: $wcfContentHeadlineLink;
                        
                        &:hover {
-                               color: $wcfContentHeadlineLinkActive; // todo: rename variable
+                               color: $wcfContentHeadlineLinkActive;
                        }
                }
                
        }
        
        .sectionTitle {
-               color: $wcfContentHeadlineText; // todo: rename variable
+               color: $wcfContentHeadlineText;
                
                @include wcfFontSection;
                
                a {
-                       color: $wcfContentHeadlineLink; // todo: rename variable
+                       color: $wcfContentHeadlineLink;
                        
                        &:hover {
-                               color: $wcfContentHeadlineLinkActive; // todo: rename variable
+                               color: $wcfContentHeadlineLinkActive;
                        }
                }
                
@@ -218,7 +218,7 @@ fieldset {
        
        > legend {
                border-bottom: 1px solid $wcfContentBorderInner;
-               color: $wcfContentHeadlineText; // todo: rename variable
+               color: $wcfContentHeadlineText;
                float: left;
                margin-bottom: 20px;
                padding-bottom: 10px;
@@ -227,10 +227,10 @@ fieldset {
                @include wcfFontSection;
                
                a {
-                       color: $wcfContentHeadlineLink; // todo: rename variable
+                       color: $wcfContentHeadlineLink;
                        
                        &:hover {
-                               color: $wcfContentHeadlineLinkActive; // todo: rename variable
+                               color: $wcfContentHeadlineLinkActive;
                        }
                }
                
index 3047c59624247b0f344dee694b9a49048fc95f4b..5af149053b3dca0c6d30df84f9d5ec99a90c3355 100644 (file)
@@ -89,7 +89,6 @@
 }
 
 /* inline infos */
-/* TODO: use other colors */
 .innerInfo {
        background-color: $wcfStatusInfoBackground;
        color: $wcfStatusInfoText;
index e07665c8dc744e610582edaaca24e70dc62c5305..290c17b34b3fddfcb06f3e23ff857eeef8d128c0 100644 (file)
@@ -6,7 +6,6 @@ a.badge {
        display: inline-block;
        padding: 2px 6px;
        position: relative;
-       text-shadow: none !important; /* necessary to avoid ugly text shadows in comment lists; @todo: better solution without "!important" */
        vertical-align: middle;
        white-space: nowrap;
        word-wrap: normal;
index c58e3df1421a14108ab92ce250db61a681b953a7..1a912e50143697b66453fa89e33ba450b6effc1b 100644 (file)
                padding: 10px 20px 0 20px;
        }
 }
-
-/*
-.commentContent {
-       > .containerHeadline {
-               margin-bottom: 5px;
-       }
-       
-       & + .commentOptionContainer {
-               margin-top: 10px;
-       }
-}
-
-.commentResponseList {
-       margin-top: 10px;
-}
-
-.commentResponse {
-       // TODO: border-top: 1px solid $wcfContentBorder;
-       padding: 10px 0;
-}
-
-.commentOptionContainer {
-       // TODO: border-top: 1px solid $wcfContentBorder;
-       padding-top: 10px;
-}
-*/
\ No newline at end of file
index a90e163895101368abe449c503d54c9a70946b8f..eacde3de8b55aa7a34e95983c3e11409e4e839af 100644 (file)
        display: none;
 }
 
-/* package (un-)installation (todo: obsolete?) */
-#packageInstallationDialogContainer > .boxHeadline {
-       margin-top: 0;
-}
-
 .spinner {
        background-color: rgb(255, 255, 255);
        border: 1px solid rgb(204, 204, 204);
index cbc849d73254e166ebbd8deab7e685ed8243576e..52d88c92f38b57ac1a32b998b65446b3c5040ce3 100644 (file)
@@ -18,7 +18,7 @@
                        padding: 4px 7px;
                        
                        > span.active:after {
-                               content: "\f0d7"; // @TODO: use a variable instead
+                               content: $fa-var-caret-down;
                                font-family: FontAwesome;
                                font-size: 14px;
                                margin-left: 7px;
@@ -64,7 +64,7 @@
                                word-wrap: normal;
                                
                                &.active::after {
-                                       content: "\f0d7"; // TODO: use a variable instead
+                                       content: $fa-var-caret-down;
                                        font-family: FontAwesome;
                                        font-size: 14px;
                                        margin-left: 7px;
@@ -91,7 +91,7 @@
                                word-wrap: normal;
                                
                                &.active::after {
-                                       content: "\f0d7"; // @TODO: use a variable instead
+                                       content: $fa-var-caret-down;
                                        font-family: FontAwesome;
                                        font-size: 14px;
                                        margin-left: 7px;
        }
        
        &.dropdownOpen {
-               .dropdownToggle {
-                       //color: @wcfPageLinkHoverColor;
-               }
-               
                .dropdownMenu {
                        display: block;
                }
index 80dd51192ee69aac46eaf50882fd100a3731365a..429bdc9cacc16b4ba8f9e2a19a6cdc3a40eaca38 100644 (file)
                        vertical-align: top;
                }
        }
-       
-       .TODO_codeBox {
-               overflow: hidden;
-               position: relative;
-               
-               .redactorEditCodeBox {
-                       background-color: rgba(255, 255, 255, .8);
-                       bottom: 0;
-                       left: 0;
-                       opacity: 0;
-                       position: absolute;
-                       right: 0;
-                       text-align: center;
-                       top: 0;
-                       transition: opacity .12s linear;
-                       z-index: 200;
-                       
-                       > div {
-                               cursor: pointer;
-                               left: 50%;
-                               padding: 1em 3em;
-                               position: absolute;
-                               top: 50%;
-                               transform: translate(-50%, -50%);
-                       }
-               }
-               
-               &:hover .redactorEditCodeBox {
-                       opacity: 1;
-               }
-               
-               ol {
-                       margin-bottom: 0;
-                       margin-top: 0;
-               }
-       }
-       
-       &.TODO_msie .quoteBox {
-               /* resets 'hasLayout' causing IE to display resize handle and wonky editing behavior */
-               min-height: 0;
-       }
 }
 
 .redactor-dropdown {