summaryrefslogtreecommitdiff
path: root/web-ui/app/scss/views/_action-bar.scss
blob: 40e677b044db1b1cd8693f2ab082f1a45491dcff (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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
#top-pane {
    height: auto;
    overflow: hidden;
    background: $top_pane;
    border-top: 1px solid $top_pane;

    #list-actions {
        width: 100%;
        height: 34px;
        margin: 0;
        border-top: 1px solid $white;
        border-bottom: 2px solid lighten($top_pane, 30%);
        background: $white;
        clear: both;
        overflow: hidden;
        padding-left: 10px;

        li {
            display: inline-block;
            margin: 1px -3px;
            vertical-align: top;

            input[type=checkbox] {
                @include check-box;

                margin: 7px 13px 7px;
            }

            select {
                padding: 1px 3px;
                margin: 0;
            }

            input[type=button] {
                margin: 2px;
                padding: 4px 10px;
                background: $background_light_grey;
                color: $dark_grey;
                text-transform: uppercase;
                font-weight: 400;
                font-size: 0.8em;
                opacity: 0.7;
                border: 1px solid darken($contrast, 10%);

                @include border-radius(1px);

                @include btn-transition;

                &:hover {
                    opacity: 1;
                }

                &[disabled=disabled] {
                    opacity: 0.5;
                    cursor: default;
                }
            }
        }

        #pagination-trigger {
            cursor: pointer;
            margin: 4px 12px 0 5px;

            span {
                padding-left: 5px;
            }
        }
    }

    #compose-search-trigger {
        padding: 4px;
    }

    #actions {
        ul {
            margin: 0;

            li {
                display: inline-block;
                margin-right: -5px;

                a {
                    transition: background-color 150ms ease-out;
                    background: $top_pane;
                    color: $white;
                    font-size: 1.5em;
                    display: block;
                    padding: 14px 20px;
                    margin: 0 1px 0px;
                    opacity: 0.35;

                    &.selected {
                        background: $top_pane;
                        opacity: 1;
                        cursor: default;
                    }

                    &:hover {
                        opacity: 1;
                    }
                }
            }
        }
    }

    #search-trigger {
        padding: 5px;
        padding-left: 0;

        input {
            margin: 0;
            padding: 8px 30px;
            color: $navigation_background;
            background: white;
            border: none;
            transition: background-color 150ms ease-out;

            &:hover {
                background: darken(white, 2%);
            }

            &:focus {
                background: darken(white, 5%);
            }
        }

        form:before {
            font-family: "FontAwesome";
            content: "\f002";
            position: absolute;
            padding: 0 10px;
            top: 15px;
            color: $medium_light_grey;
        }
    }
}

#refresh-mails-trigger {
    i {
        margin-top: 3px;
        cursor: pointer;
        opacity: 0.9;
        padding: 4px;

        &:hover {
            opacity: 1;

            &:after {
                content: "\f021";
            }

            &:before {
                content: attr(data-label);
                font-size: 0.8em;
                padding-right: 5px;
            }
        }
    }
}