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

236 lines
4.7 KiB
CSS

.widgetCenter {
position: absolute;
width: 100%;
height: 100%;
top: 8%;
box-sizing: border-box;
transition: ease all 0.3s;
cursor: grab;
}
.widgetCenter.out {
transform: translateX(-100%);
}
.widgetCenter .contenido {
position: relative;
bottom: 70px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
height: 100%;
padding-left: 8px;
padding-right: 8px;
padding-top: 65px;
padding-bottom: 15px;
overflow-y: auto;
}
.widgetCenter .contenido .block {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: center;
align-content: center;
width: 100%;
padding: 10px;
border-radius: 15px;
box-sizing: border-box;
background-color: rgba(0, 0, 0, 0.5);
}
.widgetCenter .contenido .block.transparent {
background-color: transparent;
}
.widgetCenter .contenido .block.midd {
width: 50%;
}
.widgetCenter .contenido .actions .action {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: center;
align-content: center;
width: 100%;
padding: 10px 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.widgetCenter .contenido .actions .action:first-child {
padding-top: 0;
}
.widgetCenter .contenido .actions .action:last-child {
padding-bottom: 0;
border: 0;
}
.widgetCenter .contenido .actions .action .icono {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
width: 40px;
height: 40px;
margin-right: 5px;
border-radius: 10px;
background-color: #fff;
}
.widgetCenter .contenido .actions .action .textos {
width: calc(100% - 45px);
}
.widgetCenter .contenido .actions .action .textos p {
font-size: 10px;
}
.widgetCenter .contenido .actions .action .textos p.actionName {
color: #000;
font-size: 11px;
font-weight: 600;
}
.batteryInfo {
position: relative;
display: flex;
flex-direction: column;
align-items: flex-start;
width: 90%;
height: 95%;
top: 10px;
}
.batteryInfo a {
font-size: 45px !important;
letter-spacing: 2px;
margin-top: auto;
font-weight: bold;
color: var(--stroke-invert-text-color)
}
.phone-widget-container .batteryInfo {
top: 0;
width: 100%;
height: 100%;
}
.phone-widget-container .batteryInfo a {
position: relative;
left: 3px;
font-size: 45px !important;
font-weight: bold;
color: var(--stroke-invert-text-color)
}
.batteryInfo .iconWrapper {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: center;
align-content: center;
width: 62px;
height: 62px;
border-radius: 50%;
margin-bottom: 6px;
border: 3px solid rgba(255, 255, 255, 0.1);
position: relative;
}
.batteryInfo .iconWrapper:after {
content: '';
position: absolute;
width: 100%;
height: 100%;
border-radius: 50%;
border: 5px solid #67ba6e;
transform: rotate(-35deg);
}
.batteryInfo .iconWrapper.low:after {
border-color: #d24f54;
border-left-color: transparent !important;
border-top-color: transparent !important;
border-bottom-color: transparent !important;
}
.batteryInfo .iconWrapper.medium:after {
border-color: #f7b500;
border-left-color: transparent !important;
border-top-color: transparent !important;
}
.batteryInfo .iconWrapper.high:after {
border-color: #67ba6e;
border-left-color: #67ba6e;
border-top-color: #67ba6e;
border-bottom-color: #67ba6e;
}
.batteryInfo .iconWrapper svg {
width: 32px;
height: 32px;
color: #fff;
}
.batteryInfo .iconWrapper svg path,
.batteryInfo .iconWrapper svg circle {
fill: none;
stroke: var(--stroke-invert-text-color);
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}
.tiempoPantalla {
justify-content: space-between;
background-color: #fff;
}
.tiempoPantalla .timepo {
width: 100%;
color: #000;
font-size: 20px;
text-align: left;
}
.tiempoPantalla .app {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: center;
align-content: center;
width: 48%;
margin-top: 10px;
}
.tiempoPantalla .app .icono {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
width: 30px;
height: 30px;
margin-right: 5px;
border-radius: 7px;
background-color: #fff;
}
.tiempoPantalla .app .textos {
width: calc(100% - 35px);
}
.tiempoPantalla .app .textos p {
font-size: 10px;
color: rgba(0, 0, 0, 0.3);
}
.tiempoPantalla .app .textos p.actionName {
color: #000;
font-size: 11px;
}