1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-30 03:50:41 +12:00
uMatrix/src/css/hosts-files.css

183 lines
3.8 KiB
CSS
Raw Normal View History

2014-10-24 12:40:48 +13:00
ul {
padding: 0;
list-style-type: none;
}
ul#options {
margin-top: 0;
}
ul#options li {
margin-bottom: 0.5em;
}
ul#lists {
margin: 0.5em 0 0 0;
2015-05-02 11:27:43 +12:00
padding: 0;
2014-10-24 12:40:48 +13:00
}
2015-05-02 11:27:43 +12:00
li.listEntry {
2014-10-24 12:40:48 +13:00
margin: 0 auto 0 auto;
2015-05-02 11:27:43 +12:00
padding: 0.2em 0;
}
body[dir="ltr"] li.listEntry {
margin-left: 1em;
margin-right: 0em;
}
body[dir="rtl"] li.listEntry {
margin-left: 0em;
margin-right: 1em;
2014-10-24 12:40:48 +13:00
}
2015-05-02 11:27:43 +12:00
li.listEntry > * {
2014-10-24 12:40:48 +13:00
unicode-bidi: embed;
}
2015-05-02 11:27:43 +12:00
li.listEntry > a:nth-of-type(2) {
2014-10-24 12:40:48 +13:00
font-size: 13px;
opacity: 0.5;
}
.dim {
opacity: 0.5;
}
/* I designed the button with: http://charliepark.org/bootstrap_buttons/ */
button.custom {
padding: 5px;
border: 1px solid transparent;
border-color: #80b3ff #80b3ff hsl(216, 100%, 75%);
border-radius: 3px;
background-color: hsl(216, 100%, 75%);
background-image: linear-gradient(#a8cbff, #80b3ff);
background-repeat: repeat-x;
color: #222;
cursor: pointer;
opacity: 0.8;
}
button.custom.disabled {
border-color: #dddddd #dddddd hsl(36, 0%, 85%);
background-color: hsl(36, 0%, 72%);
background-image: linear-gradient(#f2f2f2, #dddddd);
color: #aaa;
pointer-events: none;
}
button.custom:hover {
opacity: 1.0;
}
button.custom.reloadAll:not(.disabled) {
border-color: #ffcc7f #ffcc7f hsl(36, 100%, 73%);
background-color: hsl(36, 100%, 75%);
background-image: linear-gradient(#ffdca8, #ffcc7f);
}
#buttonApply {
display: initial;
2015-05-02 11:27:43 +12:00
padding: 1em 1em;
position: fixed;
2014-10-24 12:40:48 +13:00
top: 1em;
2015-05-02 11:27:43 +12:00
}
body[dir="ltr"] #buttonApply {
right: 1em;
}
body[dir="rtl"] #buttonApply {
left: 1em;
2014-10-24 12:40:48 +13:00
}
#buttonApply.disabled {
display: none;
}
span.status {
border: 1px solid transparent;
2015-05-02 11:27:43 +12:00
color: #444;
2014-10-24 12:40:48 +13:00
display: inline-block;
2015-05-02 11:27:43 +12:00
font-size: smaller;
line-height: 1;
margin: 0 0 0 0.5em;
opacity: 0.8;
padding: 1px 2px;
2014-10-24 12:40:48 +13:00
}
2015-05-02 11:27:43 +12:00
span.unsecure {
background-color: hsl(0, 100%, 88%);
border-color: hsl(0, 100%, 83%);
}
2014-10-24 12:40:48 +13:00
span.purge {
border-color: #ddd;
background-color: #eee;
cursor: pointer;
}
span.purge:hover {
opacity: 1;
}
span.obsolete {
border-color: hsl(36, 100%, 73%);
background-color: hsl(36, 100%, 75%);
}
#externalListsDiv {
margin: 2em auto 0 auto;
2015-05-02 11:27:43 +12:00
}
body[dir="ltr"] #externalListsDiv {
margin-left: 1em;
}
body[dir="rtl"] #externalListsDiv {
margin-right: 1em;
2014-10-24 12:40:48 +13:00
}
#externalHostsFiles {
2015-05-02 11:27:43 +12:00
box-sizing: border-box;
2014-10-24 12:40:48 +13:00
font-size: smaller;
2015-05-02 11:27:43 +12:00
width: 100%;
2014-10-24 12:40:48 +13:00
height: 12em;
2015-05-09 01:02:12 +12:00
white-space: pre;
2014-10-24 12:40:48 +13:00
}
body #busyOverlay {
2015-05-02 11:27:43 +12:00
background-color: transparent;
2014-10-24 12:40:48 +13:00
bottom: 0;
cursor: wait;
display: none;
2015-05-02 11:27:43 +12:00
left: 0;
position: fixed;
right: 0;
top: 0;
2014-10-24 12:40:48 +13:00
z-index: 1000;
}
body.busy #busyOverlay {
display: block;
}
2015-05-02 11:27:43 +12:00
#busyOverlay > div:nth-of-type(1) {
background-color: white;
bottom: 0;
left: 0;
opacity: 0.75;
position: absolute;
right: 0;
top: 0;
}
#busyOverlay > div:nth-of-type(2) {
background-color: #eee;
border: 1px solid transparent;
border-color: #80b3ff #80b3ff hsl(216, 100%, 75%);
border-radius: 3px;
box-sizing: border-box;
height: 3em;
left: 10%;
position: absolute;
bottom: 75%;
width: 80%;
}
#busyOverlay > div:nth-of-type(2) > div:nth-of-type(1) {
background-color: hsl(216, 100%, 75%);
background-image: linear-gradient(#a8cbff, #80b3ff);
background-repeat: repeat-x;
border: 0;
box-sizing: border-box;
color: #222;
height: 100%;
left: 0;
padding: 0;
position: absolute;
width: 25%;
}
#busyOverlay > div:nth-of-type(2) > div:nth-of-type(2) {
background-color: transparent;
border: 0;
box-sizing: border-box;
height: 100%;
left: 0;
line-height: 3em;
overflow: hidden;
position: absolute;
text-align: center;
top: 0;
width: 100%;
}