From fc0afe4fe1c67acf6cc3ec7bf161b43d06fa3569 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 22 Jul 2016 15:28:03 +0200 Subject: [PATCH] Unit selector style fix --- input.scss | 16 +++++++++++++++- styles.css | 17 ++++++++++++++++- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/input.scss b/input.scss index 794f0b0..0eba003 100644 --- a/input.scss +++ b/input.scss @@ -137,7 +137,7 @@ input[type="text"]:focus { position: relative; display: inline-block; - &:hover .content{ + &:hover .content { display: block; } @@ -158,3 +158,17 @@ input[type="text"]:focus { } } } + +select.plain { + width: auto; + margin: 0; + padding: 0; + border: none; + outline: none; + display: inline-block; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + cursor: pointer; + box-shadow: none; +} \ No newline at end of file diff --git a/styles.css b/styles.css index dc90c4c..5d1fa1c 100644 --- a/styles.css +++ b/styles.css @@ -2889,7 +2889,7 @@ p + p { canvas { background: #fff; - bordeR: 1px solid #000; + border: 1px solid #000; user-select: none; } .ok { @@ -3316,6 +3316,21 @@ input[type="range"] { margin: 5px; padding: 5px; } +select.plain { + width: auto; + margin: 0; + padding: 0; + border: none; + outline: none; + display: inline-block; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + cursor: pointer; + box-shadow: none; } + select.plain option { + cursor: pointer; } + .ok { color: #5cff56; }