mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
462 lines
7.2 KiB
Text
462 lines
7.2 KiB
Text
.control-bar {
|
|
background: @bar_background;
|
|
border-radius: @panel_radius;
|
|
display: flex;
|
|
box-shadow: @bar_shadow;
|
|
|
|
@media (max-width: @mobile_breakpoint) {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
.control-bar-padded {
|
|
padding: 0 5px;
|
|
}
|
|
|
|
.control-sep {
|
|
height: 44px;
|
|
background: #222222;
|
|
width: 3px;
|
|
|
|
@media (max-width: @mobile_breakpoint) {
|
|
margin-left: -1px;
|
|
margin-right: -1px;
|
|
width: 4px;
|
|
}
|
|
}
|
|
|
|
.panel {
|
|
position: fixed;
|
|
left: 10px;
|
|
bottom: 10px;
|
|
z-index: 6;
|
|
color: white;
|
|
display: flex;
|
|
align-items: center;
|
|
transform: translateY(100px);
|
|
transition: transform 500ms;
|
|
|
|
&.active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
&.right {
|
|
left: auto;
|
|
right: 10px;
|
|
}
|
|
|
|
&.center {
|
|
left: 50%;
|
|
right: auto;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
button {
|
|
border: none;
|
|
background: transparent;
|
|
padding: 8px;
|
|
outline: none;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
color: white;
|
|
align-items: center;
|
|
transition: background-color 500ms;
|
|
height: 48px;
|
|
box-sizing: border-box;
|
|
user-select: none;
|
|
position: relative;
|
|
|
|
&:hover {
|
|
background: rgba(100, 100, 100, 0.2);
|
|
}
|
|
|
|
span {
|
|
margin-right: 8px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
margin-left: 8px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
&:first-child {
|
|
border-radius: @panel_radius 0 0 @panel_radius;
|
|
}
|
|
|
|
&:last-child {
|
|
border-radius: 0 @panel_radius @panel_radius 0;
|
|
}
|
|
|
|
&.active {
|
|
svg {
|
|
fill: url(#activeButtonGradient);
|
|
stroke: url(#activeButtonGradient);
|
|
}
|
|
}
|
|
|
|
&.disabled {
|
|
color: #999999;
|
|
|
|
svg {
|
|
fill: #999999;
|
|
}
|
|
}
|
|
|
|
&.highlighted {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
&.cancel {
|
|
// background: linear-gradient(270deg, #0f5871, #444444 60%);
|
|
}
|
|
|
|
&.primary {
|
|
background: linear-gradient(150deg, @blue_primary, @blue_secondary) 50% 50% no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
&.success {
|
|
background: linear-gradient(150deg, @green_primary, @green_secondary) 50% 50% no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
&.danger {
|
|
background: linear-gradient(150deg, @red_primary, @red_secondary) 50% 50% no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
&.single {
|
|
border-radius: @panel_radius;
|
|
}
|
|
|
|
svg {
|
|
fill: white;
|
|
stroke: white;
|
|
display: inline;
|
|
fill-rule: evenodd;
|
|
stroke-linecap: butt;
|
|
stroke-linejoin: miter;
|
|
stroke-miterlimit: 4;
|
|
stroke-dasharray: none;
|
|
stroke-width: 3;
|
|
}
|
|
}
|
|
}
|
|
|
|
.control-bar-counter {
|
|
color: white;
|
|
min-width: 12px;
|
|
height: 12px;
|
|
border-radius: 10px;
|
|
font-weight: 600;
|
|
font-size: 10px;
|
|
position: absolute;
|
|
bottom: 50%;
|
|
right: 50%;
|
|
box-sizing: border-box;
|
|
transform: translate(50%, 50%);
|
|
line-height: 12px;
|
|
}
|
|
|
|
.panel-separator {
|
|
height: 48px;
|
|
width: 4px;
|
|
background: #222222;
|
|
}
|
|
|
|
.panel-user {
|
|
@media (max-width: @mobile_breakpoint) {
|
|
z-index: 1;
|
|
flex-direction: column-reverse;
|
|
|
|
.control-sep {
|
|
opacity: 0;
|
|
height: 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.control-dialog {
|
|
position: absolute;
|
|
right: 10px;
|
|
bottom: 68px;
|
|
z-index: 3;
|
|
color: white;
|
|
box-sizing: border-box;
|
|
// padding-bottom: 48px;
|
|
box-shadow: inset rgba(255, 255, 255, 0.05) 1px 1px;
|
|
|
|
&.top {
|
|
bottom: auto;
|
|
top: 52px;
|
|
}
|
|
|
|
&.control-dialog-big {
|
|
min-width: 555px;
|
|
|
|
@media (max-width: @mobile_breakpoint) {
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
width: 100% !important;
|
|
left: 0;
|
|
padding: 0 10px;
|
|
}
|
|
}
|
|
|
|
&.control-dialog-medium {
|
|
min-width: 460px;
|
|
|
|
@media (max-width: @mobile_breakpoint) {
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
width: 100% !important;
|
|
left: 0;
|
|
padding: 0 10px;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
.control-dialog-provider {
|
|
width: 500px;
|
|
|
|
@media (max-width: @mobile_breakpoint) {
|
|
width: 100%;
|
|
left: 0;
|
|
padding: 0 10px;
|
|
}
|
|
}
|
|
|
|
.helper {
|
|
// width: 500px;
|
|
padding: 12px;
|
|
font-weight: 200;
|
|
font-size: 1em;
|
|
display: flex;
|
|
|
|
background: #222222;
|
|
border-radius: @panel_radius;
|
|
box-shadow: @bar_shadow;
|
|
|
|
@media (max-width: @mobile_breakpoint) {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
|
|
.helper__text {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
svg {
|
|
fill: white;
|
|
width: 24px;
|
|
height: 24px;
|
|
margin-right: 6px;
|
|
}
|
|
|
|
&.success {
|
|
color: @color_success;
|
|
|
|
svg {
|
|
fill: @color_success;
|
|
}
|
|
}
|
|
|
|
&.primary {
|
|
color: @color_danger;
|
|
|
|
svg {
|
|
fill: @color_danger;
|
|
}
|
|
}
|
|
|
|
&.danger {
|
|
color: @color_danger;
|
|
|
|
svg {
|
|
fill: @color_danger;
|
|
}
|
|
}
|
|
}
|
|
|
|
.helper__buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
user-select: none;
|
|
|
|
.button {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
svg {
|
|
fill: white;
|
|
stroke: white;
|
|
|
|
cursor: pointer;
|
|
opacity: 0.5;
|
|
transition: opacity 250ms;
|
|
}
|
|
|
|
&:hover svg {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.logo-helper {
|
|
width: 200px;
|
|
flex-direction: column;
|
|
padding: 16px 0 16px 0;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.helper-back {
|
|
width: 200px;
|
|
height: 200px;
|
|
z-index: -1;
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
|
|
svg {
|
|
fill: @bar_background;
|
|
}
|
|
}
|
|
|
|
.helper-menu-item {
|
|
padding: 8px 20px;
|
|
user-select: none;
|
|
cursor: pointer;
|
|
position: relative;
|
|
|
|
&:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
&.active {
|
|
&::after {
|
|
content: ' ';
|
|
width: 16px;
|
|
height: 4px;
|
|
left: 0;
|
|
top: 14px;
|
|
position: absolute;
|
|
background: white;
|
|
}
|
|
}
|
|
}
|
|
|
|
.provider-helper {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
grid-column-gap: 10px;
|
|
grid-row-gap: 10px;
|
|
|
|
.provider-helper-thumb {
|
|
height: 100px;
|
|
background: #333333;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
background: 50% 50% no-repeat;
|
|
border-radius: @panel_radius;
|
|
cursor: pointer;
|
|
position: relative;
|
|
}
|
|
|
|
.provider-helper-check {
|
|
width: 40px;
|
|
height: 40px;
|
|
position: absolute;
|
|
bottom: 50%;
|
|
right: 50%;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
border-radius: 20px;
|
|
transform: translate(50%, 50%);
|
|
|
|
svg {
|
|
fill: white;
|
|
padding: 4px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.status-panel {
|
|
position: fixed;
|
|
top: 10px;
|
|
left: 10px;
|
|
height: 32px;
|
|
z-index: 5;
|
|
display: flex;
|
|
|
|
&.bottom {
|
|
top: auto;
|
|
bottom: 68px;
|
|
}
|
|
|
|
&.right {
|
|
left: auto;
|
|
right: 10px;
|
|
|
|
.status-bar {
|
|
margin-right: 0;
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.status-bar {
|
|
background: #222222;
|
|
display: flex;
|
|
font-weight: 200;
|
|
color: #cccccc;
|
|
user-select: none;
|
|
border-radius: @panel_radius;
|
|
margin-right: 10px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: @bar_shadow;
|
|
|
|
@media (max-width: @mobile_breakpoint) {
|
|
box-shadow: none;
|
|
}
|
|
|
|
span {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
flex: 1;
|
|
text-transform: uppercase;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
&.square {
|
|
width: 32px;
|
|
}
|
|
|
|
&.padded {
|
|
padding: 0 10px;
|
|
}
|
|
|
|
&.top-control {
|
|
width: 150px;
|
|
justify-content: flex-start;
|
|
|
|
@media (max-width: @mobile_breakpoint) {
|
|
width: 100px;
|
|
}
|
|
}
|
|
|
|
svg {
|
|
fill: #cccccc;
|
|
margin-left: -5px;
|
|
}
|
|
}
|
|
|
|
.status-bar-sep {
|
|
height: 24px;
|
|
width: 1px;
|
|
background: #444444;
|
|
margin: 0 8px 0 5px;
|
|
}
|