summaryrefslogtreecommitdiff
path: root/client/css/post-metric-input.styl
diff options
context:
space:
mode:
Diffstat (limited to 'client/css/post-metric-input.styl')
-rw-r--r--client/css/post-metric-input.styl49
1 files changed, 49 insertions, 0 deletions
diff --git a/client/css/post-metric-input.styl b/client/css/post-metric-input.styl
new file mode 100644
index 0000000..2d4046b
--- /dev/null
+++ b/client/css/post-metric-input.styl
@@ -0,0 +1,49 @@
+@import colors
+
+.metric-controls
+ margin-left: 1.4em
+ display: inline-block
+ color: $inactive-link-color
+
+hr.separator
+ display: none
+
+ul.compact-unset-metrics, ul.compact-post-metrics
+ width: 100%
+ margin: 0.5em 0 0 0
+ padding: 0
+ li
+ margin: 0
+ width: 100%
+ line-height: 140%
+ overflow: hidden
+ text-overflow: ellipsis
+ transition: background-color 0.5s linear
+ a
+ display: inline
+ a:focus
+ outline: 0
+ box-shadow: inset 0 0 0 2px $main-color
+ .remove-metric
+ color: $inactive-link-color
+ unselectable()
+ margin-right: 0.5em
+ i
+ padding-right: 0.4em
+ .metric-bounds
+ color: $inactive-link-color
+ unselectable()
+ font-size: 90%
+ margin-left: 0.7em
+
+ul.compact-post-metrics
+ input[type=number]
+ margin-left: 0.5em
+ margin-bottom: 0.5em
+ width: 4em
+ min-width: 60px
+ label
+ display: none
+ .range-delimiter
+ margin-left: 0.5em
+ color: $inactive-link-color