mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 07:35:26 -05:00
b62cb86bf8
* Create a new shared `SplitMenu` component. * Refactor the pdf compile button & detached compile button: - Rename `detach-compile-button` to `detach-compile-button-wrapper` - Rename `pdf-compile-button-inner` to `detach-compile-button` - Move some of the logic from `detach-compile-button-wrapper` to `detach-compile-button` - Create a new `compile-button.less` to centralize all of the compile button (detached/non-detached) custom styles rule. - Extract the animated striped CSS definition to the dedicated CSS file, change the class from `btn-recompile-group-has-changes` to `btn-striped-animated` - Refactor other className(s) appropriately according to the new component name - Delete the unused `changes-to-autocompile` css rule since it has not been used anywhere * Implement the new pdf compile button with the new `SplitMenu` component. GitOrigin-RevId: d1d055bffd311923fc47b4681605ce8ba8e26f25
145 lines
4.4 KiB
Text
145 lines
4.4 KiB
Text
@import (less) '../fonts/lato.css';
|
|
@import (less) '../fonts/merriweather.css';
|
|
@import (less) '../fonts/source-code-pro.css';
|
|
@import (less) '../fonts/stix-two-math.css';
|
|
@import (less) '../fonts/noto-serif.css';
|
|
@import (less) '../fonts/material-symbols.css';
|
|
|
|
@is-overleaf-light: false;
|
|
@show-rich-text: true;
|
|
@is-new-css: true;
|
|
|
|
// Core variables and mixins
|
|
@import 'variables/all.less';
|
|
@import 'variables/css-variables.less';
|
|
@import 'app/ol-style-guide.less';
|
|
@import (less) '../fonts/font-awesome.css';
|
|
|
|
@import 'core/mixins.less';
|
|
|
|
// Reset
|
|
@import 'core/normalize.less';
|
|
@import 'core/print.less';
|
|
|
|
// Vendor CSS
|
|
@import (less) 'vendor/pdfListView/TextLayer.css';
|
|
@import (less) 'vendor/pdfListView/AnnotationsLayer.css';
|
|
@import (less) 'vendor/pdfListView/HighlightsLayer.css';
|
|
@import (less) 'vendor/select/select.css';
|
|
@import (less) 'vendor/codemirror.css';
|
|
@import (less) 'vendor/codemirror-dialog.css';
|
|
@import (less) 'vendor/codemirror-show-hint.css';
|
|
|
|
// Core CSS
|
|
@import 'core/page.less';
|
|
@import 'core/scaffolding.less';
|
|
@import 'core/type.less';
|
|
@import 'core/grid.less';
|
|
@import 'core/accessibility.less';
|
|
@import 'core/spacing.less';
|
|
// Utility classes
|
|
@import 'core/utilities.less';
|
|
@import 'core/responsive-utilities.less';
|
|
|
|
// Components
|
|
@import 'components/tables.less';
|
|
@import 'components/forms.less';
|
|
@import 'components/buttons.less';
|
|
@import 'components/card.less';
|
|
@import 'components/component-animations.less';
|
|
@import 'components/dropdowns.less';
|
|
@import 'components/button-groups.less';
|
|
@import 'components/input-groups.less';
|
|
@import 'components/navs.less';
|
|
@import 'components/navbar.less';
|
|
@import 'components/footer.less';
|
|
@import 'components/notifications.less';
|
|
@import 'components/labels.less';
|
|
@import 'components/thumbnails.less';
|
|
@import 'components/alerts.less';
|
|
@import 'components/progress-bars.less';
|
|
@import 'components/close.less';
|
|
@import 'components/fineupload.less';
|
|
@import 'components/hover.less';
|
|
@import 'components/ui-select.less';
|
|
@import 'components/input-suggestions.less';
|
|
@import 'components/nvd3.less';
|
|
@import 'components/nvd3_override.less';
|
|
@import 'components/infinite-scroll.less';
|
|
@import 'components/expand-collapse.less';
|
|
@import 'components/beta-badges.less';
|
|
@import 'components/divider.less';
|
|
@import 'components/input-switch.less';
|
|
@import 'components/container.less';
|
|
@import 'components/split-menu.less';
|
|
|
|
// Components w/ JavaScript
|
|
@import 'components/modals.less';
|
|
@import 'components/tooltip.less';
|
|
@import 'components/popovers.less';
|
|
@import 'components/daterange-picker';
|
|
@import 'components/vertical-resizable-panes.less';
|
|
@import 'components/lists.less';
|
|
@import 'components/overbox.less';
|
|
@import 'components/embed-responsive.less';
|
|
@import 'components/icons.less';
|
|
@import 'components/images.less';
|
|
@import 'components/navs-ol.less';
|
|
@import 'components/pagination.less';
|
|
@import 'components/tabs.less';
|
|
|
|
// ngTagsInput
|
|
@import 'components/tags-input.less';
|
|
|
|
// ShareLaTeX app classes
|
|
@import 'app/base.less';
|
|
@import 'app/account-settings.less';
|
|
@import 'app/beta-program.less';
|
|
@import 'app/about-page.less';
|
|
@import 'app/project-list.less';
|
|
@import 'app/project-list-react.less';
|
|
@import 'app/editor.less';
|
|
@import 'app/homepage.less';
|
|
@import 'app/plans.less';
|
|
@import 'app/plans-v2.less';
|
|
@import 'app/recurly.less';
|
|
@import 'app/bonus.less';
|
|
@import 'app/register.less';
|
|
@import 'app/blog.less';
|
|
@import 'app/features.less';
|
|
@import 'app/templates.less';
|
|
@import 'app/wiki.less';
|
|
@import 'app/translations.less';
|
|
@import 'app/contact-us.less';
|
|
@import 'app/subscription.less';
|
|
@import 'app/invite.less';
|
|
@import 'app/error-pages.less';
|
|
@import 'app/editor/history-v2.less';
|
|
@import 'app/metrics.less';
|
|
@import 'app/open-in-overleaf.less';
|
|
@import 'app/primary-email-check';
|
|
@import 'app/project-url-lookup';
|
|
@import 'app/grammarly';
|
|
@import 'app/sidebar-v2-dash-pane.less';
|
|
@import 'app/front-chat-widget.less';
|
|
@import 'app/ol-chat.less';
|
|
@import 'app/templates-v2.less';
|
|
@import 'app/login-register.less';
|
|
@import 'app/review-features-page.less';
|
|
@import 'app/institution-hub.less';
|
|
@import 'app/publisher-hub.less';
|
|
@import 'app/admin-hub.less';
|
|
@import 'app/import.less';
|
|
// Pages
|
|
@import 'app/about.less';
|
|
@import 'app/blog-posts.less';
|
|
@import 'app/cms-page.less';
|
|
@import 'app/content_page.less';
|
|
@import 'app/plans-ol.less';
|
|
@import 'app/portals.less';
|
|
|
|
// module styles
|
|
// TODO: find a way for modules to add styles dynamically
|
|
@import 'modules/symbol-palette.less';
|
|
@import 'modules/galileo.less';
|
|
@import 'modules/admin-panel.less';
|