Reworked the styles for the paging buttons (#117)
Co-authored-by: andrew <andrew.github@grantnet.us>
This commit is contained in:
1 parent
6f3a0fc4c3
commit
faff329962
5 files changed
+82
-15
No files matched your search
@@ -0,0 +1,48 @@
|
||||
.pagination {
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#pagebrowse {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.page, .ellipsis {
|
||||
display: inline-block;
|
||||
padding: 6px 1rem;
|
||||
margin: 0;
|
||||
border-left: 1px solid var(--color1);
|
||||
border-right: 1px solid var(--color1);
|
||||
background-color: var(--color2); /* Dark background color */
|
||||
color: var(--color-font2);
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s; /* Add a smooth transition effect to background color */
|
||||
height: 24px; /* This is just an example, adjust according to your needs */
|
||||
line-height: 24px; /* Should be same as height */
|
||||
min-width: 1.6rem;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.page:hover {
|
||||
background-color: var(--color3); /* Darker background color on hover */
|
||||
}
|
||||
|
||||
.previous {
|
||||
border-top-left-radius: 7px;
|
||||
border-bottom-left-radius: 7px;
|
||||
}
|
||||
|
||||
.next {
|
||||
border-top-right-radius: 7px;
|
||||
border-bottom-right-radius: 7px;
|
||||
}
|
||||
|
||||
.ellipsis, .fa-solid {
|
||||
/*margin: 0 4px;*/
|
||||
pointer-events: none; /* Disable click events on ellipsis */
|
||||
vertical-align: middle; /* Ensure icons are vertically centered */
|
||||
}
|
||||
@@ -45,7 +45,7 @@ body, html, main{
|
||||
}
|
||||
|
||||
#content{
|
||||
max-width: calc(min(100%,1200px));
|
||||
max-width: calc(min(100%,1100px));
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
display: inline-block;
|
||||
@@ -192,6 +192,14 @@ body, html, main{
|
||||
background-color: #1C2D40;
|
||||
}
|
||||
|
||||
#content .btn-start {
|
||||
background-color: #384A5F;
|
||||
}
|
||||
|
||||
#content .btn-preset {
|
||||
background-color: #046c52;
|
||||
}
|
||||
|
||||
#content .btn-yellow {
|
||||
background-color: #7A4E09;
|
||||
}
|
||||
@@ -208,6 +216,14 @@ body, html, main{
|
||||
background-color: #2E3F57;
|
||||
}
|
||||
|
||||
#content .btn-start:hover {
|
||||
background-color: #2E3F57;
|
||||
}
|
||||
|
||||
#content .btn-preset:hover {
|
||||
background-color: #11a983;
|
||||
}
|
||||
|
||||
#content .btn-yellow:hover {
|
||||
background-color: #9B6B0F;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user