Add files via upload
This commit is contained in:
238
css/settings.css
Normal file
238
css/settings.css
Normal file
@@ -0,0 +1,238 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "Inter", sans-serif;
|
||||
scroll-behavior: smooth;
|
||||
overflow-wrap: break-word;
|
||||
background-color: #121212;
|
||||
color: #FFF;
|
||||
text-align: center;
|
||||
padding: 30px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
a { color: #ffcc00; }
|
||||
|
||||
|
||||
#chat-divided {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
gap: 30px;
|
||||
}
|
||||
|
||||
#chat-settings { width: 640px; }
|
||||
#chat-preview { width: calc(100% - 640px); }
|
||||
|
||||
#chat-preview iframe {
|
||||
position: sticky;
|
||||
top: 30px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: calc(100vh - 60px);
|
||||
}
|
||||
|
||||
.url-bar {
|
||||
margin: 20px 0;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.url-bar input[type=text] {
|
||||
font-family: "Inter", sans-serif;
|
||||
border: none;
|
||||
background: #171717;
|
||||
color: #FFF;
|
||||
padding: 15px 30px;
|
||||
border-radius: 10px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
outline: none;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
|
||||
.url-bar button {
|
||||
font-family: "Inter", sans-serif;
|
||||
font-weight: bold;
|
||||
border: none;
|
||||
padding: 15px 30px;
|
||||
margin-top: 10px;
|
||||
border-radius: 10px;
|
||||
cursor: pointer;
|
||||
background: #252525;
|
||||
color: #FFF;
|
||||
transition: .4s;
|
||||
width: 100%;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.url-bar button:hover {
|
||||
background: #292929;
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
padding: 20px 30px;
|
||||
border-radius: 20px;
|
||||
background: #171717;
|
||||
margin: 20px auto;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.tab-content h2 {
|
||||
margin-bottom: 15px;
|
||||
font-size: 20px;
|
||||
padding: 15px 0px;
|
||||
border-bottom: 1px solid #222;
|
||||
}
|
||||
|
||||
.tab-content h2 i {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.tab-content .setting {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 5px 0px;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
|
||||
.tab-content .setting small { color: #777; }
|
||||
|
||||
.tab-content .setting input[type=text],
|
||||
.tab-content .setting input[type=number] {
|
||||
font-family: "Inter", sans-serif;
|
||||
border: none;
|
||||
background:#222;
|
||||
color: #FFF;
|
||||
padding: 10px 20px;
|
||||
border-radius: 10px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.tab-content .setting.select select {
|
||||
font-family: "Inter", sans-serif;
|
||||
border: none;
|
||||
background:#222;
|
||||
color: #FFF;
|
||||
padding: 10px 20px 10px 10px;
|
||||
border-radius: 10px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.tab-content .setting .switch {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 50px;
|
||||
height: 27px;
|
||||
}
|
||||
|
||||
/* Hide default HTML checkbox */
|
||||
.tab-content .setting .switch input[type=checkbox] {
|
||||
opacity: 1;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/* The slider */
|
||||
.tab-content .setting .slider {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: #CCC;
|
||||
transition: .4s;
|
||||
border-radius: 30px;
|
||||
}
|
||||
|
||||
.tab-content .setting .slider:before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
height: 1.3em;
|
||||
width: 1.2em;
|
||||
border-radius: 16px;
|
||||
left: 5px;
|
||||
top: 3px;
|
||||
bottom: 0;
|
||||
background-color: white;
|
||||
transition: .4s;
|
||||
}
|
||||
|
||||
.tab-content .setting input[type=checkbox]:checked + .slider {
|
||||
background-color: #03c4de;
|
||||
}
|
||||
|
||||
.tab-content .setting input[type=checkbox]:checked + .slider:before {
|
||||
transform: translateX(1.4em);
|
||||
}
|
||||
|
||||
.tab-content#twitch .setting input[type=checkbox]:checked + .slider {
|
||||
background-color: #a970ff;
|
||||
}
|
||||
.tab-content#youtube .setting input[type=checkbox]:checked + .slider {
|
||||
background-color: #FF0000;
|
||||
}
|
||||
.tab-content#tiktok .setting input[type=checkbox]:checked + .slider {
|
||||
background-color: #ff0050;
|
||||
}
|
||||
|
||||
.tab-content#extras .setting input[type=checkbox]:checked + .slider {
|
||||
background-color: #5fdd54;
|
||||
}
|
||||
|
||||
.tab-content .setting input[type=checkbox]:disabled + .slider {
|
||||
background-color: #000 !important;
|
||||
}
|
||||
|
||||
|
||||
footer {
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
padding: 20px;
|
||||
background: rgba(18,18,18,0.5);
|
||||
backdrop-filter: blur(10px);
|
||||
margin-top: 20px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
footer a {
|
||||
display: inline-block;
|
||||
margin: 10px 5px;
|
||||
font-size: 20px;
|
||||
color: #ffcc00;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
|
||||
#chat-divided {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#chat-settings {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#chat-settings .field {
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#chat-settings .field input {
|
||||
width: 100%;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
#chat-preview {
|
||||
display: none;
|
||||
}
|
||||
|
||||
footer { font-size: 12px; }
|
||||
}
|
Reference in New Issue
Block a user