From 68f2ac9567da848bdfbb8b5a74b92c0a41a1b70e Mon Sep 17 00:00:00 2001 From: Michael Hackstein Date: Fri, 7 Mar 2014 11:16:54 +0100 Subject: [PATCH] Further scss-lint --- .../frontend/scss/_contentTables.scss | 59 +++++++++++++------ 1 file changed, 41 insertions(+), 18 deletions(-) diff --git a/js/apps/system/aardvark/frontend/scss/_contentTables.scss b/js/apps/system/aardvark/frontend/scss/_contentTables.scss index 4e8b268a73..4508b24f32 100644 --- a/js/apps/system/aardvark/frontend/scss/_contentTables.scss +++ b/js/apps/system/aardvark/frontend/scss/_contentTables.scss @@ -1,80 +1,103 @@ //.databaseButtons => .contentButtons .contentButtons { - clear:both; - width: 100%; + clear: both; margin-bottom: 10px; - #createDatabase, #createUser { + width: 100%; + + #createDatabase, + #createUser { margin-left: 0; } } // #databaseTable => .contentTables + .contentTables { - width: 100%; margin-bottom: 10px; + width: 100%; + thead { text-align: left; + tr { - border-bottom: 1px solid $c_c2grey; - background-color: $c_white; + background-color: $c-white; + border-bottom: 1px solid $c-c2grey; } } + tbody { + tr { - &:nth-child(odd){ - background-color: $c_odd; + + &:nth-child(odd) { + background-color: $c-odd; }; - &:nth-child(even){ - background-color: $c_even; + + &:nth-child(even) { + background-color: $c-even; }; + } } + tr { + &.contentRowActive { - background-color: $c_contentRowActive !important; + background-color: $c-content-row-active !important; font-weight: 400; + a { - color: $c_black !important; + color: $c-black !important; } + span { - display:none; + display: none; } } + //.databaseInactive => .contentRowInactive + &.contentRowInactive { a { @extend %clickable; - color: $c_black !important; + color: $c-black !important; } } } + .dbThFirst { width: 90%; } + .dbThSecond { width: 10%; } + td { - padding:12px 18px; + padding: 12px 18px; + span { - float: right; @extend %icon-negative; + float: right; font-size: 22px; } + &.dbThSecond { span { @extend %icon-positive; } } } + .collectionThSec { + margin-right: 0; width: 80%; - margin-right: 0; } + .collectionTh { - width: 5%; margin-right: 0; + width: 5%; } }