uBlock/src/css/common.css

66 lines
1.6 KiB
CSS
Raw Normal View History

2014-06-24 00:42:43 +02:00
@font-face {
font-family: 'FontAwesome';
font-weight: normal;
font-style: normal;
2015-03-31 15:25:39 +02:00
src: url('fonts/fontawesome-webfont.ttf') format('truetype');
}
2014-06-24 00:42:43 +02:00
.fa {
2015-03-31 15:25:39 +02:00
display: inline-block;
2014-06-24 00:42:43 +02:00
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
line-height: 1;
vertical-align: middle;
2014-06-24 00:42:43 +02:00
}
2015-04-07 18:05:38 +02:00
body {
2015-05-16 18:28:56 +02:00
background-color: white;
color: black;
2016-11-05 19:48:42 +01:00
font: 14px "Noto Sans",sans-serif;
}
textarea {
font-size: 90%;
2015-04-07 18:05:38 +02:00
}
/* I designed the button with: http://charliepark.org/bootstrap_buttons/ */
button.custom {
padding: 0.6em 1em;
border: 1px solid transparent;
border-color: #ccc #ccc #bbb #bbb;
border-radius: 3px;
background-color: hsl(216, 0%, 75%);
background-image: linear-gradient(#f2f2f2, #dddddd);
background-repeat: repeat-x;
color: #000;
opacity: 0.8;
}
button.custom.disabled,
button.custom[disabled] {
border-color: #ddd #ddd hsl(36, 0%, 85%);
background-color: hsl(36, 0%, 72%);
background-image: linear-gradient(#f2f2f2, #dddddd);
color: #666;
opacity: 0.6;
pointer-events: none;
}
button.custom:hover {
opacity: 1.0;
}
button.important {
2015-07-01 00:02:29 +02:00
padding: 0.6em 1em;
border: 1px solid transparent;
border-color: #ffcc7f #ffcc7f hsl(36, 100%, 73%);
border-radius: 3px;
background-color: hsl(36, 100%, 75%);
background-image: linear-gradient(#ffdca8, #ffcc7f);
background-repeat: repeat-x;
color: #222;
opacity: 0.8;
}
button.important:hover {
opacity: 1.0;
}
.hiddenFileInput {
2015-04-07 18:05:38 +02:00
height: 0;
visibility: hidden;
width: 0;
}