pearCast/style.css

274 lines
4.5 KiB
CSS
Raw Permalink Normal View History

#titlebar {
-webkit-app-region: drag;
height: 40px;
width: 100%;
position: fixed;
top: 0;
background-color: #111;
border-bottom: 0.2px solid #444;
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
margin: 0;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
background-color: #111;
color: #ddd;
width: 100%;
height: 540px;
}
pear-ctrl[data-platform="darwin"] {
float: left;
margin-top: 15px;
margin-left: 5px;
}
.hidden{
display: none !important;
}
h1 {
font-size: 16px;
margin: 0;
}
input{
background-color: #222;
border: 0;
color: #bbb;
font-weight: 900;
font-size: 14px;
}
button:focus, input:focus{
outline: none;
}
/* Button Styles */
.btn {
display: inline-block;
font-weight: 900;
text-align: center;
vertical-align: middle;
cursor: pointer;
border: 1px solid transparent;
padding: 0.5rem 0.75rem;
font-size: 12px;
line-height: 1.5;
border-radius: 0.5rem;
transition: all 0.15s ease-in-out;
min-width: 120px;
}
.create-join-btn-div{
display: flex;
}
#create-station{
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
#open-join-modal{
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
#station-info{
font-size: 11px;
color: #aaa;
font-weight: 900;
}
.btn-primary {
color: #ddd;
background-color: #6e45fc;
border: 1px solid #8B5DFF;
}
.btn-primary:hover {
background-color: #7d59fd;
border-color: #7d59fd;
}
.btn-secondary {
color: #9678ff;
background-color: #111;
border: 1px solid #333;
}
.btn-secondary:hover {
border: 1px solid #6e45fc;
}
.btn-danger {
color: #dc3545;
background-color: #dc35462a;
border: 1px solid #dc3545;
}
.btn-danger:hover {
background-color: #bb2d3b52;
border-color: #b02a37;
}
.btn-success {
color: #73EC8B;
background-color: #73EC8B2d;
border-color: #73EC8B;
}
.btn-success:hover {
background-color: #73EC8B52;
border-color: #73EC8B;
}
.btn-close {
background: none;
border: none;
color: #fff;
font-size: 1.25rem;
cursor: pointer;
}
/* Container Styles */
.container {
width: 100%;
height: 100%;
margin: 0 auto;
padding: 1rem;
gap: 10px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
/* Modal Styles */
.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
outline: 0;
display: none;
}
.modal.fade {
display: block;
opacity: 1;
}
.modal-dialog {
position: absolute;
margin: auto;
width: 80%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
box-shadow: 0 0 20px #181818;
border-radius: 10px;
}
.modal-content {
background-color: #111;
border: 1px solid #444;
border-radius: 15px;
padding: 1rem;
}
.modal-header, .modal-footer {
display: flex;
justify-content: space-between;
}
.modal-title {
font-size: 12px;
}
.modal-body {
padding-block: 1rem;
}
.modal-body-container{
display: flex;
flex-direction: column;
justify-content: space-between;
}
.modal-footer {
border-top: 1px solid #444;
padding-top: 1rem;
}
/* Form Styles */
.form-control {
display: block;
width: 100%;
padding: 0.5rem 0.75rem;
line-height: 1.5;
background-clip: padding-box;
border-radius: 0.25rem;
}
.form-control::placeholder {
color: #adb5bd;
}
.form-label {
display: inline-block;
margin-bottom: 0.5rem;
font-size: 12px;
color: #ddd;
font-weight: 900;
}
.form-select {
display: block;
width: 100%;
padding: 0.375rem 1.75rem 0.375rem 0.75rem;
font-size: 12px;
line-height: 1.5;
color: #bbb;
background-color: #222;
background-image: none;
border: 1px solid #444;
border-radius: 0.25rem;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
cursor: pointer;
}
.form-select:focus {
border-color: #666;
outline: 0;
}
/* Utility Classes */
.text-center {
text-align: center;
}
.mt-2 {
margin-top: 0.5rem;
}
.mt-3 {
margin-top: 1rem;
}
.mt-4 {
margin-top: 1.5rem;
}
.mt-5 {
margin-top: 3rem;
}
.d-none {
display: none;
}
.d-inline-block {
display: inline-block;
}