PhotoSphereStudio/public/assets/style.css

163 lines
2.6 KiB
CSS
Raw Normal View History

2023-04-08 10:34:31 +07:00
body {
2023-06-27 22:39:15 +07:00
margin: 0;
padding: 0;
2023-04-08 10:34:31 +07:00
}
2023-06-27 22:39:15 +07:00
2023-04-08 10:34:31 +07:00
button {
2023-06-27 22:39:15 +07:00
border: none;
border-radius: 2px;
padding: 12px 18px;
font-size: 16px;
text-transform: uppercase;
cursor: pointer;
color: white;
background-color: #2196f3;
box-shadow: 0 0 4px #999;
outline: none;
}
2023-04-08 10:34:31 +07:00
pre {
2023-06-27 22:39:15 +07:00
white-space: pre-line;
2023-04-08 10:34:31 +07:00
}
2023-06-27 22:39:15 +07:00
2023-04-08 10:34:31 +07:00
form, input, label, p {
2023-06-27 22:39:15 +07:00
color: white !important;
2023-04-08 10:34:31 +07:00
}
2023-06-27 22:39:15 +07:00
2023-04-08 10:34:31 +07:00
#icon {
2023-06-27 22:39:15 +07:00
max-width: 45px;
height: auto;
border-radius: 50%;
2023-04-08 10:34:31 +07:00
}
2023-06-27 22:39:15 +07:00
2023-04-08 10:34:31 +07:00
.column {
2023-06-27 22:39:15 +07:00
flex-grow: 1;
display: inline-block;
2023-04-08 10:34:31 +07:00
}
2023-06-27 22:39:15 +07:00
2023-04-08 10:34:31 +07:00
/* Ripple effect */
.ripple {
2023-06-27 22:39:15 +07:00
background-position: center;
transition: background 0.8s;
2023-04-08 10:34:31 +07:00
}
2023-06-27 22:39:15 +07:00
2023-04-08 10:34:31 +07:00
.ripple:hover {
2023-06-27 22:39:15 +07:00
background: #47a7f5 radial-gradient(circle, transparent 1%, #47a7f5 1%) center/15000%;
2023-04-08 10:34:31 +07:00
}
2023-06-27 22:39:15 +07:00
2023-04-08 10:34:31 +07:00
.ripple:active {
2023-06-27 22:39:15 +07:00
background-color: #6eb9f7;
background-size: 100%;
transition: background 0s;
2023-04-08 10:34:31 +07:00
}
2023-06-27 22:39:15 +07:00
2023-04-08 10:34:31 +07:00
/* DRAG AND DROP */
.file-upload {
2023-06-27 22:39:15 +07:00
width: 100%;
margin: 0 auto;
2023-04-08 10:34:31 +07:00
}
2023-06-27 22:39:15 +07:00
2023-04-08 10:34:31 +07:00
.file-upload-btn {
2023-06-27 22:39:15 +07:00
width: 100%;
margin: 0;
color: #fff;
background: #2196f3;
border: none;
padding: 10px;
border-radius: 4px;
border-bottom: 4px solid #2879f3;
transition: all .2s ease;
outline: none;
text-transform: uppercase;
font-weight: 700;
}
2023-04-08 10:34:31 +07:00
.file-upload-btn:hover {
2023-06-27 22:39:15 +07:00
background: #2175f3;
color: #ffffff;
transition: all .2s ease;
cursor: pointer;
2023-04-08 10:34:31 +07:00
}
2023-06-27 22:39:15 +07:00
2023-04-08 10:34:31 +07:00
.file-upload-btn:active {
2023-06-27 22:39:15 +07:00
border: 0;
transition: all .2s ease;
2023-04-08 10:34:31 +07:00
}
2023-06-27 22:39:15 +07:00
2023-04-08 10:34:31 +07:00
.file-upload-content {
2023-06-27 22:39:15 +07:00
display: none;
text-align: center;
2023-04-08 10:34:31 +07:00
}
2023-06-27 22:39:15 +07:00
2023-04-08 10:34:31 +07:00
.file-upload-input {
2023-06-27 22:39:15 +07:00
position: absolute;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
outline: none;
opacity: 0;
cursor: pointer;
}
2023-04-08 10:34:31 +07:00
.image-upload-wrap {
2023-06-27 22:39:15 +07:00
margin-top: 20px;
border: 4px dashed #2196f3;
position: relative;
2023-04-08 10:34:31 +07:00
}
2023-06-27 22:39:15 +07:00
2023-04-08 10:34:31 +07:00
.image-dropping, .image-upload-wrap:hover {
2023-06-27 22:39:15 +07:00
background-color: #2196f3;
border: 4px dashed #ffffff;
2023-04-08 10:34:31 +07:00
}
2023-06-27 22:39:15 +07:00
2023-04-08 10:34:31 +07:00
.image-title-wrap {
2023-06-27 22:39:15 +07:00
padding: 0 15px 15px 15px;
color: #222;
2023-04-08 10:34:31 +07:00
}
2023-06-27 22:39:15 +07:00
2023-04-08 10:34:31 +07:00
.drag-text {
2023-06-27 22:39:15 +07:00
text-align: center;
2023-04-08 10:34:31 +07:00
}
2023-06-27 22:39:15 +07:00
2023-04-08 10:34:31 +07:00
.drag-text .buttonText {
2023-06-27 22:39:15 +07:00
font-weight: 100;
text-transform: uppercase;
color: #fff;
padding: 60px 0;
2023-04-08 10:34:31 +07:00
}
2023-06-27 22:39:15 +07:00
2023-04-08 10:34:31 +07:00
.file-upload-image {
2023-06-27 22:39:15 +07:00
max-height: 200px;
max-width: 200px;
margin: auto;
padding: 20px;
2023-04-08 10:34:31 +07:00
}
2023-06-27 22:39:15 +07:00
2023-04-08 10:34:31 +07:00
.remove-image {
2023-06-27 22:39:15 +07:00
width: 200px;
margin: 0;
color: #fff;
background: #cd4535;
border: none;
padding: 10px;
border-radius: 4px;
border-bottom: 4px solid #b02818;
transition: all .2s ease;
outline: none;
text-transform: uppercase;
font-weight: 700;
}
2023-04-08 10:34:31 +07:00
.remove-image:hover {
2023-06-27 22:39:15 +07:00
background: #c13b2a;
color: #ffffff;
transition: all .2s ease;
cursor: pointer;
2023-04-08 10:34:31 +07:00
}
2023-06-27 22:39:15 +07:00
2023-04-08 10:34:31 +07:00
.remove-image:active {
2023-06-27 22:39:15 +07:00
border: 0;
transition: all .2s ease;
2023-04-08 10:34:31 +07:00
}