bitwarden-estensione-browser/src/scss/base.scss

96 lines
1.6 KiB
SCSS
Raw Normal View History

2018-04-20 04:54:37 +02:00
@import "variables.scss";
2018-01-27 19:12:06 +01:00
* {
box-sizing: border-box;
2018-01-31 22:51:59 +01:00
padding: 0;
margin: 0;
2018-01-27 19:12:06 +01:00
}
html, body {
height: 100%;
font-family: $font-family-sans-serif;
font-size: $font-size-base;
2018-01-31 22:51:59 +01:00
line-height: $line-height-base;
2018-01-27 19:12:06 +01:00
}
2018-05-30 21:21:41 +02:00
body {
@include themify($themes) {
color: themed('textColor');
background-color: themed('backgroundColorAlt2');
}
}
2018-01-27 19:12:06 +01:00
h1, h2, h3, h4, h5, h6 {
font-family: $font-family-sans-serif;
2018-05-30 21:21:41 +02:00
@include themify($themes) {
color: themed('textColor');
}
2018-01-27 19:12:06 +01:00
}
2018-01-30 23:24:02 +01:00
p {
2018-01-31 22:51:59 +01:00
margin-bottom: 10px;
2018-01-30 23:24:02 +01:00
}
2018-02-16 21:03:29 +01:00
ul, ol {
margin-bottom: 10px;
}
2018-01-30 23:24:02 +01:00
img {
border: none;
}
2018-01-27 19:12:06 +01:00
a {
text-decoration: none;
2018-01-31 23:58:06 +01:00
2018-05-30 21:21:41 +02:00
@include themify($themes) {
color: themed('primaryColor');
}
2018-01-31 23:58:06 +01:00
&:hover, &:focus {
2018-05-30 21:21:41 +02:00
@include themify($themes) {
color: darken(themed('primaryColor'), 6%);
}
2018-01-31 23:58:06 +01:00
}
2018-01-27 19:12:06 +01:00
}
2018-04-20 04:54:37 +02:00
input, select, textarea {
2018-05-30 21:21:41 +02:00
@include themify($themes) {
color: themed('textColor');
background-color: themed('inputBackgroundColor');
}
2018-04-20 04:54:37 +02:00
}
2018-01-27 19:12:06 +01:00
input, select, textarea, button {
font-size: $font-size-base;
font-family: $font-family-sans-serif;
}
2018-01-27 20:43:29 +01:00
button {
2018-01-28 00:22:49 +01:00
white-space: nowrap;
2018-02-01 03:13:42 +01:00
cursor: pointer;
2018-01-27 20:43:29 +01:00
}
2018-01-27 19:12:06 +01:00
textarea {
resize: vertical;
}
2018-01-29 18:14:19 +01:00
div:not(.modal)::-webkit-scrollbar {
2018-01-27 19:12:06 +01:00
width: 10px;
height: 10px;
}
2018-01-29 18:14:19 +01:00
div:not(.modal)::-webkit-scrollbar-track {
2018-01-27 19:12:06 +01:00
background-color: transparent;
}
2018-01-29 18:14:19 +01:00
div:not(.modal)::-webkit-scrollbar-thumb {
2018-01-27 19:12:06 +01:00
background-color: rgba(100,100,100,.2);
border-radius: 10px;
margin-right: 1px;
&:hover {
background-color: rgba(100,100,100,.4);
}
}