136 lines
No EOL
2 KiB
SCSS
136 lines
No EOL
2 KiB
SCSS
.container-connection-handlers {
|
|
$animation_length: .25s;
|
|
|
|
margin-top: 0;
|
|
height: 0;
|
|
|
|
transition: all $animation_length ease-in-out;
|
|
&.shown {
|
|
margin-top: -4px;
|
|
height: 24px;
|
|
|
|
transition: all $animation_length ease-in-out;
|
|
}
|
|
|
|
background-color: transparent;
|
|
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
|
|
position: relative;
|
|
|
|
.connection-handlers {
|
|
height: 100%;
|
|
width: fit-content;
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: left;
|
|
|
|
overflow-x: auto;
|
|
overflow-y: visible;
|
|
|
|
.connection-container {
|
|
padding-top: 4px;
|
|
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
|
|
height: 24px;
|
|
|
|
.server-icon {
|
|
align-self: center;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.server-name {
|
|
color: #a8a8a8;
|
|
|
|
align-self: center;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.button-close {
|
|
align-self: center;
|
|
|
|
&:hover {
|
|
background-color: #212121;
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
background-color: #242425;
|
|
}
|
|
|
|
&.active {
|
|
background-color: #2d2f32;
|
|
border-bottom: 1px solid #0d9cfd;
|
|
|
|
//-webkit-box-shadow: inset 4px -17px 50px -30px #0d9cfd99;
|
|
//-moz-box-shadow: inset 4px -17px 50px -30px #0d9cfd99;
|
|
//box-shadow: inset 4px -17px 50px -30px #0d9cfd99;
|
|
}
|
|
}
|
|
|
|
&::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.container-scroll {
|
|
margin-top: 5px;
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
|
|
display: none;
|
|
flex-direction: row;
|
|
|
|
&.enabled {
|
|
display: flex;
|
|
}
|
|
|
|
.button-scroll {
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
|
|
|
|
border: 1px #2222223b solid;
|
|
border-radius: 2px;
|
|
background: #e7e7e7;
|
|
padding-left: 2px;
|
|
padding-right: 2px;
|
|
|
|
&:hover {
|
|
background: #eeeeee;
|
|
}
|
|
|
|
&.disabled {
|
|
background: #9e9e9e;
|
|
&:hover {
|
|
background: #9e9e9e;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.scrollbar {
|
|
.connection-handlers {
|
|
width: calc(100% - 45px);
|
|
}
|
|
}
|
|
|
|
} |