You've already forked Atomcms-edit
Improve overall CMS styling: refined design tokens, improved card/button/input components, circular avatars on me page
This commit is contained in:
+73
-154
@@ -32,10 +32,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
font-family: poppins, sans-serif;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
border-radius: 100px;
|
||||
border: 4px solid transparent;
|
||||
@@ -44,7 +40,11 @@
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 16px;
|
||||
width: 12px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
::placeholder {
|
||||
@@ -52,14 +52,6 @@
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
:-ms-input-placeholder {
|
||||
color: #626565;
|
||||
}
|
||||
|
||||
::-ms-input-placeholder {
|
||||
color: #626565;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
@@ -95,81 +87,37 @@ body {
|
||||
background-blend-mode: multiply;
|
||||
}
|
||||
|
||||
.camera-icon {
|
||||
background: #242c31 url("/public/assets/images/icons/camera.png") no-repeat
|
||||
center;
|
||||
.icon-base {
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: contain;
|
||||
}
|
||||
|
||||
.discord-icon {
|
||||
background: #25658d url("/public/assets/images/icons/discord.png") no-repeat
|
||||
center;
|
||||
}
|
||||
|
||||
html.dark .camera-icon {
|
||||
background: #25658d url("/public/assets/images/icons/camera.png") no-repeat
|
||||
center;
|
||||
}
|
||||
|
||||
.hotel-icon {
|
||||
background: #f68b08 url("/public/assets/images/icons/feeds.png") no-repeat
|
||||
center;
|
||||
}
|
||||
|
||||
.chat-icon {
|
||||
background: #375571 url("/public/assets/images/icons/chat.png") no-repeat
|
||||
center;
|
||||
}
|
||||
|
||||
.article-icon {
|
||||
background: #536e5e url("/public/assets/images/icons/article.gif") no-repeat
|
||||
center;
|
||||
}
|
||||
|
||||
.lighthouse-icon {
|
||||
background: #8554a6 url("/public/assets/images/icons/lighthouse.png")
|
||||
no-repeat center;
|
||||
}
|
||||
|
||||
.currency-icon {
|
||||
background: #e3ad06 url("/public/assets/images/icons/currency.png") no-repeat
|
||||
center;
|
||||
}
|
||||
|
||||
.catalog-icon {
|
||||
background: rgba(141, 74, 183, 0.51)
|
||||
url("/public/assets/images/icons/catalog.png") no-repeat center;
|
||||
}
|
||||
|
||||
.inventory-icon {
|
||||
background: #232121 url("/public/assets/images/icons/inventory.png") no-repeat
|
||||
center;
|
||||
}
|
||||
|
||||
.duo-chat-icon {
|
||||
background: #eec980 url("/public/assets/images/icons/due-chat.png") no-repeat
|
||||
center;
|
||||
}
|
||||
|
||||
.friends-icon {
|
||||
background: #b17f85 url("/public/assets/images/icons/friends.png") no-repeat
|
||||
center;
|
||||
}
|
||||
.camera-icon { background: #242c31 url("/public/assets/images/icons/camera.png") no-repeat center; }
|
||||
.discord-icon { background: #25658d url("/public/assets/images/icons/discord.png") no-repeat center; }
|
||||
html.dark .camera-icon { background: #25658d url("/public/assets/images/icons/camera.png") no-repeat center; }
|
||||
.hotel-icon { background: #f68b08 url("/public/assets/images/icons/feeds.png") no-repeat center; }
|
||||
.chat-icon { background: #375571 url("/public/assets/images/icons/chat.png") no-repeat center; }
|
||||
.article-icon { background: #536e5e url("/public/assets/images/icons/article.gif") no-repeat center; }
|
||||
.lighthouse-icon { background: #8554a6 url("/public/assets/images/icons/lighthouse.png") no-repeat center; }
|
||||
.currency-icon { background: #e3ad06 url("/public/assets/images/icons/currency.png") no-repeat center; }
|
||||
.catalog-icon { background: rgba(141, 74, 183, 0.51) url("/public/assets/images/icons/catalog.png") no-repeat center; }
|
||||
.inventory-icon { background: #232121 url("/public/assets/images/icons/inventory.png") no-repeat center; }
|
||||
.duo-chat-icon { background: #eec980 url("/public/assets/images/icons/due-chat.png") no-repeat center; }
|
||||
.friends-icon { background: #b17f85 url("/public/assets/images/icons/friends.png") no-repeat center; }
|
||||
|
||||
.nav-credit-icon {
|
||||
background: #e9b124 url("/public/assets/images/icons/currency/credits.png")
|
||||
no-repeat center;
|
||||
background: #e9b124 url("/public/assets/images/icons/currency/credits.png") no-repeat center;
|
||||
outline: 1px solid #b26d18;
|
||||
}
|
||||
|
||||
.nav-ducket-icon {
|
||||
background: #c44aac url("/public/assets/images/icons/currency/duckets.png")
|
||||
no-repeat center;
|
||||
background: #c44aac url("/public/assets/images/icons/currency/duckets.png") no-repeat center;
|
||||
outline: 1px solid #812378;
|
||||
}
|
||||
|
||||
.nav-diamond-icon {
|
||||
background: #caf1f3 url("/public/assets/images/icons/currency/diamonds.png")
|
||||
no-repeat center;
|
||||
background: #caf1f3 url("/public/assets/images/icons/currency/diamonds.png") no-repeat center;
|
||||
outline: 1px solid #6caff4;
|
||||
}
|
||||
|
||||
@@ -182,43 +130,36 @@ html.dark .camera-icon {
|
||||
background-blend-mode: multiply;
|
||||
}
|
||||
|
||||
/* Nitro disconnect overlay */
|
||||
#disconnected {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.profile-bg {
|
||||
background: rgba(0, 0, 0, 0.5)
|
||||
url("/public/assets/images/profile/profile-bg.png");
|
||||
background: rgba(0, 0, 0, 0.5) url("/public/assets/images/profile/profile-bg.png");
|
||||
background-blend-mode: multiply;
|
||||
}
|
||||
|
||||
.leaderboard-first {
|
||||
background: #f9d83e url("/public/assets/images/leaderboards/trophy-gold.png")
|
||||
no-repeat center;
|
||||
background: #f9d83e url("/public/assets/images/leaderboards/trophy-gold.png") no-repeat center;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
.leaderboard-second {
|
||||
background: #b8c4d4
|
||||
url("/public/assets/images/leaderboards/trophy-silver.png") no-repeat center;
|
||||
background: #b8c4d4 url("/public/assets/images/leaderboards/trophy-silver.png") no-repeat center;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
.leaderboard-third {
|
||||
background: #f1851b
|
||||
url("/public/assets/images/leaderboards/trophy-bronze.png") no-repeat center;
|
||||
background: #f1851b url("/public/assets/images/leaderboards/trophy-bronze.png") no-repeat center;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
.site-bg {
|
||||
background: url("/public/assets/images/background-light.jpg") no-repeat fixed
|
||||
right bottom;
|
||||
background: url("/public/assets/images/background-light.jpg") no-repeat fixed right bottom;
|
||||
}
|
||||
|
||||
.app.dark .site-bg {
|
||||
background: url("/public/assets/images/background-dark.jpg") no-repeat fixed
|
||||
right bottom;
|
||||
background: url("/public/assets/images/background-dark.jpg") no-repeat fixed right bottom;
|
||||
}
|
||||
|
||||
.app.dark .swal2-popup {
|
||||
@@ -239,25 +180,11 @@ html.dark .camera-icon {
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.navigation-icon.shop {
|
||||
background-image: url("/public/assets/images/icons/navigation/shop.png");
|
||||
}
|
||||
|
||||
.navigation-icon.leaderboards {
|
||||
background-image: url("/public/assets/images/icons/navigation/leaderboards.png");
|
||||
}
|
||||
|
||||
.navigation-icon.rules {
|
||||
background-image: url("/public/assets/images/icons/navigation/rules.gif");
|
||||
}
|
||||
|
||||
.navigation-icon.home {
|
||||
background-image: url("/public/assets/images/icons/navigation/home.png");
|
||||
}
|
||||
|
||||
.navigation-icon.community {
|
||||
background-image: url("/public/assets/images/icons/navigation/community.png");
|
||||
}
|
||||
.navigation-icon.shop { background-image: url("/public/assets/images/icons/navigation/shop.png"); }
|
||||
.navigation-icon.leaderboards { background-image: url("/public/assets/images/icons/navigation/leaderboards.png"); }
|
||||
.navigation-icon.rules { background-image: url("/public/assets/images/icons/navigation/rules.gif"); }
|
||||
.navigation-icon.home { background-image: url("/public/assets/images/icons/navigation/home.png"); }
|
||||
.navigation-icon.community { background-image: url("/public/assets/images/icons/navigation/community.png"); }
|
||||
|
||||
.swiper-slide {
|
||||
height: 215px !important;
|
||||
@@ -272,63 +199,55 @@ html.dark .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
|
||||
background: white !important;
|
||||
}
|
||||
|
||||
.prose-xl p:is([style*="text-align: center;"]) img {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.prose-xl p:is([style*="text-align: center;"]) img { display: block; margin-left: auto; margin-right: auto; }
|
||||
.prose-xl p:is([style*="text-align: left;"]) img { margin-left: 0; margin-right: auto; }
|
||||
.prose-xl p:is([style*="text-align: right;"]) img { margin-left: auto; margin-right: 0; }
|
||||
.prose-xl p { font-size: 16px; }
|
||||
|
||||
.prose-xl p:is([style*="text-align: left;"]) img {
|
||||
margin-left: 0;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.prose-xl p:is([style*="text-align: right;"]) img {
|
||||
margin-left: auto;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.prose-xl p {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.atom-align-left {
|
||||
float: left;
|
||||
margin: 0 10px 10px 0;
|
||||
}
|
||||
|
||||
.atom-align-right {
|
||||
float: right;
|
||||
margin: 0 0 10px 10px;
|
||||
}
|
||||
|
||||
.atom-align-center {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.atom-align-center > * {
|
||||
text-align: center;
|
||||
}
|
||||
.atom-align-left { float: left; margin: 0 10px 10px 0; }
|
||||
.atom-align-right { float: right; margin: 0 0 10px 10px; }
|
||||
.atom-align-center { display: block; margin: 0 auto; text-align: center; }
|
||||
.atom-align-center > * { text-align: center; }
|
||||
|
||||
#article-content a {
|
||||
color: var(--link-color, #53b2f8);
|
||||
}
|
||||
|
||||
.cursor-grab {
|
||||
cursor: grab !important;
|
||||
}
|
||||
.cursor-grab:active {
|
||||
cursor: grabbing !important;
|
||||
}
|
||||
.cursor-grab { cursor: grab !important; }
|
||||
.cursor-grab:active { cursor: grabbing !important; }
|
||||
|
||||
/* Text utility classes using CSS variables */
|
||||
.text-body { color: var(--color-text); }
|
||||
.text-muted { color: var(--color-text-muted); }
|
||||
.text-nav { color: var(--color-navbar-text); }
|
||||
|
||||
/* Text shadow for readability on images/dark backgrounds */
|
||||
.text-shadow { text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
|
||||
.text-shadow-sm { text-shadow: 0 1px 2px rgba(0,0,0,0.6); }
|
||||
.text-shadow-lg { text-shadow: 0 2px 8px rgba(0,0,0,0.9); }
|
||||
|
||||
.transition-base {
|
||||
transition: all 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.transition-smooth {
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
.hover-lift {
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
.hover-lift:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--shadow-card-hover);
|
||||
}
|
||||
|
||||
.card-base {
|
||||
background-color: var(--color-surface);
|
||||
border-radius: var(--radius-md);
|
||||
box-shadow: var(--shadow-card);
|
||||
border: 1px solid color-mix(in srgb, var(--color-text-muted) 15%, transparent);
|
||||
}
|
||||
|
||||
.card-base:hover {
|
||||
box-shadow: var(--shadow-card-hover);
|
||||
border-color: color-mix(in srgb, var(--color-text-muted) 25%, transparent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user