mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-08 16:50:44 +02:00
3f11776ecd
* Remove components, core and modules LESS stylesheets * Remove variables LESS stylesheets * Remove app LESS stylesheets * Remove github-sync, onboarding LESS stylesheets * Remove main-light and IEEE LESS stylesheets * Remove Less loader configuration * Remove bootstrap-3 entrypoint * Rename bootstrap-5 entrypoint to bootstrap * Remove bootstrap-5 CSS folder and move stylesheets * Update CSS variables * Restore and update github-sync.scss path * Fix try-premium.scss path and fix undefined mixin error * Restore entrypoints * Simplify buildCssPath to always use main-style.css * Remove less from prettier formatting scripts * Remove less from addHook extension * Source format * Remove nvd3 file reference from prettierignore (equivalent of nvd3.scss) * Remove less and less-loader * Add SCSS files to pirates require hook GitOrigin-RevId: bd83c79f4d6ef7305d75993959a4dc5e7714ef9c
63 lines
1.3 KiB
SCSS
63 lines
1.3 KiB
SCSS
// Pagination (multiple pages)
|
|
// --------------------------------------------------
|
|
.pagination {
|
|
display: inline-block;
|
|
padding-left: 0;
|
|
margin: 0;
|
|
|
|
> li {
|
|
display: inline-block;
|
|
|
|
> a,
|
|
> span,
|
|
> button {
|
|
position: relative;
|
|
float: left; // Collapse white-space
|
|
padding: var(--spacing-04) var(--spacing-06);
|
|
line-height: var(--line-height-base);
|
|
text-decoration: none;
|
|
color: var(--neutral-90);
|
|
background-color: #fff;
|
|
border: 1px solid var(--neutral-30);
|
|
margin-left: -1px;
|
|
font-weight: 600;
|
|
transition: background-color 0.15s ease-in-out;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
color: var(--neutral-90);
|
|
background-color: var(--neutral-10);
|
|
border-color: var(--neutral-30);
|
|
text-decoration: none;
|
|
transition: background-color 0.15s ease-in-out;
|
|
}
|
|
}
|
|
|
|
&:first-child {
|
|
> a,
|
|
> span,
|
|
> button {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
> .active > a,
|
|
> .active > span,
|
|
> .active > button {
|
|
&,
|
|
&:hover,
|
|
&:focus {
|
|
z-index: 2;
|
|
color: var(--green-70);
|
|
background-color: var(--green-10);
|
|
border-color: var(--neutral-30);
|
|
cursor: default;
|
|
}
|
|
}
|
|
|
|
.ellipses {
|
|
pointer-events: none;
|
|
}
|
|
}
|