From a84421e81d587e1540585df4be5c517d822a75d3 Mon Sep 17 00:00:00 2001 From: George Michael Brower Date: Sat, 23 Aug 2014 16:27:00 -0700 Subject: [PATCH] css --- build/gui.html | 69 ++++++++++--------- .../controller-boolean.html | 2 +- .../controller-boolean.styl | 8 ++- .../controller-number/controller-number.styl | 20 +++--- elements/gui-row/gui-row.styl | 59 +++++++++------- elements/shared.styl | 7 ++ 6 files changed, 93 insertions(+), 72 deletions(-) diff --git a/build/gui.html b/build/gui.html index fd13350..50f6909 100644 --- a/build/gui.html +++ b/build/gui.html @@ -482,15 +482,36 @@ if(f)g=void 0;else if(f=g[this.name],!f)return void console.error("Cannot find f -webkit-font-smoothing: antialiased; } #row { + height: 30px; -webkit-transition: background-color 0.2s linear; -moz-transition: background-color 0.2s linear; -o-transition: background-color 0.2s linear; -ms-transition: background-color 0.2s linear; transition: background-color 0.2s linear; + border-bottom: 1px solid #262626; } #row:hover { background-color: #262626; } +#controller { + height: 100%; +} +#name { + -o-text-overflow: ellipsis; + text-overflow: ellipsis; + word-wrap: break-word; + overflow: hidden; + padding: 0 8px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + display: inline-block; + width: 40%; + cursor: default; +} +.comment-true #name { + cursor: pointer; +} #comment { line-height: 16px; -webkit-user-select: text; @@ -543,31 +564,8 @@ if(f)g=void 0;else if(f=g[this.name],!f)return void console.error("Cannot find f #commentInner { padding: 8px; } -#name { - -o-text-overflow: ellipsis; - text-overflow: ellipsis; - word-wrap: break-word; - overflow: hidden; - padding: 0 8px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - display: inline-block; - width: 40%; - height: 30px; - line-height: 30px; - cursor: default; -} -.comment-true #name { - cursor: pointer; -} .comment-true #nameInner { display: inline-block; - border-bottom: 1px dotted rgba(255,255,255,0.25); -} -.comment-true #nameInner:after { - content: ' ?'; - color: rgba(255,255,255,0.25); } @@ -1166,17 +1164,16 @@ Polymer( 'controller-number', {