Update skill on sheet + Update ui and sidebar + Clean Lang

Update skill on sheet
Update ui and sidebar
Clean Lang
This commit is contained in:
Mandar
2020-12-11 22:33:19 +01:00
parent 8f59902130
commit 03f8cd8dd1
41 changed files with 728 additions and 390 deletions

View File

@@ -1,38 +1,82 @@
/* SCSS */
button {
font-size: 0.75rem;
}
// sidebar
#sidebar {
padding: 0.5rem 0.25rem 0.5rem 0.5rem;
background-position: top;
background-size: 100%;
background-repeat: no-repeat;
background: url("../assets/ui/bgSidebar.png") no-repeat;
top: 0;
height: 100%;
padding: 0.5rem;
background: url(../assets/ui/bgSidebar.webp) no-repeat;
border: 1px solid rgb(195, 165, 130);
border-radius: 0;
overflow: initial;
height: calc(100% - 1rem);
top: 0.5rem;
min-width: 40px;
&: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 1rem;
flex: 0 0 2rem;
box-sizing: border-box;
margin: 0 0 0.25rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.25);
border-bottom: 1px solid rgba(195, 165, 130, 0.5);
box-shadow: none;
> .item {
line-height: 27px;
line-height: 1.6rem;
border-radius: 100%;
margin: 0;
flex: 0 0 27px;
height: 27px;
.active {
flex: 0 0 1.6rem;
height: 1.6rem;
&.active, &:hover {
border: 1px solid $orange;
box-shadow: 0 0 6px $orange;
}
}
.collapse {
position: relative;
flex: 0 0 1.5rem;
line-height: 1.5rem;
color: rgb(195, 165, 130);
text-align: center;
}
}
.sidebar-tab {
.action-buttons button {
cursor: default;
color: $white;
background: linear-gradient(
$l5r5e-linear-gradient-green,
$l5r5e-linear-gradient-green-dark,
$l5r5e-linear-gradient-green
);
background-origin: padding-box;
border-image: url("../assets/ui/macro-button.webp") 10 repeat;
border-image-width: 0.25rem;
border-image-outset: 0px;
&:hover {
background: linear-gradient(
$l5r5e-linear-gradient-green-dark,
$l5r5e-linear-gradient-green,
$l5r5e-linear-gradient-green-dark
);
}
}
}
.message-sender {
color: $l5r5e-red;
}
.chat-control-icon {
cursor: url(../l5r-ui/ui/cursors/pointer.webp), pointer;
}
}
// hotbar
@@ -47,24 +91,26 @@
border-image-outset: 0;
border-radius: 0;
.macro-key {
background: transparent;
background: $l5r5e-black;
}
}
#macro-list {
background: $black;
margin: 0;
padding: 0.05rem;
border: none;
border-radius: 0;
background-position: center;
background-size: 100%;
background: url(../assets/ui/bgSidebar.webp) no-repeat;
background-origin: padding-box;
border-image: url("../assets/ui/macro-button.webp") 15 repeat;
border-image-width: 0.5rem;
border-image-outset: 0px;
border: 0 none;
box-shadow: 0.25rem 0.25rem 0.5rem $black;
}
}
.bar-controls {
background: $black;
background-position: center;
background-size: 100%;
background: url(../assets/ui/bgSidebar.webp) no-repeat;
background-origin: padding-box;
border-image: url("../assets/ui/macro-button.webp") 15 repeat;
border-image-width: 0.5rem;
@@ -82,7 +128,12 @@
// players
#players {
background: $black;
border-radius: 0;
background-position: center;
background-size: 100%;
background: url(../assets/ui/bgSidebar.webp) no-repeat;
background-origin: padding-box;
border: 1px solid rgb(195, 165, 130);
background-origin: padding-box;
border-image: url("../assets/ui/macro-button.webp") 15 repeat;
border-image-width: 0.5rem;
@@ -132,6 +183,13 @@
border-image: url("../assets/ui/macro-button.webp") 10 repeat;
border-image-width: 0.25rem;
border-image-outset: 0px;
&:hover {
background: linear-gradient(
$l5r5e-linear-gradient-blue-dark,
$l5r5e-linear-gradient-blue,
$l5r5e-linear-gradient-blue-dark
);
}
}
#scene-list {
.scene.nav-item.active {
@@ -140,6 +198,13 @@
$l5r5e-linear-gradient-red-dark,
$l5r5e-linear-gradient-red
);
&:hover {
background: linear-gradient(
$l5r5e-linear-gradient-red-dark,
$l5r5e-linear-gradient-red,
$l5r5e-linear-gradient-red-dark
);
}
}
.scene.view,
.scene.context {
@@ -155,6 +220,13 @@
border-image-width: 0.25rem;
border-image-outset: 0px;
box-shadow: 0 0 20px red;
&:hover {
background: linear-gradient(
$l5r5e-linear-gradient-red-dark,
$l5r5e-linear-gradient-red,
$l5r5e-linear-gradient-red-dark
);
}
}
}
}
@@ -176,6 +248,13 @@
border-image-width: 0.25rem;
border-image-outset: 0px;
box-shadow: 0 0 10px $red;
&:hover {
background: linear-gradient(
$l5r5e-linear-gradient-red-dark,
$l5r5e-linear-gradient-red,
$l5r5e-linear-gradient-red-dark
);
}
}
.scene-control,
.control-tool {
@@ -188,5 +267,95 @@
border-image: url("../assets/ui/macro-button.webp") 10 repeat;
border-image-width: 0.25rem;
border-image-outset: 0px;
&:hover {
background: linear-gradient(
$l5r5e-linear-gradient-blue-dark,
$l5r5e-linear-gradient-blue,
$l5r5e-linear-gradient-blue-dark
);
}
}
}
// Chat-Message
.chat-message {
background-image: url("../assets/ui/chat-texture.webp");
.message-header {
line-height: 2rem;
border-bottom: 1px solid rgba(0,0,0,0.1);
margin-bottom: 0.25rem;
}
}
/* #region Chat log */
/* differentiate public roll from private or blind.
Private uses class whisper, blind uses class blind AND whisper, Self Roll
uses class whisper (identical to Private Roll for CSS) */
#chat-log .message.whisper {
font-style: italic;
}
#chat-log .message.whisper .message-header .message-metadata::before{
color: rgba(88, 88, 88, 0.25);
content: " (Private Roll) ";
float: left;
}
#chat-log .message.blind .message-header .message-metadata::before{
color: rgba(88, 88, 88, 0.25);
content: " (Blind Roll) " !important;
float: left;
}
// Playlist
#playlists {
.playlist {
.playlist-header {
h4 {
font: 0.75rem $font-primary;
text-transform: uppercase;
text-align: right;
}
}
}
}
// Settings
#settings button {
cursor: default;
color: $white;
background: linear-gradient(
$l5r5e-linear-gradient-blue,
$l5r5e-linear-gradient-blue-dark,
$l5r5e-linear-gradient-blue
);
background-origin: padding-box;
border-image: url("../assets/ui/macro-button.webp") 10 repeat;
border-image-width: 0.25rem;
border-image-outset: 0px;
&:hover {
background: linear-gradient(
$l5r5e-linear-gradient-blue-dark,
$l5r5e-linear-gradient-blue,
$l5r5e-linear-gradient-blue-dark
);
}
}
// Combat
#combat {
#combat-round {
.encounters {
h3 {font-size: 0.75rem;}
}
}
}
// Dialog
.dialog {
.dialog-buttons {
button {line-height: 1rem;}
}
}