From 638021c0b098a8d99b16a68a13c4ee1015fa115d Mon Sep 17 00:00:00 2001 From: Heiko Kernbach Date: Tue, 19 May 2015 12:59:52 +0200 Subject: [PATCH] scss-lint --- .../APP/clusterFrontend/build/style.css | 40 +++++++++---------- .../aardvark/APP/frontend/scss/_buttons.scss | 10 +++-- .../aardvark/APP/frontend/scss/_tiles.scss | 12 +++--- 3 files changed, 32 insertions(+), 30 deletions(-) diff --git a/js/apps/system/_admin/aardvark/APP/clusterFrontend/build/style.css b/js/apps/system/_admin/aardvark/APP/clusterFrontend/build/style.css index 3e19f6dfcc..c01cc74b69 100644 --- a/js/apps/system/_admin/aardvark/APP/clusterFrontend/build/style.css +++ b/js/apps/system/_admin/aardvark/APP/clusterFrontend/build/style.css @@ -2162,13 +2162,13 @@ a.headerButton { position: relative; } a.headerButton .fa, a.headerButton [class^="icon_"], a.headerButton [class*=" icon_"] { display: block; + height: 23px; + line-height: 23px; position: static; right: 0; - top: 0; - width: 27px; text-align: center; - line-height: 23px; - height: 23px; } + top: 0; + width: 27px; } a.headerButton .icon_arangodb_arrowleft, a.headerButton .icon_arangodb_arrowright { font-weight: bold; } a.headerButton.activated { @@ -2400,22 +2400,22 @@ div .tile, div .bigtile { position: relative; text-align: center; } div .tile .warning-icons, div .bigtile .warning-icons { - position: absolute; - left: 0; - top: 0; background-color: #da4f49; - color: white; + color: #fff; font-size: 11px; height: 17px; + left: 0; line-height: 13px; padding-left: 9px; - padding-right: 4px; } + padding-right: 4px; + position: absolute; + top: 0; } div .tile .warning-icons:before, div .bigtile .warning-icons:before { + border-right: 17px solid transparent; + border-top: 17px solid #da4f49; content: ''; position: absolute; - right: -17px; - border-top: 17px solid #da4f49; - border-right: 17px solid transparent; } + right: -17px; } div .tile .warning-icons .fa + .fa, div .bigtile .warning-icons .fa + .fa { margin-left: 1px; } div .tile .warning-icons .fa:before, div .bigtile .warning-icons .fa:before { @@ -4982,22 +4982,22 @@ div .tile, div .bigtile { position: relative; text-align: center; } div .tile .warning-icons, div .bigtile .warning-icons { - position: absolute; - left: 0; - top: 0; background-color: #da4f49; - color: white; + color: #fff; font-size: 11px; height: 17px; + left: 0; line-height: 13px; padding-left: 9px; - padding-right: 4px; } + padding-right: 4px; + position: absolute; + top: 0; } div .tile .warning-icons:before, div .bigtile .warning-icons:before { + border-right: 17px solid transparent; + border-top: 17px solid #da4f49; content: ''; position: absolute; - right: -17px; - border-top: 17px solid #da4f49; - border-right: 17px solid transparent; } + right: -17px; } div .tile .warning-icons .fa + .fa, div .bigtile .warning-icons .fa + .fa { margin-left: 1px; } div .tile .warning-icons .fa:before, div .bigtile .warning-icons .fa:before { diff --git a/js/apps/system/_admin/aardvark/APP/frontend/scss/_buttons.scss b/js/apps/system/_admin/aardvark/APP/frontend/scss/_buttons.scss index 11bce15648..30cc20763c 100644 --- a/js/apps/system/_admin/aardvark/APP/frontend/scss/_buttons.scss +++ b/js/apps/system/_admin/aardvark/APP/frontend/scss/_buttons.scss @@ -134,15 +134,17 @@ a.headerButton { margin-top: 2px; position: relative; - .fa, [class^="icon_"], [class*=" icon_"] { + .fa, + [class^="icon_"], + [class*=" icon_"] { display: block; + height: 23px; + line-height: 23px; position: static; // TODO fix cascading right: 0; // TODO fix cascading + text-align: center; top: 0; // TODO fix cascading width: 27px; - text-align: center; - line-height: 23px; - height: 23px; } .icon_arangodb_arrowleft, diff --git a/js/apps/system/_admin/aardvark/APP/frontend/scss/_tiles.scss b/js/apps/system/_admin/aardvark/APP/frontend/scss/_tiles.scss index 289dab4dda..a12bbefc76 100644 --- a/js/apps/system/_admin/aardvark/APP/frontend/scss/_tiles.scss +++ b/js/apps/system/_admin/aardvark/APP/frontend/scss/_tiles.scss @@ -26,23 +26,23 @@ $iconsize: 50px; text-align: center; .warning-icons { - position: absolute; - left: 0; - top: 0; background-color: $c-negative; - color: white; + color: #fff; font-size: 11px; height: 17px; + left: 0; line-height: 13px; padding-left: 9px; padding-right: 4px; + position: absolute; + top: 0; &:before { + border-right: 17px solid transparent; + border-top: 17px solid $c-negative; content: ''; position: absolute; right: -17px; - border-top: 17px solid $c-negative; - border-right: 17px solid transparent; } .fa {