Fixing css for v9

This commit is contained in:
Vlyan
2022-01-07 12:26:17 +01:00
parent 71e2985c70
commit 2c2ebc1caa
3 changed files with 35 additions and 33 deletions

View File

@@ -18,22 +18,24 @@ button {
border: 1px solid rgb(195, 165, 130);
border-radius: 0;
overflow: initial;
height: calc(100% - 0.8rem);
top: 0.5rem;
min-width: 320px;
height: calc(100% - 1.1rem);
top: 0.2rem;
width: 320px;
min-width: 40px;
letter-spacing: 0.1rem;
// TODO second border
//&:before {
// z-index: -1;
// content: "";
// position: relative;
// height: calc(100% + 0.6rem);
// width: 100%;
// border: 1px solid rgb(195, 165, 130);
// border-radius: 0;
// top: -0.35rem;
// left: 0.25rem;
//}
position: relative;
margin-right: 0.5rem;
&:before {
z-index: -1;
content: "";
position: absolute;
height: calc(100% + 0.6rem);
width: 100%;
border: 1px solid rgb(195, 165, 130);
border-radius: 0;
top: -0.35rem;
left: 0.25rem;
}
#sidebar-tabs {
flex: 0 0 2rem;
box-sizing: border-box;
@@ -415,24 +417,24 @@ button {
border-image: url("../assets/ui/macro-button.webp") 15 repeat;
border-image-width: 0.5rem;
border-image-outset: 0px;
//margin: 0;
margin: 0;
padding: 0;
left: 1.15rem;
left: 0.2rem;
bottom: 0.65rem;
box-shadow: inset 0 0 0.5rem $black-light;
// TODO logo l5r players
//&:before {
// z-index: -1;
// position: relative;
// content: "";
// background: transparent url("../assets/ui/players-border.webp") no-repeat 0 0;
// background-size: 100%;
// display: block;
// top: -12px;
// right: 10%;
// left: 10%;
// bottom: 0;
//}
position: relative;
&:before {
z-index: -1;
position: absolute;
content: "";
background: transparent url("../assets/ui/players-border.webp") no-repeat 0 0;
background-size: 100%;
display: block;
top: -12px;
right: 10%;
left: 10%;
bottom: 0;
}
}
// logo
@@ -441,7 +443,7 @@ button {
height: 80px;
width: 88px;
margin-left: 0.5rem;
opacity: 0.9;
opacity: 0.8;
}
// navigation