clear-urls-browser-extension/popup_style.css
astaar 2287c7041f Ultra commit
jeeeeez
2017-08-06 18:34:02 +02:00

160 lines
2.2 KiB
CSS

body {
margin: 0;
background: #fff;
min-width: 500px;
max-width: 600px;
max-height: 400px;
overflow-y: auto;
overflow-x: hidden;
font-family: "Arial";
}
img {
display: block;
margin: auto;
}
#main {
white-space: nowrap;
}
#content {
display: inline-block;
margin: 10px 10px 20px 10px;
width: calc(100% - 20px);
font-size: 14pt;
}
.header {
display: block;
background-color: #4a4a4a;
color: #dedede;
font-size: 11pt;
text-align: center;
padding: 2px 0px 2px 0px;
margin: 5px 0px 5px 0px;
}
#default::after, #presets::after, .element::after, #rules::after, #addRuleOuter::after, #addRuleInner::after {
content: " ";
clear: both;
display: table;
}
#global {
width: 165px;
float: left;
}
.status {
display: block;
width: 145px;
height: 145px;
margin: 15px auto;
padding: 0px;
background: none;
border: none;
}
.status:hover {
filter: brightness(90%);
}
.statusEnabled {
background-image: url("icon128_o.png");
}
.statusDisabled {
background-image: url("icon128_g.png");
}
#individual {
width: calc(100% - 185px);
margin-left: 20px;
float: right;
}
#presets, #rules, #addRuleOuter {
margin: 10px 0px 0px 10px;
}
#custom {
margin-top: 20px;
width: 100%;
display: block;
float: left;
}
#addRuleInner {
margin-top: 5px;
}
#addRuleField {
float: left;
width: calc(100% - 55px);
height: 23px;
margin-top: 1px;
outline: 1px solid #000;
}
#inputField {
margin: 0px;
padding: 0px 5px 0px 5px;
width: calc(100% - 10px);
height: calc(100% - 2px);
border: none;
}
#addRuleBtn {
width: 45px;
height: 25px;
padding: 3px 0px 3px 0px;
float: right;
background-color: #b5e61d;
border: none;
border-radius: 5px;
}
#addRuleBtn:hover {
background-color: #96d160;
}
.element {
margin-top: 10px;
}
.switch {
width: 50px;
height: 26px;
padding: 0px;
float: left;
background: none;
border: none;
}
.switchEnabled {
background-image: url("switchEnabled.png");
}
.switchDisabled {
background-image: url("switchDisabled.png");
}
.textElement {
width: calc(100% - 60px);
margin-left: 10px;
float: right;
overflow: hidden;
text-overflow: ellipsis;
}