mirror of
https://github.com/billsonnn/nitro-react.git
synced 2025-01-31 18:32:36 +01:00
323 lines
6.6 KiB
SCSS
323 lines
6.6 KiB
SCSS
.layout-grid-item {
|
|
height: var(--nitro-grid-column-min-height, 45px);
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-color: $grid-bg-color;
|
|
|
|
&.active {
|
|
border-color: $grid-active-border-color !important;
|
|
|
|
&:not(.clear-bg) {
|
|
background-color: $grid-active-bg-color !important;
|
|
}
|
|
}
|
|
|
|
&.disabled {
|
|
cursor: not-allowed;
|
|
|
|
img {
|
|
opacity: .5;
|
|
filter: grayscale(1);
|
|
}
|
|
}
|
|
|
|
&.unseen {
|
|
background-color: rgba($success, 0.4);
|
|
}
|
|
|
|
.avatar-image {
|
|
background-position-y: -35px;
|
|
}
|
|
|
|
&.has-highlight {
|
|
|
|
&:after {
|
|
content: "";
|
|
z-index: 2;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 50%;
|
|
background-color: $white;
|
|
opacity: 0.1;
|
|
}
|
|
}
|
|
}
|
|
|
|
.nitro-room-thumbnail-camera {
|
|
width: 132px;
|
|
height: 192px;
|
|
background-image: url('../assets/images/room-widgets/thumbnail-widget/thumbnail-camera-spritesheet.png');
|
|
|
|
.camera-frame {
|
|
position: absolute;
|
|
width: 110px;
|
|
height: 110px;
|
|
margin-top: 38px;
|
|
margin-left: 3px;
|
|
}
|
|
}
|
|
|
|
.nitro-layout-trophy {
|
|
position: relative;
|
|
width: 340px;
|
|
height: 173px;
|
|
color: black;
|
|
pointer-events: all;
|
|
|
|
background-position: 0px 0px;
|
|
background-image: url('../assets/images/room-widgets/trophy-widget/trophy-spritesheet.png');
|
|
|
|
&.trophy-2 {
|
|
background-position: 0px 173px;
|
|
}
|
|
|
|
&.trophy-3 {
|
|
background-position: 0px 346px;
|
|
}
|
|
|
|
.trophy-header {
|
|
.trophy-close {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
width: 15px;
|
|
height: 15px;
|
|
top: 5px;
|
|
right: 5px;
|
|
}
|
|
|
|
.trophy-title {
|
|
padding-top: 3px;
|
|
}
|
|
}
|
|
|
|
.trophy-content {
|
|
width: 297px;
|
|
height: 110px;
|
|
margin-top: 3px;
|
|
margin-left: 23px;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.trophy-footer {
|
|
width: 297px;
|
|
margin-top: 5px;
|
|
margin-left: 23px;
|
|
}
|
|
}
|
|
|
|
.nitro-gift-card {
|
|
width: 306px;
|
|
height: 159px;
|
|
background: url('../assets/images/gift/gift_tag.png') center no-repeat;
|
|
|
|
.gift-face {
|
|
width: 65px;
|
|
|
|
.gift-incognito {
|
|
width: 37px;
|
|
height: 48px;
|
|
background: url('../assets/images/gift/incognito.png') center no-repeat;
|
|
}
|
|
|
|
.gift-avatar {
|
|
position: relative;
|
|
overflow: hidden;
|
|
width: 40px;
|
|
height: 50px;
|
|
|
|
.avatar-image {
|
|
position: absolute;
|
|
left: -25px;
|
|
top: -20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.gift-message {
|
|
width: 100%;
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
height: 90px;
|
|
min-height: 90px;
|
|
max-height: 90px;
|
|
border: none;
|
|
resize: none;
|
|
outline: none;
|
|
line-height: 17px;
|
|
}
|
|
}
|
|
|
|
.spinner-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
.spinner {
|
|
margin: 2px;
|
|
width: 10px;
|
|
height: 10px;
|
|
border: $border-width solid $white;
|
|
background-color: rgba($white, 0.8);
|
|
border-radius: 100%;
|
|
display: inline-block;
|
|
-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
|
|
animation: sk-bouncedelay 1.4s infinite ease-in-out both;
|
|
|
|
&:nth-child(1) {
|
|
-webkit-animation-delay: -0.32s;
|
|
animation-delay: -0.32s;
|
|
}
|
|
|
|
&:nth-child(2) {
|
|
-webkit-animation-delay: -0.16s;
|
|
animation-delay: -0.16s;
|
|
}
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes sk-bouncedelay {
|
|
0%, 80%, 100% { -webkit-transform: scale(0) }
|
|
40% { -webkit-transform: scale(1.0) }
|
|
}
|
|
|
|
@keyframes sk-bouncedelay {
|
|
0%, 80%, 100% {
|
|
-webkit-transform: scale(0);
|
|
transform: scale(0);
|
|
} 40% {
|
|
-webkit-transform: scale(1.0);
|
|
transform: scale(1.0);
|
|
}
|
|
}
|
|
|
|
.room-thumbnail {
|
|
position: relative;
|
|
width: 110px;
|
|
height: 110px;
|
|
background: url("../assets/images/navigator/thumbnail_placeholder.png") no-repeat center;
|
|
background-color: rgba($black, .125);
|
|
}
|
|
|
|
.nitro-alert {
|
|
width: 350px;
|
|
|
|
.content-area {
|
|
min-height: 125px;
|
|
max-height: 300px;
|
|
}
|
|
}
|
|
|
|
.nitro-notification-bubble {
|
|
pointer-events: all;
|
|
padding: 6px 5px;
|
|
background-color: rgba($dark,.95);
|
|
box-shadow: inset 0px 5px lighten(rgba($dark,.6),2.5), inset 0 -4px darken(rgba($dark,.6),4);
|
|
font-size: $font-size-sm;
|
|
margin-bottom: 5px;
|
|
|
|
.bubble-image {
|
|
width: 30px;
|
|
height: 30px;
|
|
overflow: hidden;
|
|
object-fit: none;
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
|
|
#draggable-windows-container {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
overflow: hidden;
|
|
|
|
@include media-breakpoint-down(lg) {
|
|
display: flex;
|
|
justify-content: center;
|
|
|
|
.draggable-window {
|
|
top: unset !important;
|
|
left: unset !important;
|
|
transform: none !important;
|
|
}
|
|
}
|
|
|
|
.draggable-window {
|
|
display: inline-block;
|
|
visibility: hidden;
|
|
pointer-events: all;
|
|
}
|
|
}
|
|
|
|
.nitro-currency-icon {
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
|
|
.nitro-item-count {
|
|
top: 2px;
|
|
right: 2px;
|
|
font-size: 8px;
|
|
z-index: 1;
|
|
}
|
|
|
|
.badge-image {
|
|
position: relative;
|
|
width: 40px;
|
|
height: 40px;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
|
|
&.group-badge {
|
|
width: 39px;
|
|
height: 39px;
|
|
|
|
&.scale-2 {
|
|
width: 80px;
|
|
height: 80px;
|
|
}
|
|
}
|
|
|
|
.badge-information {
|
|
display: none;
|
|
}
|
|
|
|
&:hover {
|
|
.badge-information {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.badge-information {
|
|
position: absolute;
|
|
pointer-events: none;
|
|
user-select: none;
|
|
width: 210px;
|
|
border-radius: $border-radius;
|
|
background: $white;
|
|
left: -220px;
|
|
z-index: 100;
|
|
|
|
&:before {
|
|
position: absolute;
|
|
content: ' ';
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 10px solid $white;
|
|
border-bottom: 10px solid transparent;
|
|
border-top: 10px solid transparent;
|
|
top: 10px;
|
|
right: -10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@import './card/NitroCardView';
|