1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

organize scss

This commit is contained in:
Kyle Spearrin
2018-01-27 13:12:06 -05:00
parent 0d3f631503
commit 84d1591fce
6 changed files with 473 additions and 465 deletions

60
src/scss/base.scss Normal file
View File

@@ -0,0 +1,60 @@
@import "variables.scss";
* {
box-sizing: border-box;
}
html, body {
margin: 0;
padding: 0;
height: 100%;
background-color: $background-color;
overflow: hidden;
font-family: $font-family-sans-serif;
font-size: $font-size-base;
color: $text-color;
line-height: 1.42857143;
}
body {
border-top: 1px solid $border-color-dark;
}
h1, h2, h3, h4, h5, h6 {
font-family: $font-family-sans-serif;
margin: 0;
padding: 0;
}
a {
color: $brand-primary;
text-decoration: none;
}
input, select, textarea, button {
font-size: $font-size-base;
font-family: $font-family-sans-serif;
}
textarea {
resize: vertical;
}
div::-webkit-scrollbar {
width: 10px;
height: 10px;
}
div::-webkit-scrollbar-track {
background-color: transparent;
}
div::-webkit-scrollbar-thumb {
background-color: rgba(100,100,100,.2);
border-radius: 10px;
margin-right: 1px;
&:hover {
background-color: rgba(100,100,100,.4);
}
}