summaryrefslogtreecommitdiffstats
path: root/client/components/boards/header.styl
blob: 44c38a4b4f191236ad0aedad0f3dc6f76f323c17 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
@import 'nib'

.board-header {
    height: auto;
    overflow: hidden;
    padding: 10px 30px 10px 8px;
    position: relative;
    transition: padding .15s ease-in;
}

.board-header-btns {
    position: relative;
    display: block;
}

.board-header-btn {
    border-radius: 3px;
    color: #f6f6f6;
    cursor: default;
    float: left;
    font-size: 12px;
    height: 30px;
    line-height: 32px;
    margin: 2px 4px 0 0;
    overflow: hidden;
    padding-left: 30px;
    position: relative;
    text-decoration: none;
}

.board-header-btn:empty {
    display: none;
}

.board-header-btn-without-icon {
    padding-left: 8px;
}

.board-header-btn-icon {
    background-clip: content-box;
    background-origin: content-box;
    color: #f6f6f6 !important;
    padding: 6px;
    position: absolute;
    top: 0;
    left: 0;
}

.board-header-btn-text {
    padding-right: 8px;
}

.board-header-btn:not(.no-edit) .text {
    text-decoration: underline;
}

.board-header-btn:not(.no-edit):hover {
    background: rgba(0, 0, 0, .12);
    cursor: pointer;
}

.board-header-btn:hover {
    color: #f6f6f6;
}

.board-header-btn.board-header-btn-enabled {
    background-color: rgba(0, 0, 0, .1);

    &:hover {
        background-color: rgba(0, 0, 0, .3);
    }

    .board-header-btn-icon.icon-star {
        color: #e6bf00 !important;
    }
}

.board-header-btn-name {
    cursor: default;
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    padding-left: 4px;
    text-decoration: none;

    .board-header-btn-text {
        padding-left: 6px;
    }
}

.board-header-btn-name-org-logo {
    border-radius: 3px;
    height: 30px;
    left: 0;
    position: absolute;
    top: 0;
    width: 30px;

    .board-header-btn-text {
        padding-left: 32px;
    }
}

.board-header-btn-org-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 400px;
}

.board-header-btn-filter-indicator {
    background: #3d990f;
    padding-right: 30px;
    color: #fff;
    text-shadow: 0;

    &:hover {
        background: #43a711 !important;
    }

    .board-header-btn-icon-close {
        background: #43a711;
        border-top-left-radius: 0;
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px;
        border-bottom-left-radius: 0;
        color: #fff;
        padding: 6px;
        position: absolute;
        right: 0;
        top: 0;

        &:hover {
            background: #48b512;
        }
    }
}