voice-changer/client/demo/src/css/App.css

351 lines
7.3 KiB
CSS
Raw Normal View History

2023-01-04 20:28:36 +03:00
@import url("https://fonts.googleapis.com/css2?family=Chicle&family=Poppins:ital,wght@0,200;0,400;0,600;1,200;1,400;1,600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Yusei+Magic&display=swap");
:root {
--text-color: #333;
--company-color1: rgba(64, 119, 187, 1);
--company-color2: rgba(29, 47, 78, 1);
--company-color3: rgba(255, 255, 255, 1);
--company-color1-alpha: rgba(64, 119, 187, 0.3);
--company-color2-alpha: rgba(29, 47, 78, 0.3);
--company-color3-alpha: rgba(255, 255, 255, 0.3);
--global-shadow-color: rgba(0, 0, 0, 0.4);
--sidebar-transition-time: 0.3s;
--sidebar-transition-time-quick: 0.1s;
--sidebar-transition-animation: ease-in-out;
--header-height: 1.5rem;
--right-sidebar-width: 320px;
--dialog-border-color: rgba(100, 100, 100, 1);
--dialog-shadow-color: rgba(0, 0, 0, 0.3);
--dialog-background-color: rgba(255, 255, 255, 1);
--dialog-primary-color: rgba(19, 70, 209, 1);
--dialog-active-color: rgba(40, 70, 209, 1);
--dialog-input-border-color: rgba(200, 200, 200, 1);
--dialog-submit-button-color: rgba(180, 190, 230, 1);
--dialog-cancel-button-color: rgba(235, 80, 80, 1);
--body-video-seeker-height: 3rem;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
html {
font-size: 16px;
}
body {
height: 100%;
width: 100%;
2023-01-28 09:07:32 +03:00
overflow-y: scroll;
overflow-x: hidden;
2023-01-04 20:28:36 +03:00
color: var(--text-color);
2023-01-07 14:07:39 +03:00
/* background: linear-gradient(45deg, var(--company-color1) 0, 5%, var(--company-color2) 5% 10%, var(--company-color3) 10% 80%, var(--company-color1) 80% 85%, var(--company-color2) 85% 100%); */
background: linear-gradient(45deg, var(--company-color1) 0, 1%, var(--company-color2) 1% 5%, var(--company-color3) 5% 80%, var(--company-color1) 80% 85%, var(--company-color2) 85% 100%);
2023-01-04 20:28:36 +03:00
}
#app {
height: 100%;
width: 100%;
}
2023-01-28 09:07:32 +03:00
.main-body {
2023-01-04 20:28:36 +03:00
height: 100%;
width: 100%;
2023-01-28 09:07:32 +03:00
padding: 2rem;
2023-01-04 20:28:36 +03:00
font-family: "Yusei Magic", sans-serif;
display: flex;
flex-direction: column;
font-size: 1rem;
}
.body-row {
}
2023-01-14 11:58:57 +03:00
.split-6-4 {
display: flex;
width: 100%;
justify-content: center;
margin: 1px 0px 1px 0px;
& > div:nth-child(1) {
left: 0px;
width: 60%;
}
& > div:nth-child(2) {
left: 60%;
width: 40%;
}
}
2023-01-04 20:28:36 +03:00
.split-4-6 {
display: flex;
width: 100%;
justify-content: center;
margin: 1px 0px 1px 0px;
& > div:nth-child(1) {
left: 0px;
width: 40%;
}
& > div:nth-child(2) {
left: 40%;
width: 60%;
}
}
.split-3-7 {
display: flex;
width: 100%;
justify-content: center;
margin: 1px 0px 1px 0px;
& > div:nth-child(1) {
left: 0px;
width: 30%;
}
& > div:nth-child(2) {
left: 30%;
width: 70%;
}
}
.split-3-3-4 {
display: flex;
width: 100%;
justify-content: center;
margin: 1px 0px 1px 0px;
& > div:nth-child(1) {
left: 0px;
width: 30%;
}
& > div:nth-child(2) {
left: 30%;
width: 30%;
}
& > div:nth-child(3) {
left: 60%;
width: 40%;
}
}
.split-3-1-2-4 {
display: flex;
width: 100%;
justify-content: center;
margin: 1px 0px 1px 0px;
& > div:nth-child(1) {
left: 0px;
width: 30%;
}
& > div:nth-child(2) {
left: 30%;
width: 10%;
}
& > div:nth-child(3) {
left: 40%;
width: 20%;
}
& > div:nth-child(4) {
left: 60%;
width: 40%;
}
}
2023-02-10 18:59:44 +03:00
.split-3-2-1-4 {
display: flex;
width: 100%;
justify-content: center;
margin: 1px 0px 1px 0px;
& > div:nth-child(1) {
left: 0px;
width: 30%;
}
& > div:nth-child(2) {
left: 30%;
width: 20%;
}
& > div:nth-child(3) {
left: 50%;
width: 10%;
}
& > div:nth-child(4) {
left: 60%;
width: 40%;
}
}
2023-01-28 09:07:32 +03:00
.split-3-2-2-2-1 {
2023-01-05 12:35:56 +03:00
display: flex;
width: 100%;
justify-content: center;
margin: 1px 0px 1px 0px;
& > div:nth-child(1) {
left: 0px;
width: 30%;
}
& > div:nth-child(2) {
left: 30%;
width: 20%;
}
& > div:nth-child(3) {
left: 50%;
width: 20%;
}
& > div:nth-child(4) {
left: 70%;
width: 20%;
}
& > div:nth-child(5) {
left: 90%;
width: 10%;
}
}
2023-01-28 09:07:32 +03:00
.split-3-1-1-1-4 {
2023-01-05 12:35:56 +03:00
display: flex;
width: 100%;
justify-content: center;
margin: 1px 0px 1px 0px;
& > div:nth-child(1) {
left: 0px;
width: 30%;
}
& > div:nth-child(2) {
left: 30%;
width: 10%;
}
& > div:nth-child(3) {
left: 40%;
width: 10%;
}
& > div:nth-child(4) {
left: 50%;
width: 10%;
}
& > div:nth-child(5) {
left: 60%;
width: 40%;
}
}
2023-01-04 20:28:36 +03:00
.underline {
border-bottom: 3px solid #333;
}
.left-padding-1 {
padding-left: 1rem;
}
.left-padding-2 {
padding-left: 2rem;
}
2023-01-08 14:28:57 +03:00
.left-margin-1 {
margin-left: 1rem;
}
.left-margin-2 {
margin-left: 2rem;
}
2023-01-04 20:28:36 +03:00
.highlight {
2023-01-07 14:07:39 +03:00
background-color: rgba(200, 200, 255, 0.3);
}
2023-01-28 09:07:32 +03:00
.guided {
2023-01-07 14:07:39 +03:00
/* background-color: rgba(9, 133, 67, 0.3); */
background-color: rgba(159, 165, 162, 0.1);
/* border-bottom: 1px solid rgba(9, 133, 67, 0.3); */
2023-01-04 20:28:36 +03:00
}
2023-01-12 11:23:57 +03:00
.divider {
2023-01-28 09:07:32 +03:00
height: 4px;
2023-01-12 11:23:57 +03:00
/* background-color: rgba(16, 210, 113, 0.1); */
background-color: rgba(31, 42, 36, 0.1);
}
2023-01-04 20:28:36 +03:00
.body-top-title {
font-size: 3rem;
}
2023-01-28 09:07:32 +03:00
.body-top-title-belongings {
2023-01-14 11:58:57 +03:00
display: flex;
align-items: flex-end;
justify-content: flex-start;
& > div {
2023-01-28 09:07:32 +03:00
margin-left: 10px;
margin-right: 10px;
2023-01-14 11:58:57 +03:00
}
2023-01-28 09:07:32 +03:00
& > .belonging-item {
& > .link {
2023-01-14 11:58:57 +03:00
text-decoration: none;
2023-01-28 09:07:32 +03:00
& > span {
2023-01-14 11:58:57 +03:00
font-size: small;
}
}
}
}
2023-01-04 20:28:36 +03:00
.body-section-title {
font-size: 1.5rem;
color: rgb(51, 49, 49);
}
2023-01-07 14:07:39 +03:00
.body-sub-section-title {
font-size: 1.1rem;
font-weight: 700;
color: rgb(3, 53, 12);
}
2023-01-04 20:28:36 +03:00
.body-item-title {
color: rgb(51, 99, 49);
}
.body-item-text {
color: rgb(30, 30, 30);
2023-01-28 09:07:32 +03:00
.body-item-text-item {
2023-01-10 20:19:54 +03:00
padding-left: 1rem;
}
2023-01-04 20:28:36 +03:00
}
2023-01-16 01:45:06 +03:00
.body-item-text-small {
color: rgb(30, 30, 30);
font-size: 0.7rem;
}
2023-01-05 05:45:42 +03:00
.body-item-input {
2023-01-28 09:07:32 +03:00
width: 90%;
2023-01-05 05:45:42 +03:00
}
2023-01-04 20:28:36 +03:00
.body-button-container {
display: flex;
flex-direction: row;
2023-01-05 12:35:56 +03:00
align-items: center;
2023-01-14 11:58:57 +03:00
& > div {
2023-01-28 09:07:32 +03:00
margin-left: 5px;
margin-right: 5px;
padding-left: 20px;
padding-right: 20px;
2023-01-14 11:58:57 +03:00
}
2023-01-04 20:28:36 +03:00
.body-button {
user-select: none;
2023-01-14 11:58:57 +03:00
border: solid 1px #999;
2023-01-04 20:28:36 +03:00
border-radius: 2px;
2023-01-28 09:07:32 +03:00
cursor: pointer;
vertical-align: middle;
&:hover {
2023-01-14 11:58:57 +03:00
border: solid 1px #000;
}
}
.body-button-disabled {
user-select: none;
border: solid 1px #999;
border-radius: 2px;
2023-01-28 09:07:32 +03:00
vertical-align: middle;
background: #ddd;
2023-01-05 05:45:42 +03:00
}
.body-button-active {
user-select: none;
border: solid 1px #333;
border-radius: 2px;
2023-01-28 09:07:32 +03:00
background: #ada;
2023-01-05 05:45:42 +03:00
}
.body-button-stanby {
user-select: none;
2023-01-14 11:58:57 +03:00
border: solid 1px #999;
2023-01-05 05:45:42 +03:00
border-radius: 2px;
2023-01-28 09:07:32 +03:00
background: #aba;
cursor: pointer;
&:hover {
2023-01-14 11:58:57 +03:00
border: solid 1px #000;
}
2023-01-04 20:28:36 +03:00
}
}
.body-select-container {
.body-select {
color: rgb(30, 30, 30);
}
}