F: Reworked the entry page UI
This commit is contained in:
1 parent
387686ad0f
commit
30ad2fbf03
3 files changed
+174
-275
No files matched your search
@@ -1,185 +1,132 @@
|
||||
.background-wrapper {
|
||||
position: absolute;
|
||||
:host {
|
||||
--bg-opacity: 0.3;
|
||||
--bg-opacity-secondary: 0.5;
|
||||
--bg-color: rgba(255, 255, 255, var(--bg-opacity));
|
||||
--text-color: #050505;
|
||||
--text-muted: #666;
|
||||
--border-color: #dee2e6;
|
||||
--card-bg: rgba(131, 131, 131, var(--bg-opacity-secondary));
|
||||
--hover-bg: #e9ecef;
|
||||
--shadow-color: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] :host {
|
||||
--bg-opacity: 0.3;
|
||||
--bg-opacity-secondary: 0.5;
|
||||
--bg-color: rgba(33, 37, 41, var(--bg-opacity));
|
||||
--text-color: #fff;
|
||||
--text-muted: #adb5bd;
|
||||
--border-color: #495057;
|
||||
--card-bg: rgba(33, 37, 41, var(--bg-opacity-secondary));
|
||||
--hover-bg: #495057;
|
||||
--shadow-color: rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.fixed-image {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
filter: brightness(0.5);
|
||||
z-index: -1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.background-wrapper img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
h3 {
|
||||
color: var(--text-color);
|
||||
|
||||
.background-wrapper::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, #eff1f3 100%);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] .background-wrapper::after {
|
||||
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, #181c1f 100%);
|
||||
}
|
||||
|
||||
.content-wrapper {
|
||||
color: #212529;
|
||||
background: linear-gradient(to bottom,
|
||||
rgba(255, 255, 255, 0.461) 10%,
|
||||
#eff1f3 100%);
|
||||
|
||||
position: relative;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
background: var(--bg-color);
|
||||
backdrop-filter: blur(10px);
|
||||
-webkit-backdrop-filter: blur(10px);
|
||||
border-radius: 15px;
|
||||
box-shadow: 0 0 20px var(--shadow-color);
|
||||
padding: 20px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #eff1f3;
|
||||
/* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] .content-wrapper {
|
||||
color: #a7acb1;
|
||||
background: linear-gradient(to bottom,
|
||||
rgba(33, 37, 41, 0.7) 50%,
|
||||
#181c1f 100%);
|
||||
|
||||
background-color: rgba(33, 37, 41, 0.7);
|
||||
border: 1px solid #181c1f;
|
||||
}
|
||||
|
||||
.main-container {
|
||||
margin-top: 200px !important;
|
||||
}
|
||||
|
||||
/* ! LEFT PART - SIDE INFO */
|
||||
.left-col {
|
||||
min-width: 240px;
|
||||
}
|
||||
|
||||
.poster {
|
||||
padding: px 10px 0 10px;
|
||||
cursor: pointer;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.poster img {
|
||||
border-radius: 5px;
|
||||
margin-bottom: 0 !important;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 4px 8px var(--shadow-color);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.rating {
|
||||
color: var(--shz-gold-1);
|
||||
font-size: 25px;
|
||||
margin: 10px 0;
|
||||
.info-card {
|
||||
margin-bottom: 20px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 2px 4px var(--shadow-color);
|
||||
background: var(--card-bg);
|
||||
backdrop-filter: blur(5px);
|
||||
-webkit-backdrop-filter: blur(5px);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.side-info .list-group-item {
|
||||
background-color: rgba(255, 255, 255, 0.461) !important;
|
||||
background-color: transparent !important;
|
||||
.info-card .card-title {
|
||||
color: var(--text-color);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.side-info strong {
|
||||
color: var(--shz-blue-default);
|
||||
}
|
||||
|
||||
/* ! RIGHT PART - DESCRIPTION */
|
||||
.title {
|
||||
color: rgba(0, 0, 0, 0.868);
|
||||
font-weight: bolder;
|
||||
font-size: 2.9rem !important;
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] .title {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.right-col .entry-actions span {
|
||||
color: black;
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] .right-col .entry-actions span {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.right-col .entry-actions span:hover {
|
||||
color: var(--shz-blue-default);
|
||||
}
|
||||
|
||||
.btn-icon-only {
|
||||
background-color: transparent;
|
||||
.list-group-item {
|
||||
border: none;
|
||||
color: inherit;
|
||||
margin: 0 5px 3px 0;
|
||||
padding: 8px 0;
|
||||
background: transparent;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.btn-icon-only:hover {
|
||||
color: #fc185a;
|
||||
.info-item {
|
||||
color: var(--text-muted);
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.btn-icon-only-success:hover {
|
||||
color: #008cff;
|
||||
.title {
|
||||
color: var(--text-color);
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* .interaction-btns {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 15px;
|
||||
background-color: aquamarine;
|
||||
.entry-actions .btn-icon-only-success {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
padding: 0;
|
||||
border-radius: 50%;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-left: 8px;
|
||||
background: var(--card-bg);
|
||||
border: none;
|
||||
color: var(--text-color);
|
||||
backdrop-filter: blur(5px);
|
||||
-webkit-backdrop-filter: blur(5px);
|
||||
}
|
||||
|
||||
.interaction-btns button {
|
||||
display: block;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
width: 50px;
|
||||
} */
|
||||
.entry-actions .btn-icon-only-success:hover {
|
||||
background: var(--hover-bg);
|
||||
color: #007bff;
|
||||
}
|
||||
|
||||
/* * favorit button */
|
||||
.btn-icon-only-favorite {
|
||||
border: none;
|
||||
background: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.right-col .entry-actions .favorite:hover span {
|
||||
color: var(--shz-red-danger);
|
||||
}
|
||||
|
||||
.right-col .entry-actions .favorite span {
|
||||
color: var(--shz-gold-1);
|
||||
}
|
||||
|
||||
.faved {
|
||||
font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
|
||||
}
|
||||
|
||||
.info-item {
|
||||
color: var(--shz-blue-default);
|
||||
.collection-card,
|
||||
.collection-card img {
|
||||
aspect-ratio: 16/9;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.info-card {
|
||||
background-color: transparent;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.info-card hr {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.info-card .accordion .accordion-item,
|
||||
.info-card .accordion .accordion-header,
|
||||
.info-card .accordion .accordion-header .accordion-button {
|
||||
background-color: transparent;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
|
||||
/* ! collection banner */
|
||||
.card-img-overlay:hover h5 {
|
||||
color: var(--shz-blue-default) !important;
|
||||
}
|
||||
@@ -188,8 +135,37 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.collection-card,
|
||||
.collection-card img {
|
||||
aspect-ratio: 16/9;
|
||||
height: 100%;
|
||||
.table {
|
||||
margin-bottom: 0;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.table thead {
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.table th {
|
||||
border-top: none;
|
||||
border-color: var(--border-color);
|
||||
background: var(--card-bg);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.table td {
|
||||
border-color: var(--border-color);
|
||||
background: var(--card-bg);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.pagination-container .page-item.active .page-link {
|
||||
background-color: #007bff;
|
||||
border-color: #007bff;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.content-wrapper {
|
||||
margin-top: 1rem;
|
||||
padding: 15px;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user