yaru.css/scss/yaru-light.scss

160 lines
2.8 KiB
SCSS
Raw Normal View History

@import 'colors-light';
@import 'font';
2024-12-05 07:18:52 +00:00
@import 'palette';
$variant: 'light';
html {
scroll-behavior: smooth;
}
body {
background-color: $bg_color;
color: $fg_color;
font-family: "Ubuntu", sans-serif;
font-weight: 300;
font-style: normal;
margin: 10px;
};
h1 {
font-weight: 700;
font-style: normal;
};
h2 {
font-weight: 500;
font-style: normal;
};
h3 {
font-weight: 400;
font-style: normal;
};
button {
min-height: 32px;
padding-left: 8px;
padding-right: 8px;
border: 0px solid;
border-radius: 6px;
border-spacing: 6px;
transition: all 200ms ease-out;
background-color: $base_color;
color: $text_color;
};
button:hover {
min-height: 32px;
padding-left: 8px;
padding-right: 8px;
border: 0px solid;
border-radius: 6px;
border-spacing: 6px;
transition: all 200ms ease-out;
background-color: $menu_selected_color;
color: $text_color;
};
.header {
position: fixed;
top: 0;
z-index: 1000;
width: 100%;
padding: 10px;
background-color: $headerbar_bg_color;
color: $text_color;
text-align: center;
font-weight: 500;
border-radius: 6px;
}
2024-12-05 07:18:52 +00:00
.sidebar {
position: fixed;
top: 50px;
2024-12-05 07:18:52 +00:00
width: 200px;
height: calc(100vh - 50px);
2024-12-05 07:18:52 +00:00
background-color: $porcelain;
color: $text_color;
border-radius: 0 20px 20px 0;
padding: 20px;
display: flex;
flex-direction: column;
gap: 10px;
overflow-y: hidden;
2024-12-05 07:18:52 +00:00
}
.sb_button {
min-height: 48px;
width: 185px;
padding-left: 8px;
padding-right: 8px;
border: 0px solid;
border-radius: 6px;
border-spacing: 6px;
transition: all 200ms ease-out;
background-color: $base_color;
color: $text_color;
};
.sb_button:hover {
min-height: 48px;
width: 185px;
padding-left: 8px;
padding-right: 8px;
border: 0px solid;
border-radius: 6px;
border-spacing: 6px;
transition: all 200ms ease-out;
background-color: $menu_selected_color;
color: $text_color;
};
.box {
display: flex;
height: 100vh;
};
.box-content-1 {
flex: 1;
padding: 20px;
background-color: $bg_color;
overflow-y: auto;
}
.box-v {
display: flex;
flex-direction: column;
gap: 15px;
align-items: flex-start;
padding: 20px;
background-color: $bg_color;
max-width: 400px;
margin: auto;
}
.col-btn {
display: flex;
flex-direction: column;
width: 200px;
}
.col-btn:first-child {
background-color: $porcelain;
border-top-left-radius: 6px;
border-top-right-radius: 6px;
}
.col-btn:not(:first-child):not(:last-child) {
border-radius: 0;
background-color: $porcelain;
}
.col-btn:last-child {
background-color: $porcelain;
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
}