aboutsummaryrefslogtreecommitdiffstats
path: root/css/cloud-ui.css
blob: 64dea4060d3cf915cd74cb1a20510bedd6578e83 (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
/*******************************************************************************

    ηMatrix - a browser extension to black/white list requests.
    Copyright (C) 2019-2020 Alessio Vanni

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see {http://www.gnu.org/licenses/}.

    Home: https://libregit.spks.xyz/heckyel/ematrix
    uMatrix Home: https://github.com/gorhill/uMatrix
*/

#cloudWidget {
    background: url("../img/cloud.png") hsl(216, 100%, 93%);
    border-radius: 3px;
    margin: 0.5em 0;
    padding: 1em 1em 0 1em;
    position: relative;
}
#cloudWidget.hide {
    display: none;
}
#cloudWidget > button {
    display: inline-block;
    font-family: FontAwesome;
    font-size: 160%;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding: 0.2em 0.25em 0.1em 0.25em;
    position: relative;
    vertical-align: baseline;
}
#cloudWidget > button[disabled] {
    visibility: hidden;
}
#cloudWidget > button.error {
    color: red;
}
#cloudPush:after {
    content: '\f0ee';
}
#cloudPull:before,
#cloudPullAndMerge:before {
    content: '\f0ed';
}
#cloudPullAndMerge {
    margin: 0 0.25em;
}
#cloudPullAndMerge:after {
    content: '\f067';
    font-size: 50%;
    position: absolute;
    right: 0;
    top: 10%;
}
#cloudWidget > span {
    color: gray;
    display: inline-block;
    font-size: 90%;
    margin: 0 1em;
    padding: 0;
    vertical-align: bottom;
    white-space: pre;
}
#cloudError {
    color: red;
    margin: 0;
    padding: 0.5em 0;
}
#cloudError > span {
    font-size: x-small;
}
#cloudWidget > #cloudCog {
    cursor: pointer;
    display: inline-block;
    font-size: 110%;
    margin: 0;
    opacity: 0.5;
    padding: 4px;
    position: absolute;
    top: 0;
}
body[dir="ltr"] #cloudWidget > #cloudCog {
    right: 0;
}
body[dir="rtl"] #cloudWidget > #cloudCog {
    left: 0;
}
#cloudWidget > #cloudCog:hover {
    opacity: 1;
}
#cloudWidget > #cloudOptions {
    align-items: center;
    -webkit-align-items: center;
    background-color: rgba(0, 0, 0, 0.75);
    bottom: 0;
    display: none;
    justify-content: center;
    -webkit-justify-content: center;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 2000;
}
#cloudWidget > #cloudOptions.show {
    display: flex;
    display: -webkit-flex;
}
#cloudWidget > #cloudOptions > div {
    background-color: white;
    border-radius: 3px;
    padding: 1em;
    text-align: center;
}