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

957 lines
16 KiB
CSS
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
.clock-app *::selection {
background-color: transparent;
}
.clock-app {
background-color: #0a0a0a;
}
.clock-app-header {
position: absolute;
width: 100%;
height: 65px;
top: 460px;
z-index: 99;
}
.clock-app-container {
position: relative;
display: flex;
width: 100%;
height: 100%;
flex-direction: column;
color: var(--text-color);
padding-top: 2rem;
}
#clock-alarm-add,
#clock-alarm-edit,
#clock-alarm-add-label-save,
#clock-alarm-add-label-cancel,
#clock-alarm-save,
#clock-alarm-cancel,
#clock-timer-cancel,
#clock-timer-edit,
#clock-timer-save {
cursor: pointer;
}
.clock-app-tab {
position: relative;
display: none;
flex-direction: column;
width: 100%;
flex: 1;
}
.clock-app-timer-setup .global-app-header {
width: 94%;
position: relative;
left: 11px;
}
.clock-app .global-app-header {
width: 94%;
margin: 0 auto;
}
#clock-timer-title {
color: white;
}
#phone-image-container-header {
width: 92%;
}
.clock-tab-title {
position: absolute;
left: 60px;
top: 11px;
font-size: 12px;
}
.clock-tab-description {
position: absolute;
left: 60px;
top: 30px;
font-size: 12px;
color: rgba(0, 0, 0, 0.65);
}
.clock-add-alarm-settings {
background: rgba(255, 255, 255, 0.08);
position: relative;
top: 50px;
height: 12%;
width: 93%;
margin: 0 auto;
border-radius: 13px;
}
.clock-add-alarm-settings p {
margin: 0 !important;
}
#clock-tab-title-repeat,
#clock-tab-title-alarm {
color: white;
}
.clock-tab-description p,
.clock-tab-description i {
color: gray;
}
.clock-add-alarm-settings .settings-tab-description {
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
}
#clock-alarm-label-option {
height: 45px;
}
#clock-alarm-repeat-option {
height: 46px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.clock-add-alarm-settings .clock-tab-title {
position: relative;
left: 20px;
top: 0px;
font-size: 17px;
flex: 1;
}
.clock-add-alarm-settings .clock-tab-description {
position: absolute;
left: 180px;
top: 35%;
display: flex;
width: 50%;
font-size: 17px;
gap: 8px;
text-align: right;
line-height: 15px;
justify-content: flex-end; /* Alinea el texto a la derecha */
}
.clock-app-alarm-page {
position: absolute;
width: 100%;
height: 100%;
overflow-y: auto;
}
.clock-app-alarm-page::-webkit-scrollbar {
display: none;
}
.clock-app-alarm-add,
.clock-app-alarm-add-label {
left: 100%;
}
#clock-alarm-label-option-input {
width: 100%;
font-size: 22px;
text-indent: 12px;
border: 1px solid var(--border-gray);
}
#clock-alarm-add-menu {
color: white;
}
.clock-app-alarm-add-info {
position: relative;
top: 25px;
width: 90%;
margin: 0 auto;
text-align: center;
}
.clock-app-alarm-add-info a {
font-size: 16px;
color: lightgray;
}
.clock-app-alarm-add-label-container {
position: relative;
top: 40px;
width: 100%;
height: 6%;
background: rgba(255, 255, 255, 0.04);
display: flex;
color: lightgray;
align-items: center;
justify-content: center;
}
.clock-app-tab .global-app-header {
height: unset;
top: unset;
margin-bottom: unset;
padding-top: 40px;
font-size: 16px;
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.clock-app-tab .global-app-header .blue-text:last-child {
place-self: flex-end;
position: unset;
}
.clock-app-tab-header {
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 16px;
padding-top: 40px;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.clock-app-active {
display: flex !important;
}
.clock-app-footer {
display: flex;
flex-direction: row;
justify-content: space-around;
gap: 16px;
text-align: center;
padding: 8px 12px;
}
.clock-app-footer i {
font-size: 29px;
color: gray;
margin-bottom: 5px;
}
.clock-app-footer p {
font-size: 13px;
color: gray;
}
.clock-app-header-button {
position: relative;
float: left;
width: 50%;
height: 80%;
text-align: center;
line-height: 56px;
background: #0f0f0f;
border-bottom: 2px solid rgba(0, 0, 0, 0);
color: white;
transition: 0.08s;
}
.clock-app-header-button:hover {
background: #252525;
}
.clock-app-footer-selected p {
color: #ff7c14;
}
.clock-app-footer-selected i {
color: #ff7c14;
}
.clock-app-loaded {
display: none;
padding-left: 276px;
height: 99%;
}
.clock-app-loading {
position: absolute;
top: 0;
left: 0;
display: block;
height: 100%;
width: 100%;
overflow: hidden;
}
.stopwatch-timer {
display: flex;
justify-content: center;
align-items: center;
padding-top: 64px;
font-size: 70px;
position: relative;
height: 300px;
}
.stopwatch-timer p {
color: white;
}
.clock-start-button::before {
content: '';
display: block;
width: 80px; /* Ajusta el tamaño del círculo interno */
height: 80px; /* Ajusta el tamaño del círculo interno */
border-radius: 50%;
margin-bottom: 0.5px;
border: 3px solid #246727c2; /* Borde del círculo interno */
position: absolute;
}
.clock-clear-button::before {
content: '';
display: block;
width: 80px; /* Ajusta el tamaño del círculo interno */
height: 80px; /* Ajusta el tamaño del círculo interno */
border-radius: 50%;
margin-bottom: 0.5px;
border: 3px solid #79797991; /* Borde del círculo interno */
position: absolute;
}
.clock-button[data-type='stop']::before {
content: '';
display: block;
width: 80px; /* Ajusta el tamaño del círculo interno */
height: 80px; /* Ajusta el tamaño del círculo interno */
border-radius: 50%;
margin-bottom: 0.5px;
border: 3px solid #fd392f4f; /* Borde del círculo interno */
position: absolute;
}
.timer-button-flow::before {
content: '';
display: block;
width: 80px; /* Ajusta el tamaño del círculo interno */
height: 80px; /* Ajusta el tamaño del círculo interno */
border-radius: 50%;
margin-bottom: 0.5px;
border: 3px solid #246727c2; /* Borde del círculo interno */
position: absolute;
}
#timer-button.timer-button-clear::before {
content: '';
display: block;
width: 80px; /* Ajusta el tamaño del círculo interno */
height: 80px; /* Ajusta el tamaño del círculo interno */
border-radius: 50%;
margin-bottom: 0.5px;
border: 3px solid #79797991; /* Borde del círculo interno */
position: absolute;
}
#timer-button.timer-button-clear p {
color: lightgray
}
.timer-button-flow p {
color: #8ae143;
}
.clock-button[data-type='stop'] p {
color: #f88c8c;
}
.clock-buttons {
display: flex;
align-items: center;
padding: 0 35px 16px 35px;
justify-content: space-between;
font-size: 14px;
}
.clock-button {
display: flex;
width: 70px;
height: 70px;
align-items: center;
justify-content: center;
padding: 16px;
border-radius: 50%;
}
.timer-button-flow {
font-size: 17px;
color: lightgray;
}
.timer-button-clear {
font-size: 17px;
}
.timer-button-start {
color: #8ae143;
}
.timer-button-clear {
color: lightgray;
}
.clock-button p {
font-size: 17px;
margin: 0 !important;
}
.clock-button[data-type='lap'] {
background: #79797991;
}
.clock-button[data-type='clear'] {
background: #79797991;
}
.clock-button[data-type='start'] {
background: #246727c2;
}
.clock-button[data-type='stop'] {
background: #fd392f4f;
}
.stopwatch-lap-list {
overflow: auto;
position: relative;
top: 15px;
border-top: 1px solid rgba(255, 255, 255, 0.08);
max-height: 380px;
}
.stopwatch-lap {
display: flex;
justify-content: space-between;
font-size: 16px;
padding: 5px 16px;
border-bottom: 1px solid rgba(255, 255, 255, 0.08)
}
.stopwatch-lap p {
color: white;
}
.stopwatch-lap:last-child {
border-bottom: none;
}
.stopwatch-lap p {
margin: 8px;
}
.stopwatch-lap-list::-webkit-scrollbar {
position: absolute;
width: 6px;
}
.stopwatch-lap-list::-webkit-scrollbar-track {
background-color: rgba(0, 0, 0, 0);
}
.stopwatch-lap-list::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.6);
border-radius: 10px 0 0 10px;
}
.world-time {
position: relative;
top: 8px;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
height: 100px;
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
color: lightgray;
}
.world-time:last-child::after {
display: none;
}
.world-time p {
margin: 0;
}
.world-time-info {
display: flex;
flex-direction: column;
}
.world-time-info p:first-child {
font-size: 26px;
color: white;
font-weight: bold;
}
.world-time-info p:last-child {
color: gray;
font-size: 15px;
}
.world-time-clock {
display: flex;
align-items: flex-end;
}
.world-time-clock p {
color: white;
}
.world-time-clock p:first-child {
font-size: 48px;
}
.world-time-clock p:last-child {
font-size: 22px;
padding-bottom: 10px;
}
.clock-timer-setup-container {
display: flex;
position: relative;
top: 40px;
}
.clock-app-timer-setup {
position: absolute;
width: 95%;
left: 10px;
}
.clock-timer-container #clock-timer-minute-picker {
text-align: right;
direction: rtl;
text-indent: 8px;
}
.clock-timer-container #clock-timer-second-picker {
text-align: left;
text-indent: 8px;
}
.clone-scroller::-webkit-scrollbar {
display: none;
}
.clock-app-timer-show {
position: absolute;
width: 100%;
left: 100%;
display: none;
}
.clock-app-timer-show-container {
position: relative;
top: 30px;
}
.clock-app-timer-show-container-texts {
display: flex;
justify-content: center;
align-items: center;
margin: 0 auto;
width: 300px; /* Tamaño del círculo */
height: 300px; /* Tamaño del círculo */
border-radius: 50%; /* Para hacerlo un círculo */
border: 3px solid orange; /* Borde naranja */
font-size: 54px; /* Tamaño del texto reducido */
color: orange; /* Color del texto */
}
.clock-app-timer-show-container-texts p {
color: white;
}
.clock-app-alarm-list-item {
display: flex;
flex-direction: column;
padding: 0 22px 5px 22px;
height: 100px;
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
color: lightgray;
}
.clock-app-alarm-list-item-description {
display: flex;
align-items: flex-end;
justify-content: space-between;
}
.clock-app-alarm-list-item-description span {
font-size: 52px;
margin-left: -6px;
margin-top: 4px;
}
.clock-app-alarm-cycle-text {
font-size: 16px;
}
.switch__container {
width: 60px;
}
.switch__container .switch {
position: absolute;
left: -9999px;
}
.switch__container .switch+label {
display: block;
position: relative;
cursor: pointer;
outline: none;
user-select: none;
}
.switch--shadow+label {
padding: 2px;
width: 60px;
height: 30px;
background-color: #dddddd;
border-radius: 60px;
}
.switch--shadow+label:before,
.switch--shadow+label:after {
display: block;
position: absolute;
top: 1px;
left: 1px;
bottom: 1px;
content: '';
}
.switch--shadow+label:before {
right: 1px;
background-color: #f1f1f1;
border-radius: 60px;
transition: background 0.4s;
}
.switch--shadow+label:after {
width: 26px;
height: 26px;
background-color: #fff;
border-radius: 100%;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
transition: all 0.4s;
}
.switch--shadow:checked+label:before {
background-color: #8ce196;
}
.switch--shadow:checked+label:after {
transform: translateX(32px);
}
/* Estilo Flat */
.switch--flat+label {
padding: 2px;
width: 60px;
height: 30px;
background-color: #dddddd;
border-radius: 60px;
transition: background 0.4s;
}
.switch--flat+label:before,
.switch--flat+label:after {
display: block;
position: absolute;
content: '';
}
.switch--flat+label:before {
top: 2px;
left: 2px;
bottom: 2px;
right: 2px;
background-color: #fff;
border-radius: 60px;
transition: background 0.4s;
}
.switch--flat+label:after {
top: 4px;
left: 4px;
bottom: 4px;
width: 56px;
background-color: #dddddd;
border-radius: 52px;
transition: margin 0.4s, background 0.4s;
}
.switch--flat:checked+label {
background-color: #8ce196;
}
.switch--flat:checked+label:after {
margin-left: 60px;
background-color: #8ce196;
}
.clock-app .global-app-header {
top: 5px;
}
.global-app-header {
display: grid;
grid-template-columns: 10% 80% 10%;
white-space: nowrap;
top: 6rem;
position: relative;
width: 100%;
font-size: 14px;
text-align: center;
margin-bottom: 7rem;
}
.global-app-header p:nth-child(2) {
font-weight: bold;
}
.global-app-header .blue-text {
color: #087fff;
}
.global-app-header .blue-text:last-child {
position: absolute;
right: 22px;
}
.global-app-header .red-text {
color: #fd3b2f;
position: absolute;
right: 24px;
}
/* Icon */
.icon-clock {
overflow: hidden;
background: #000;
position: relative;
padding: 33px;
border-radius: 15px;
}
.clock {
width: 192px;
height: 192px;
border-radius: 50%;
background: #f1f1f1;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0.28);
}
.phone-application-group-item .clock {
transform: translate(-50%, -50%) scale(0.080);
}
.phone-application-group-item .icon-clock {
padding: 9px !important;
}
.clock ol {
list-style-type: none;
width: 100%;
height: 100%;
position: relative;
margin: 0;
padding: 0;
}
.clock ol li {
counter-increment: labelCounter;
position: absolute;
font-size: 1.25em;
}
.clock ol li:before {
content: counter(labelCounter) '';
}
.clock ol li:nth-child(1) {
right: 55px;
top: 20px;
}
.clock ol li:nth-child(2) {
right: 25px;
top: 50px;
}
.clock ol li:nth-child(3) {
right: 12px;
top: 85px;
}
.clock ol li:nth-child(4) {
right: 25px;
top: 125px;
}
.clock ol li:nth-child(5) {
right: 55px;
top: 150px;
}
.clock ol li:nth-child(6) {
right: 90px;
top: 160px;
}
.clock ol li:nth-child(7) {
right: 125px;
top: 150px;
}
.clock ol li:nth-child(8) {
right: 155px;
top: 125px;
}
.clock ol li:nth-child(9) {
right: 165px;
top: 85px;
}
.clock ol li:nth-child(10) {
right: 150px;
top: 50px;
}
.clock ol li:nth-child(11) {
right: 120px;
top: 20px;
}
.clock ol li:nth-child(12) {
right: 85px;
top: 10px;
}
@-webkit-keyframes spin {
100% {
transform: rotate(360deg);
}
}
@keyframes spin {
100% {
transform: rotate(360deg);
}
}
#hour {
width: 14px;
height: 14px;
border-radius: 50%;
background: #303030;
position: absolute;
top: 50%;
left: 50%;
margin-top: -7px;
margin-left: -7px;
}
#hour:before,
#hour:after {
content: '';
display: block;
position: absolute;
}
#hour:before {
width: 8px;
height: 65px;
border-radius: 4px;
background: #303030;
position: absolute;
bottom: 2px;
left: 50%;
transform: translate(-50%, 0);
}
#min {
width: 0;
height: 0;
border-radius: 50%;
background: #303030;
position: absolute;
top: 50%;
left: 50%;
}
#min:before,
#min:after {
content: '';
display: block;
position: absolute;
}
#min:before {
width: 6px;
height: 90px;
border-radius: 4px;
background: #303030;
position: absolute;
bottom: 2px;
left: 50%;
transform: translate(-50%, 0);
}
#sec {
width: 4px;
height: 4px;
border-radius: 50%;
background: #dd3e1c;
border: 2px solid #e13e1b;
position: absolute;
top: 50%;
left: 50%;
margin-top: -4px;
margin-left: -4px;
}
#sec:before,
#sec:after {
content: '';
display: block;
position: absolute;
}
#sec:before {
width: 2px;
height: 105px;
border-radius: 4px;
background: #e13e1b;
position: absolute;
bottom: -12px;
left: 50%;
transform: translate(-50%, 0);
}
.worldtime-title,
#alarm-title,
#clock-alarm-tag-title {
color: white;
font-weight: bold;
}
.worldtime-title {
padding-bottom: 14px;
}