summaryrefslogtreecommitdiff
path: root/client/css/post-metric-input.styl
blob: 2d4046ba5c49d261dc17e59901f7813d875924f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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