Files
l5rx-chiaroscuro/system/styles/scss/dices.scss
2020-12-12 19:58:17 +01:00

132 lines
2.2 KiB
SCSS

//SCSS
// dices.scss
// Dice in chat
.chat-dice > img {
border: 1px solid transparent;
background-repeat: no-repeat;
background-position: center;
background-size: 100%;
height: 44px;
width: 44px;
//cursor: pointer;
//-webkit-appearance: none;
//appearance: none;
outline: none;
margin: 0;
flex: 0 0 20px;
display: inline-block;
}
.chat-profil {
text-align: center;
vertical-align: middle;
&-stance {
font-size: 40px;
position: relative;
top: 8px;
}
&-element {
flex-wrap: wrap;
flex-grow: 1;
&-skill {
flex-grow: 3;
}
}
}
// Dice Picker
.dice-picker-dialog {
// Utility
* {
transition: none;
}
input[type="text"]:focus,
input[type="text"]:hover {
box-shadow: none !important;
border: none !important;
text-shadow: none !important;
}
img {
border: 0;
}
table {
text-align: center;
background: none;
border: none;
td:first-child {
width: 200px;
}
td {
width: 240px;
}
td:last-child {
width: 200px;
}
}
.pointer-choice {
cursor: url("../l5r-ui/ui/cursors/pointer.webp"), pointer;
}
// Approach choice
.ring-selection {
filter: contrast(10%);
&.ring-selected {
filter: drop-shadow(1px 1px 0 #151515);
}
}
.quantity {
font-size: xx-large;
}
.third {
display: inline-block;
text-align: center;
vertical-align: middle;
}
.dice-container {
position: relative;
text-align: center;
& > img {
height: 40px;
width: 40px;
}
}
.dice-value {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.input-dice {
width: 20px;
color: #0f0f0e;
background: none;
border: none;
font-size: large;
&-ring {
color: #f0f0e0;
}
&-skill {
color: #0f0f0e;
}
}
}