aboutsummaryrefslogtreecommitdiff
path: root/client/css/pool-input-control.styl
diff options
context:
space:
mode:
authorRuin0x112020-05-03 19:53:28 -0700
committerRuin0x112020-05-03 19:53:28 -0700
commitd59ecb8e230a55e6875076824723580bd3f4419b (patch)
tree34121668a4abb61fdeff0639d0c9567d0c398692 /client/css/pool-input-control.styl
parent6a95a66f12a5407cfd8ffa7e373f756236bf0bce (diff)
Add pool CRUD operations/pages
Diffstat (limited to 'client/css/pool-input-control.styl')
-rw-r--r--client/css/pool-input-control.styl53
1 files changed, 53 insertions, 0 deletions
diff --git a/client/css/pool-input-control.styl b/client/css/pool-input-control.styl
new file mode 100644
index 0000000..3f71abe
--- /dev/null
+++ b/client/css/pool-input-control.styl
@@ -0,0 +1,53 @@
+@import colors
+
+div.pool-input
+ position: relative
+
+ .main-control
+ display: flex
+ input
+ flex: 5
+ button
+ flex: 1
+ margin: 0 0 0 0.5em
+
+
+ul.compact-pools
+ width: 100%
+ margin: 0.5em 0 0 0
+ padding: 0
+ li
+ margin: 0
+ width: 100%
+ line-height: 140%
+ white-space: nowrap
+ 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
+ &.implication
+ background: $implied-pool-background-color
+ color: $implied-pool-text-color
+ &.new
+ background: $new-pool-background-color
+ color: $new-pool-text-color
+ &.duplicate
+ background: $duplicate-pool-background-color
+ color: $duplicate-pool-text-color
+ i
+ padding-right: 0.4em
+
+div.pool-input, ul.compact-pools
+ .pool-usages, .pool-weight, .remove-pool
+ color: $inactive-link-color
+ unselectable()
+ .pool-usages, .pool-weight
+ font-size: 90%
+ .pool-usages, .pool-weight
+ margin-left: 0.7em
+ .remove-pool
+ margin-right: 0.5em

© 2015 - 2026 Jakob L. Kreuze