// -- Dices.scss .dice-roll { .dice-formula, .dice-total { background: rgba(255, 255, 255, 0.1); border: rgba(255, 255, 255, 0.75); text-align: center; margin: 0.5rem 0; padding: 0.25rem 0.5rem 0.25rem 0.25rem; &-rnk { line-height: 2rem; i { margin-left: 0.5rem; } } } button { &.chat-dice-rnk { cursor: default; color: $white; background: linear-gradient( $l5r5e-linear-gradient-third, $l5r5e-linear-gradient-third-dark, $l5r5e-linear-gradient-third ); background-origin: padding-box; border-image: url("../assets/ui/macro-button.webp") 10 repeat; border-image-width: 0.5rem; border-image-outset: 0px; margin: 0.5rem 0 0; &:hover { background: linear-gradient( $l5r5e-linear-gradient-first-dark, $l5r5e-linear-gradient-first, $l5r5e-linear-gradient-first-dark ); } } } .dice-result-rnk { background: rgba(0, 0, 255, 0.1); border: 1px solid rgba(55, 55, 155, 0.75); padding: 0.25rem; color: rgba(55, 55, 155, 0.75); text-align: center; font-weight: bold; text-shadow: 0 0 0 $black; &.success { background: rgba(0, 255, 0, 0.1); border-color: rgba(55, 155, 55, 0.75); color: rgba(55, 155, 55, 0.75); i.i_success { font-size: 1rem; } } &.unknown { background: rgba(121, 121, 121, 0.1); border-color: rgba(124, 124, 124, 0.75); color: rgba(91, 91, 91, 0.75); } &.fail { background: rgba(255, 0, 0, 0.1); border-color: rgba(155, 55, 55, 0.75); color: rgba(155, 55, 55, 0.75); } } } // If DicePicker add a pointer .dice-picker { cursor: url("../assets/cursors/pointer.webp"), pointer; } // Dice Picker .dice-picker-dialog { min-width: 600px; min-height: auto; // 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; border: 0 none; margin: 0; padding: 0; tbody { tr { td { width: 250px; padding: 0 0.5rem; &:first-child, &:last-child { width: 150px; } } &:last-child { td { width: 100%; padding: 0.5rem; } } } } } .pointer-choice { cursor: url("../assets/cursors/pointer.webp"), pointer; } // Approach choice .ring-selection { &.ring-selected { i { text-shadow: 0px 1px 1px $red; } strong { color: $red-light; } input { border: 2px solid $red-light !important; } } } .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; } } } .roll-n-keep-dialog { min-width: 600px; max-width: 800px; &.finalized { width: auto; min-width: 400px; } img { border: 0; } table { border: 0 none; margin: 0; padding: 0; } .rnk-ct { margin: 0.75rem 0 0; display: flex; flex-wrap: wrap; background: rgba(0, 0, 0, 0.05); border: 1px solid rgba(186, 187, 177, 0.5); .rnk-center { flex: 350px; flex-wrap: wrap; display: flex; table { display: table; min-height: 9rem; tbody { tr { background: transparent; td { margin: 0; padding: 0; } } } } } } .profil { border-bottom: 1px solid #782e22; } .dropbox { position: relative; min-height: 7rem; legend { i:last-child { position: absolute; top: 1rem; right: 0; } } &.faces-change { min-height: 40px; margin: 0.5rem auto; } &.discards { border: 1px solid gray; } &.rerolls { border: 1px solid orangered; } &.keeps { flex: 100%; border: 1px solid green; } &.swap { flex: 0 0 calc(100px + 1rem); border: 1px solid fuchsia; } &.discards, &.rerolls { flex: 0 0 calc(50% - 0.5rem); margin-bottom: 0.5rem; } } /* Dice Marker */ .dice-ct { position: relative; padding: 0.25rem; &:after { content: "\f128"; position: absolute; bottom: 0; right: 0; border-radius: 0.15rem; padding: 0 0.1rem 0 0.15rem; font-size: 0.65rem; line-height: 1rem; width: 0.65rem; text-align: center; color: white; background: gray; } &.discard { filter: opacity(0.5); &:after { content: "\f00d"; background: gray; } } &.reroll { filter: opacity(0.5); &:after { content: "\f2f9"; background: orangered; } } &.keep { &:after { content: "\f00c"; background: green; } } &.swap { &:after { content: "\f337"; background: fuchsia; } } } .dice { height: 40px; width: 40px; &.discard { filter: opacity(0.5); border: 0 none; } &.reroll { filter: opacity(0.5); border: 0 none; } &.keep { border: 0 none; } &.swap { border: 0 none; } } #finalize { width: 100%; margin: 0.5rem 0.25rem 0.25rem; } .section-header { i { font-size: 0.75rem; margin: 0 0.25rem; } } .fa-sign-in-alt { transform: rotate(90deg); } } #l5r5e-gm-tools-dialog { //bottom: 0; //right: 0.5rem; display: flex; background-position: center; background-size: 100%; background: linear-gradient( $l5r5e-linear-gradient-second, $l5r5e-linear-gradient-second-dark, $l5r5e-linear-gradient-second ); background-origin: padding-box; border: 1px solid rgb(195, 165, 130); background-origin: padding-box; border-image: url("../assets/ui/macro-button.webp") 10 repeat; border-image-width: 0.5rem; border-image-outset: 0px; padding: 0; margin: 0.5rem; .window-header { text-align: center; border-bottom: 1px solid rgb(195, 165, 130); h4 { letter-spacing: 0.25rem; line-height: 2.25rem; color: $white-light; } } .window-content { text-align: center; vertical-align: middle; background: transparent; color: $white-light; form { padding: 0; } .gm-tools-container { display: flex; font-size: 2rem; line-height: 2rem; min-height: 2rem; margin: 0; li { flex: 1; display: flex; margin: 0; padding: 0; border-right: 1px solid #c3a582; cursor: url("../assets/cursors/pointer.webp"), pointer; &:last-child { margin: 0; border: 0 none; } :hover { text-shadow: 0 0 $red; } } .difficulty_hidden { .fa { width: 3rem; } .difficulty { flex: 1rem; width: 2rem; font-size: 2rem; text-align: center; margin: 0; padding: 0.5rem; } } .fa { padding: 0.5rem; } .fa-bed, .fa-star-half-alt { width: 100%; padding: 0.5rem; } } } // hide "search anywhere" draggable icon .window-draggable-handle { display: none; } } .dice-picker-dialog, .roll-n-keep-dialog { button { cursor: default; color: $white; background: linear-gradient( $l5r5e-linear-gradient-third, $l5r5e-linear-gradient-third-dark, $l5r5e-linear-gradient-third ); background-origin: padding-box; border-image: url("../assets/ui/macro-button.webp") 10 repeat; border-image-width: 0.5rem; border-image-outset: 0px; margin: 0.5rem 0 0; &:hover { background: linear-gradient( $l5r5e-linear-gradient-first-dark, $l5r5e-linear-gradient-first, $l5r5e-linear-gradient-first-dark ); } &[disabled] { opacity: 0.25; &:hover { box-shadow: none; } } } }