From d10be52c2dd368f062b0f40bf5c7559d3aa47a95 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Tue, 19 Nov 2019 17:58:52 +0200 Subject: [PATCH] Improved the style of current attack matrix in config: made all cells fully colored, text alinged to middle and --- .../cc/ui/src/styles/Checkbox.scss | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/monkey/monkey_island/cc/ui/src/styles/Checkbox.scss b/monkey/monkey_island/cc/ui/src/styles/Checkbox.scss index b18908c5e..6a22c3584 100644 --- a/monkey/monkey_island/cc/ui/src/styles/Checkbox.scss +++ b/monkey/monkey_island/cc/ui/src/styles/Checkbox.scss @@ -97,6 +97,31 @@ $black: #000000; } } +.attack-matrix .ui-checkbox-btn label { + padding-top: 0; + position: relative; + float: left; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + padding-left: 5px; + padding-right: 5px; +} + +.attack-matrix div.rt-td>div { + height: 100%; + padding: 0; +} + +.attack-matrix div.rt-td { + padding: 0; + border-right: 3px solid rgba(0,0,0,0) !important; +} + +.rt-tr-group { + border-bottom: 3px solid rgba(0,0,0,0) !important; +} + .icon-checked { color: $green }