Reorganize CSS files (#24739)

Reorganize various CSS files for clarity, group together by subdirectory
in `index.css`. This reorders some of the rules, but I don't think it
should introduce any issues because of that.
pull/24743/head^2
silverwind 2 years ago committed by GitHub
parent c78b923822
commit b926f96da7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .stylelintrc.yaml
  2. 0
      web_src/css/actions.css
  3. 10
      web_src/css/base.css
  4. 0
      web_src/css/editor/fileeditor.css
  5. 0
      web_src/css/features/console.css
  6. 0
      web_src/css/features/tribute.css
  7. 42
      web_src/css/index.css
  8. 0
      web_src/css/modules/animations.css
  9. 0
      web_src/css/org.css
  10. 0
      web_src/css/repo.css
  11. 0
      web_src/css/repo/issue-label.css
  12. 0
      web_src/css/repo/issue-list.css
  13. 0
      web_src/css/repo/linebutton.css
  14. 0
      web_src/css/repo/list-header.css
  15. 0
      web_src/css/repo/release-tag.css
  16. 9
      web_src/css/svg.css

@ -5,7 +5,7 @@ ignoreFiles:
- "**/*.go"
overrides:
- files: ["**/chroma/*", "**/codemirror/*", "**/standalone/*", "**/console/*"]
- files: ["**/chroma/*", "**/codemirror/*", "**/standalone/*", "**/console.css"]
rules:
scale-unlimited/declaration-strict-value: null
- files: ["**/chroma/*", "**/codemirror/*"]

@ -321,6 +321,16 @@ progress::-moz-progress-bar {
opacity: 1 !important;
}
.svg {
display: inline-block;
vertical-align: text-top;
fill: currentcolor;
}
.middle .svg {
vertical-align: middle;
}
.unselectable,
.button,
.lines-num,

@ -1,47 +1,53 @@
@import "./animations.css";
@import "./modules/animations.css";
@import "./modules/tippy.css";
@import "./modules/modal.css";
@import "./modules/breadcrumb.css";
@import "./modules/card.css";
@import "./modules/comment.css";
@import "./shared/issuelist.css";
@import "./shared/repoorg.css";
@import "./features/dropzone.css";
@import "./features/gitgraph.css";
@import "./features/heatmap.css";
@import "./features/imagediff.css";
@import "./features/codeeditor.css";
@import "./features/projects.css";
@import "./modules/tippy.css";
@import "./modules/modal.css";
@import "./modules/breadcrumb.css";
@import "./modules/card.css";
@import "./modules/comment.css";
@import "./code/linebutton.css";
@import "./features/tribute.css";
@import "./features/console.css";
@import "./markup/content.css";
@import "./markup/codecopy.css";
@import "./markup/asciicast.css";
@import "./chroma/base.css";
@import "./chroma/light.css";
@import "./codemirror/base.css";
@import "./codemirror/light.css";
@import "./console/console.css";
@import "./svg.css";
@import "./tribute.css";
@import "./font_i18n.css";
@import "./base.css";
@import "./home.css";
@import "./install.css";
@import "./form.css";
@import "./repository.css";
@import "./repository/release-tag.css";
@import "./repository/issue-label.css";
@import "./repository/issue-list.css";
@import "./repository/list-header.css";
@import "./editor.css";
@import "./repo.css";
@import "./repo/release-tag.css";
@import "./repo/issue-label.css";
@import "./repo/issue-list.css";
@import "./repo/list-header.css";
@import "./repo/linebutton.css";
@import "./editor/fileeditor.css";
@import "./editor/combomarkdowneditor.css";
@import "./organization.css";
@import "./org.css";
@import "./user.css";
@import "./dashboard.css";
@import "./admin.css";
@import "./explore.css";
@import "./review.css";
@import "./runner.css";
@import "./actions.css";
@import "./helpers.css";

@ -1,9 +0,0 @@
.svg {
display: inline-block;
vertical-align: text-top;
fill: currentcolor;
}
.middle .svg {
vertical-align: middle;
}
Loading…
Cancel
Save