uBlock/src/css/cloud-ui.css

93 lines
1.9 KiB
CSS
Raw Normal View History

2015-08-12 00:49:36 +02:00
#cloudWidget {
background: url("../img/cloud.png") hsl(216, 100%, 93%);
border-radius: 3px;
margin: 0.5em 0;
padding: 1em;
position: relative;
}
#cloudWidget.hide {
display: none;
}
#cloudWidget > button {
2016-01-08 17:08:53 +01:00
display: inline-block;
2015-08-12 00:49:36 +02:00
font-family: FontAwesome;
2016-01-08 17:08:53 +01:00
font-size: 160%;
2015-08-12 00:49:36 +02:00
font-style: normal;
font-weight: normal;
line-height: 1;
2016-01-08 17:08:53 +01:00
padding: 0.2em 0.25em 0.1em 0.25em;
position: relative;
2015-08-12 00:49:36 +02:00
vertical-align: baseline;
}
2016-01-08 17:08:53 +01:00
#cloudWidget > button[disabled] {
visibility: hidden;
2015-08-12 00:49:36 +02:00
}
2016-01-08 17:08:53 +01:00
#cloudPush:after {
2015-08-12 00:49:36 +02:00
content: '\f0ee';
}
2016-01-08 17:08:53 +01:00
#cloudPull:before,
#cloudPullAndMerge:before {
2015-08-12 00:49:36 +02:00
content: '\f0ed';
2016-01-08 17:08:53 +01:00
}
#cloudPullAndMerge:after {
content: '\f067';
font-size: 50%;
position: absolute;
right: 0;
top: 10%;
2015-08-12 00:49:36 +02:00
}
#cloudWidget > span {
color: gray;
display: inline-block;
font-size: 90%;
margin: 0 1em;
padding: 0;
vertical-align: bottom;
white-space: pre;
}
#cloudWidget > .nodata {
}
#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;
}
2015-08-12 00:49:36 +02:00
#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;
}