From 3964616a9e2d2902f3e9be1f142938290eb34972 Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Wed, 28 Feb 2018 12:55:33 +0100 Subject: Updated popover rules to allow form inputs and added input submit for new File MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- core/css/apps.scss | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'core/css') diff --git a/core/css/apps.scss b/core/css/apps.scss index 691a0c07131..cbacec07252 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -811,10 +811,9 @@ kbd { flex: 0 0 auto; > button, > a, - > .menuitem, - > label { + > .menuitem { cursor: pointer; - line-height: 36px; + line-height: 38px; border: 0; background-color: transparent; display: flex; @@ -827,8 +826,8 @@ kbd { color: $color-main-text; /* Override the app-navigation li opacity */ opacity: .7 !important; - [class^='icon-'], - [class*=' icon-'], + span[class^='icon-'], + span[class*=' icon-'], &[class^='icon-'], &[class*=' icon-'] { min-width: 0; /* Overwrite icons*/ @@ -836,8 +835,8 @@ kbd { background-position: 10px center; background-size: 16px; } - [class^='icon-'], - [class*=' icon-'] { + span[class^='icon-'], + span[class*=' icon-'] { /* Keep padding to define the width to assure correct position of a possible text */ padding: 18px 0 18px 36px; @@ -889,6 +888,14 @@ kbd { > input:not([type=radio]):not([type=checkbox]):not([type=image]) { width: 150px; } + input { + min-width: 34px; + max-height: 34px; + margin: 2px 0; + ~ input { + margin-left: 5px; + } + } } > button { padding: 0; -- cgit v1.2.3