744 lines
13 KiB
CSS
744 lines
13 KiB
CSS
/* --- Base Styles --- */
|
|
body {
|
|
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
|
|
margin: 20px;
|
|
background: #111010;
|
|
/* background:radial-gradient(ellipse at bottom center, #002a30, #000000bd), radial-gradient(ellipse at top center, #0558a8, #000000fa); */
|
|
color: #FBFBFB;
|
|
min-height: 100vh;
|
|
margin:0px;
|
|
padding-top: 70px;
|
|
}
|
|
|
|
.content-inner {
|
|
max-width: 90%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
h1, h2 {
|
|
color: #FBFBFB;
|
|
}
|
|
h2 {
|
|
color: #55c3ec;
|
|
}
|
|
|
|
/* --- Toolbar --- */
|
|
.toolbar {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.toolbar button {
|
|
margin-right: 10px;
|
|
padding: 8px 12px;
|
|
border: none;
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
cursor: pointer;
|
|
border-radius: 4px;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.toolbar button:hover {
|
|
background-color: #45a049;
|
|
}
|
|
|
|
/* --- Upload Section --- */
|
|
.upload-section {
|
|
margin-bottom: 30px;
|
|
background-color: rgb(67 67 67 / 26%);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
border: 1px solid #2f2e2e80;
|
|
border-radius: 8px;
|
|
padding: 0px 20px 20px 20px;
|
|
}
|
|
|
|
.upload-section label {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* --- Gallery & Hero Grid --- */
|
|
#gallery, #hero {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
gap: 15px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
/* --- Photo Card --- */
|
|
.photo {
|
|
background-color: rgb(67 67 67 / 26%);
|
|
border-radius: 6px;
|
|
padding: 10px;
|
|
text-align: center;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
border: 1px solid #2f2e2e80;
|
|
}
|
|
|
|
.photo img {
|
|
max-width: 100%;
|
|
border-radius: 4px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.photo input[type="text"] {
|
|
width: 100%;
|
|
padding: 4px 6px;
|
|
border-radius: 30px;
|
|
color: rgb(221, 221, 221);
|
|
}
|
|
|
|
.photo button {
|
|
padding: 4px;
|
|
border: none;
|
|
background-color:rgb(121 26 19);
|
|
color: white;
|
|
border-radius: 30px;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s;
|
|
margin: 5px 4px 0 4px;
|
|
width:100%;
|
|
}
|
|
|
|
.photo button:hover {
|
|
background-color: #d32f2f;
|
|
}
|
|
|
|
/* --- Responsive Adjustments --- */
|
|
@media (max-width: 500px) {
|
|
body {
|
|
margin: 10px;
|
|
}
|
|
|
|
.toolbar button {
|
|
margin-bottom: 8px;
|
|
width: 100%;
|
|
}
|
|
|
|
.upload-section label {
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
/* --- Toast Notifications --- */
|
|
#toast-container {
|
|
position: fixed;
|
|
bottom: 1rem;
|
|
right: 1rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
z-index: 9999;
|
|
}
|
|
|
|
.toast {
|
|
background: rgba(0,0,0,0.85);
|
|
color: white;
|
|
padding: 0.75rem 1.25rem;
|
|
border-radius: 30px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.3);
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
transition: opacity 0.5s ease, transform 0.5s ease;
|
|
pointer-events: none;
|
|
backdrop-filter: blur(20px);
|
|
}
|
|
|
|
.toast.show {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.toast.success { background-color: #28a7468c; }
|
|
.toast.error { background-color: #dc3545; }
|
|
|
|
/* --- Tags --- */
|
|
.tag-input {
|
|
display: flex;
|
|
flex-wrap: wrap-reverse;
|
|
align-content: flex-start;
|
|
gap: 4px;
|
|
padding: 4px;
|
|
position: relative;
|
|
z-index: 1;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.tag-input input {
|
|
border: none;
|
|
outline: none;
|
|
min-width: 60px;
|
|
background-color: #1f2223;
|
|
border: 1px solid #585858;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.tag {
|
|
background-color: #074053;
|
|
padding: 0.2em 0.5em;
|
|
border-radius: 15px;
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.tag .remove-tag {
|
|
margin-left: 4px;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.tag-input ul.suggestions {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
background: #181a1b;
|
|
border-top: none;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
max-height: 150px;
|
|
overflow-y: auto;
|
|
z-index: 999;
|
|
display: none;
|
|
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
|
|
}
|
|
|
|
.tag-input ul.suggestions li {
|
|
padding: 6px 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tag-input ul.suggestions li:hover {
|
|
background-color: #007782;
|
|
}
|
|
|
|
.tags-display {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.suggestions li.selected {
|
|
background-color: #007782;
|
|
color: white;
|
|
cursor: pointer;
|
|
}
|
|
.suggestions li {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* --- Flex Utilities --- */
|
|
.flex-item {
|
|
display: flex;
|
|
}
|
|
|
|
.flex-column {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.flex-full {
|
|
flex: 1;
|
|
flex-direction: column-reverse;
|
|
}
|
|
|
|
.flex-end {
|
|
align-items: flex-end;
|
|
width: 100%
|
|
}
|
|
|
|
/* --- Top Bar & Navigation --- */
|
|
.nav {
|
|
height: 100%;
|
|
max-width: 1140px;
|
|
padding: 0 40px;
|
|
}
|
|
|
|
.nav-bar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 70px;
|
|
background-color: #0c0d0c29;
|
|
z-index: 1000;
|
|
backdrop-filter: blur(20px);
|
|
border-bottom: 1px solid #21212157;
|
|
}
|
|
|
|
.nav img {
|
|
height: 30px;
|
|
padding: 0px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.nav > .nav-header {
|
|
display: inline;
|
|
}
|
|
|
|
.nav > .nav-header > .nav-title {
|
|
display: inline-block;
|
|
font-size: 22px;
|
|
color: #fff;
|
|
padding: 0;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.nav > .nav-btn {
|
|
display: none;
|
|
}
|
|
|
|
.nav-btn label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
.nav > .nav-links {
|
|
display: inline;
|
|
float: right;
|
|
font-size: 14px;
|
|
height: 100%;
|
|
line-height: 70px;
|
|
}
|
|
|
|
.nav-item {
|
|
display: inline;
|
|
}
|
|
|
|
.nav-list {
|
|
list-style-type: disc;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
}
|
|
|
|
.nav > .nav-links > .nav-list > .nav-item > a {
|
|
display: inline-block;
|
|
padding: 0px 15px 0px 15px;
|
|
text-decoration: none;
|
|
height: 100%;
|
|
font-weight: 700;
|
|
color:#fff
|
|
}
|
|
|
|
.nav > .nav-links > .nav-list > .nav-item > a:hover {
|
|
color: #00b0f0;
|
|
}
|
|
|
|
.nav > .nav-links > .nav-list > .nav-item > a:active {
|
|
color: #00b0f0;
|
|
}
|
|
|
|
.nav > #nav-check {
|
|
display: none;
|
|
}
|
|
|
|
.nav-list > li + li::before{
|
|
content: " → ";
|
|
color: #ffc700;
|
|
}
|
|
|
|
.nav-cta {
|
|
display: inline;
|
|
float: right;
|
|
height: 70px;
|
|
line-height: 70px;
|
|
}
|
|
|
|
.nav-cta > .arrow {
|
|
font-size: 12px;
|
|
display: inline;
|
|
color: #ffc700;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.nav-bar .button {
|
|
padding: 10px 25px;
|
|
border-radius: 40px;
|
|
margin: 15px 20px 15px 10px;
|
|
font-size: 12px;
|
|
display: inline;
|
|
background: linear-gradient(135deg, #26c4ff, #016074);
|
|
transition: all 0.2s ease;
|
|
text-decoration: none;
|
|
color: #fff;
|
|
font-weight: 700;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.nav-bar .button:hover {
|
|
background: linear-gradient(135deg, #72d9ff, #26657e);
|
|
transition: all 0.2s ease;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.nav-links > ul {
|
|
display: inline-block;
|
|
}
|
|
|
|
.nav-btn span {
|
|
display: block;
|
|
height: 4px;
|
|
width: 28px;
|
|
background: #fff;
|
|
margin: 4px 0;
|
|
border-radius: 2px;
|
|
transition: all 0.3s;
|
|
}
|
|
/* --- Custom Upload Buttons --- */
|
|
.up-btn {
|
|
display: inline-block;
|
|
background: #00000000;
|
|
color: #fff;
|
|
padding: 0.5em 1em;
|
|
border-radius: 30px;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
transition: all 0.1s ease;
|
|
user-select: none;
|
|
/* box-shadow: 0 4px 10px rgba(0,0,0,0.25);*/
|
|
font-size: 14px;
|
|
border: 1px solid #585858;
|
|
}
|
|
|
|
.up-btn:hover {
|
|
background: #2d2d2d;
|
|
}
|
|
|
|
/* --- Modal Styles --- */
|
|
.modal {
|
|
position: fixed;
|
|
top: 0; left: 0; right: 0; bottom: 0;
|
|
z-index: 10000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.modal-content {
|
|
background: #131313;
|
|
color: #fff;
|
|
padding: 2rem 2.5rem;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 24px rgba(0,0,0,0.25);
|
|
min-width: 300px;
|
|
max-width: 90vw;
|
|
position: relative;
|
|
text-align: center;
|
|
}
|
|
|
|
.modal-close {
|
|
position: absolute;
|
|
top: 12px; right: 18px;
|
|
font-size: 1.5rem;
|
|
cursor: pointer;
|
|
color: #fff;
|
|
opacity: 0.7;
|
|
}
|
|
.modal-close:hover { opacity: 1; }
|
|
|
|
.modal-actions {
|
|
margin-top: 2rem;
|
|
display: flex;
|
|
gap: 1rem;
|
|
justify-content: center;
|
|
}
|
|
|
|
.modal-btn {
|
|
padding: 0.5em 1.5em;
|
|
border-radius: 30px;
|
|
border: none;
|
|
background: #09A0C1;
|
|
color: #fff;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.modal-btn.danger {
|
|
background: #c62828;
|
|
}
|
|
|
|
.modal-btn:hover {
|
|
background: #55c3ec;
|
|
}
|
|
|
|
.modal-btn.danger:hover {
|
|
background: #d32f2f;
|
|
}
|
|
|
|
/* --- Upload Actions Row --- */
|
|
.upload-actions-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
/* Remove All Buttons */
|
|
#remove-all-hero, #remove-all-gallery {
|
|
background: #2d2d2d;
|
|
color: white;
|
|
display: none;
|
|
}
|
|
|
|
#remove-all-gallery:hover,
|
|
#remove-all-hero:hover {
|
|
background: rgb(121, 26, 19);
|
|
}
|
|
|
|
/* Responsive: stack buttons vertically on small screens */
|
|
@media (max-width: 500px) {
|
|
.upload-actions-row {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 8px;
|
|
}
|
|
}
|
|
|
|
/* --- Site Info --- */
|
|
|
|
/* --- Site Info Form --- */
|
|
|
|
#site-info.content-inner, #theme-editor.content-inner {
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
max-width: 1140px;
|
|
padding: 0 40px 40px 40px;
|
|
}
|
|
|
|
fieldset {
|
|
background-color: rgb(67 67 67 / 26%);
|
|
border-radius: 6px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
border: 1px solid #2f2e2e80;
|
|
margin-bottom: 28px;
|
|
padding: 0 28px 32px 28px;
|
|
margin: 32px auto;
|
|
}
|
|
|
|
legend {
|
|
font-size: 1.2em;
|
|
font-weight: 700;
|
|
color: #26c4ff;
|
|
margin-bottom: 12px;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.fields {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 18px;
|
|
}
|
|
|
|
.input-field {
|
|
flex: 1 1 calc(33.333% - 18px);
|
|
min-width: 220px;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
label {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #e3e3e3;
|
|
margin-bottom: 6px;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
#site-info-form input, #theme-editor-form input,
|
|
#site-info-form textarea, #theme-editor-form textarea,
|
|
#site-info-form select, #theme-editor-form select {
|
|
background: #1f2223;
|
|
color: #fff;
|
|
border: 1px solid #585858;
|
|
border-radius: 8px;
|
|
font-size: 15px;
|
|
font-weight: 400;
|
|
padding: 10px 14px;
|
|
margin-bottom: 4px;
|
|
outline: none;
|
|
transition: border-color 0.2s, background 0.2s;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.07);
|
|
}
|
|
|
|
#site-info-form input::placeholder,
|
|
#theme-editor-form input::placeholder,
|
|
#site-info-form textarea::placeholder,
|
|
#theme-editor-form textarea::placeholder {
|
|
color: #585858;
|
|
font-style: italic;
|
|
}
|
|
|
|
#site-info-form input:focus,
|
|
#theme-editor-form input:focus,
|
|
#site-info-form textarea:focus,
|
|
#theme-editor-form textarea:focus,
|
|
#site-info-form select:focus,
|
|
#theme-editor-form select:focus {
|
|
border-color: #585858;
|
|
background: #161616;
|
|
}
|
|
#site-info-form textarea,
|
|
#theme-editor-form textarea {
|
|
min-height: 60px;
|
|
resize: vertical;
|
|
}
|
|
|
|
#input[type="file"] {
|
|
background: none;
|
|
color: #fff;
|
|
border: none;
|
|
padding: 0;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
img#thumbnail-preview {
|
|
margin-top: 8px;
|
|
border-radius: 8px;
|
|
border: 1px solid #585858;
|
|
}
|
|
|
|
#site-info-form button[type="submit"], #theme-editor-form button[type="submit"] {
|
|
background: linear-gradient(135deg, #26c4ff, #016074);
|
|
color: #fff;
|
|
font-weight: 700;
|
|
border: none;
|
|
border-radius: 30px;
|
|
padding: 12px 32px;
|
|
font-size: 1.1em;
|
|
margin-top: 18px;
|
|
cursor: pointer;
|
|
box-shadow: 0 4px 16px rgba(38,196,255,0.15);
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
#site-info-form button[type="submit"]:hover, #theme-editor-form button[type="submit"]:hover {
|
|
background: linear-gradient(135deg, #72d9ff, #26657e);
|
|
}
|
|
|
|
#site-info-form button[type="button"], #theme-editor-form button[type="button"] {
|
|
background: #00000000;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 18px;
|
|
padding: 7px 18px;
|
|
font-size: 0.98em;
|
|
margin-top: 8px;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
border: 1px solid #585858;
|
|
}
|
|
|
|
#site-info-form button[type="button"]:hover, #theme-editor-form button[type="button"]:hover {
|
|
background: #2d2d2d;
|
|
color: #fff;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
#site-info-form, #theme-editor-form {
|
|
padding: 18px 8px;
|
|
}
|
|
.fields,
|
|
fieldset {
|
|
flex-direction: column;
|
|
gap: 0;
|
|
}
|
|
.input-field {
|
|
min-width: 100%;
|
|
margin-bottom: 12px;
|
|
}
|
|
}
|
|
|
|
#site-info-form button.remove-menu-item, #site-info-form button.remove-ip-paragraph, #theme-editor-form button.remove-menu-item, #theme-editor-form button.remove-ip-paragraph {
|
|
margin-top: 0px;
|
|
margin-bottom: 4px;
|
|
border-radius: 30px;
|
|
background: #2d2d2d;
|
|
}
|
|
|
|
#site-info-form button.remove-menu-item:hover, #site-info-form button.remove-ip-paragraph:hover, #theme-editor-form button.remove-menu-item:hover, #theme-editor-form button.remove-ip-paragraph:hover {
|
|
background: rgb(121, 26, 19);
|
|
}
|
|
|
|
#site-info-form button.remove-btn, #theme-editor-form button.remove-btn {
|
|
|
|
border-radius: 30px;
|
|
background: #2d2d2d;
|
|
}
|
|
|
|
#site-info-form button.remove-btn:hover, #theme-editor-form button.remove-btn:hover {
|
|
background: rgb(121, 26, 19);
|
|
}
|
|
|
|
#site-info-form .thumbnail-form-label, #theme-editor-form .thumbnail-form-label {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
#favicon-preview {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
|
|
.color-fields {
|
|
gap: 8px;
|
|
position: relative;
|
|
}
|
|
|
|
|
|
#theme-editor button.color-btn {
|
|
height: 100%;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
margin-top: 0px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
input[type="color"].color-input {
|
|
margin:0;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
height:100%;
|
|
position:absolute;
|
|
left:0;
|
|
top:0;
|
|
opacity:0;
|
|
}
|
|
|
|
fieldset p {
|
|
font-size: 14px;
|
|
font-style: italic;
|
|
color: #b3b3b3;
|
|
margin-top: 0px;
|
|
}
|
|
|
|
.font-name {
|
|
background: #1f2223;
|
|
color: #b3b3b3;
|
|
border: 1px solid #585858;
|
|
border-radius: 8px;
|
|
font-size: 15px;
|
|
font-weight: 400;
|
|
padding: 10px 14px;
|
|
margin-bottom: 4px;
|
|
outline: none;
|
|
transition: border-color 0.2s, background 0.2s;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.07);
|
|
}
|
|
|
|
#theme-editor-form button[type="button"]#choose-font-btn {
|
|
margin-top: 16px;
|
|
}
|