clear-urls-browser-extension/popup_style.css

160 lines
2.2 KiB
CSS
Raw Normal View History

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