Files
red-valley/resources/[framework]/[addons]/qs-smartphone-pro/html/css/modules/controlcenter.css
2026-03-29 21:41:17 +03:00

421 lines
8.5 KiB
CSS

.controlCenter {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: center;
align-content: center;
position: absolute;
top: 0;
width: 100%;
height: 100%;
transition: cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
z-index: 9999999999999;
box-sizing: content-box;
}
.controlCenter * {
box-sizing: content-box;
}
.controlCenter.up {
opacity: 0;
visibility: hidden;
pointer-events: none;
transform: translateY(-100px);
}
.controlCenter .content {
display: flex;
flex-direction: row;
flex-wrap: wrap;
bottom: 50px;
position: relative;
align-items: center;
justify-content: space-between;
align-content: center;
width: 85%;
box-sizing: border-box;
gap: 5px;
}
.controlCenter .content .iconWrapper-wX2 {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
align-content: space-between;
width: 48%;
margin-bottom: 10px;
border-radius: 20px;
color: #fff;
box-sizing: border-box;
}
.controlCenter .content .iconWrapper-wX2.padding {
padding: 10px;
}
.controlCenter .content .iconItem {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: center;
align-content: center;
width: 36px;
height: 36px;
padding: 15px;
margin-bottom: 10px;
border-radius: 15px;
background-color: rgba(0, 0, 0, 0.5);
position: relative;
cursor: pointer;
}
.controlCenter .content .iconItem.full {
width: 100%;
}
.controlCenter .content .iconItem.flashlight.activo {
background-color: rgba(255, 255, 255, 0.9);
}
.controlCenter .content .iconItem.flashlight.activo svg {
color: #3777e4;
}
.controlCenter .content .iconItem.grabarPantalla.activo {
background-color: rgba(255, 255, 255, 0.9);
}
.controlCenter .content .iconItem.grabarPantalla.activo svg {
color: red;
}
.controlCenter .content .iconItem.grabarPantalla.activo svg circle.filled {
transform-origin: center;
animation: grabarPantalla 1s linear infinite;
}
.control-center-input-icon {
height: 6.5rem;
right: 9px;
width: 100% !important;
display: flex;
margin: 5px;
align-items: center;
}
.control-center-input-container {
width: 110.28px;
height: 45.95px;
}
.controlCenter .content .iconItem svg,
.control-center-input-icon svg {
width: 25px;
height: 25px;
min-width: 25px;
color: #fff;
}
.control-center-input-icon svg {
color: rgba(0, 0, 0, 0.5);
position: relative;
z-index: 10;
left: 10%;
width: 30px;
height: 30px;
transform: rotate(90deg);
}
:where(.controlCenter .content .iconItem, .control-center-input-icon) svg path,
:where(.controlCenter .content .iconItem, .control-center-input-icon) svg circle,
:where(.controlCenter .content .iconItem, .control-center-input-icon) svg rect {
stroke: currentColor;
fill: none;
stroke-width: 2;
stroke-miterlimit: 10;
}
:where(.controlCenter .content .iconItem, .control-center-input-icon) svg path.filled,
:where(.controlCenter .content .iconItem, .control-center-input-icon) svg circle.filled,
:where(.controlCenter .content .iconItem, .control-center-input-icon) svg rect.filled {
stroke: none;
fill: currentColor;
}
.controlCenter .content .iconsGroup {
background-color: rgba(0, 0, 0, 0.4);
padding: 7px !important;
}
.controlCenter .content .iconsGroup .icon {
cursor: pointer;
margin: 0 auto;
}
.controlCenter .content .iconsGroup .icon.activo .ico {
background-color: #3777e4;
}
.controlCenter .content .iconsGroup .icon.modoVuelo.activo .ico {
background-color: #ff8e00;
}
.controlCenter .content .iconsGroup .icon.datosCelulares.activo .ico {
background-color: #00dc54;
}
.controlCenter .content .iconsGroup .icon .ico {
width: 23px;
height: 23px;
padding: 15px;
margin: 5px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.5);
transition: ease all 0.3s;
}
.controlCenter .content .iconsGroup .icon .ico svg {
width: 100%;
height: 100%;
color: #fff;
}
.controlCenter .content .iconsGroup .icon .ico svg path {
fill: currentColor;
}
.controlCenter .content .iconsGroup .icon .txt {
display: none;
}
.controlCenter .content .musicWdg {
align-content: center;
justify-content: center;
background-color: rgba(0, 0, 0, 0.5);
}
.controlCenter .content .musicWdg p {
text-align: center;
font-size: 14px;
}
.controlCenter .content .musicWdg p.artistName {
font-size: 12px;
color: rgba(255, 255, 255, 0.5);
}
.controlCenter .content .musicWdg .icons {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
align-content: center;
width: 100%;
margin-top: 20px;
}
.controlCenter .content .musicWdg .icons .icon {
width: 20px;
height: 20px;
}
.controlCenter .content .musicWdg .icons .icon svg {
width: 100%;
height: 100%;
}
.controlCenter .content .musicWdg .icons .icon svg path {
fill: currentColor;
}
.displayOptions {
position: relative;
height: 160px;
top: 10px;
}
.controlCenter .content .displayOptions .actionIcon {
transition: ease all 0.3s;
margin-left: 5px;
margin-right: 5px;
margin-top: 5px;
}
.controlCenter .content .displayOptions .actionIcon.activo {
background-color: rgba(255, 255, 255, 0.9);
}
.controlCenter .content .displayOptions .actionIcon.activo.lockOrientacion .lockIcon {
background-color: #d24f54;
}
.controlCenter .content .displayOptions .actionIcon.activo.lockOrientacion .lockIcon:before {
border-color: #d24f54;
}
.controlCenter .content .displayOptions .actionIcon.activo.lockOrientacion svg {
color: #d24f54;
}
.controlCenter .content .displayOptions .lockIcon {
position: absolute;
width: 8px;
height: 6px;
border-radius: 2px;
background-color: #fff;
margin-right: 3px;
margin-top: 6px;
}
.controlCenter .content .displayOptions .lockIcon:before {
content: '';
position: absolute;
top: -4px;
left: 0;
right: 0;
margin: auto;
width: 2px;
height: 6px;
border-radius: 10px;
border: 2px solid #fff;
}
.controlCenter .content .displayOptions .moon.activo svg path {
fill: #7c517c;
}
.controlCenter .content .displayOptions .moon svg path {
fill: #fff;
}
.controlCenter .content .displayOptions .duplicate {
flex-wrap: nowrap;
height: 35px;
top: 5px;
}
.controlCenter .content .displayOptions .duplicate p {
font-size: 15px;
margin-left: 10px;
margin-top: 10px;
width: 95px;
white-space: nowrap;
/* Evita que el texto se divida en varias líneas */
overflow: hidden;
/* Oculta el texto que sobrepasa el ancho */
text-overflow: ellipsis;
/* Muestra puntos suspensivos (...) si el texto sobrepasa el ancho */
}
.controlCenter .content .fullBars .fullBar {
align-content: flex-end;
height: calc(100% - 30px);
overflow: hidden;
cursor: default;
}
.controlCenter .content .fullBars .fullBar.volumen:before {
height: 45%;
}
.controlCenter .content .fullBars .fullBar:before {
content: '';
position: absolute;
bottom: 0;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.9);
}
.controlCenter .content .fullBars .fullBar svg {
color: rgba(0, 0, 0, 0.4);
position: relative;
}
.controlCenter .content .textGroup {
color: #fff;
font-size: 15px;
text-align: center;
margin-bottom: 20px;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.controlCenter .content .textGroup .icono {
width: 28px;
height: 28px;
margin: 10px auto;
color: lightgray;
}
.controlCenter .content .textGroup .icono svg {
width: 100%;
height: 100%;
}
.controlCenter .content .textGroup .icono svg path,
.controlCenter .content .textGroup .icono svg circle {
fill: none;
stroke-width: 2;
stroke: currentColor;
stroke-linecap: round;
stroke-miterlimit: 10;
}
.controlCenter .content .textGroup .link {
display: inline-block;
margin-top: 5px;
color: #3777e4;
cursor: pointer;
}
.controlCenter .hiddenCC {
position: absolute;
bottom: 0;
width: 100%;
height: 25px;
text-align: center;
}
.controlCenter .hiddenCC:before {
content: '';
display: inline-block;
width: 150px;
height: 4px;
border-radius: 20px;
background-color: rgba(255, 255, 255, 0.7);
}
.ios-range {
position: absolute;
overflow: hidden;
inset: 0px;
width: 100%;
height: 100%;
cursor: pointer;
appearance: none;
background: rgba(255, 255, 255, 0.08);
outline: none;
border-radius: 13px;
box-shadow: 0 0 0 2px transparent;
transform-origin: 35% 35%;
}
.ios-range::-webkit-slider-thumb {
-webkit-appearance: none;
width: 5px;
height: 40px;
border: 1px solid #fff;
background: #fff;
box-shadow: -100vw 0 0 100vw #fff;
}
.ios-range::-moz-range-thumb {
background: #fff;
}