Skip to content

Commit

Permalink
Revert "Split out page CSS (#6145)" (#6166)
Browse files Browse the repository at this point in the history
This reverts commit 6e712c1.
  • Loading branch information
iHiD authored Sep 17, 2023
1 parent 58018b0 commit ea4c94a
Show file tree
Hide file tree
Showing 18 changed files with 518 additions and 743 deletions.
262 changes: 262 additions & 0 deletions app/css/application.postcss.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,262 @@
@import "./tailwind.css";
@import "./defaults";
@import "./fonts";

@import "./ui-kit/animations";
@import "./ui-kit/borders";
@import "./ui-kit/buttons";
@import "./ui-kit/colors";
@import "./ui-kit/effects";
@import "./ui-kit/inputs";
@import "./ui-kit/shapes";
@import "./ui-kit/label";
@import "./ui-kit/text";
@import "./ui-kit/tracks";
@import "./ui-kit/filters";
@import "./ui-kit/scroll";

@import "./tooltips/generic";
@import "./tooltips/base";
@import "./tooltips/mentoring-link";
@import "./tooltips/concept";
@import "./tooltips/user";
@import "./tooltips/exercise";
@import "./tooltips/student";
@import "./tooltips/task";

@import "./components/advert";
@import "./components/perk";
@import "./components/textblock";
@import "./components/spinner";
@import "./components/tooltip-spinner";
@import "./components/financial-amount";
@import "./components/automated-feedback";
@import "./components/share-button";
@import "./components/social-icon";
@import "./components/blog-post";
@import "./components/donations-form";
@import "./components/donation-card-error";
@import "./components/toast";
@import "./components/contributions-summary";
@import "./components/progress";
@import "./components/site-update";
@import "./components/site-footer";
@import "./components/site-header";
@import "./components/nav-bar";
@import "./components/toggle-button";
@import "./components/theme-toggle-button";
@import "./components/community-rank-tag";
@import "./components/track-breadcrumbs";
@import "./components/contributing/header";
@import "./components/header-with-bg";
@import "./components/makers-button";
@import "./components/avatar-selector";
@import "./components/badge";
@import "./components/bg-img";
@import "./components/code-pane";
@import "./components/concept";
@import "./components/concept-icon";
@import "./components/concept-progress-bar";
@import "./components/copy-text-to-clipboard";
@import "./components/details";
@import "./components/combo-button";
@import "./components/exercise-header";
@import "./components/flash";
@import "./components/icon";
@import "./components/iteration-summary";
@import "./components/accordion-section";
@import "./components/underline";
@import "./components/about-nav";
@import "./components/docs-main-nav";
@import "./components/docs-side-nav";
@import "./components/docs-tracks-list";
@import "./components/iterations-footer";
@import "./components/solution-iterations";
@import "./components/loading-bar";
@import "./components/loading-overlay";
@import "./components/loading-suspense";
@import "./components/unlocked-concept";
@import "./components/discussion-timeline";
@import "./components/responsive-table-wrapper";

@import "./components/share-panel";
@import "./components/split-pane";
@import "./components/heading-with-count";
@import "./components/notification";
@import "./components/prominent-link";
@import "./components/reputation";
@import "./components/primary-reputation";
@import "./components/tab";
@import "./components/tab-2";
@import "./components/textual-content";
@import "./components/tracks-list";
@import "./components/pagination";
@import "./components/modal";
@import "./components/radio";
@import "./components/checkbox";
@import "./components/select";
@import "./components/single-select";
@import "./components/multiple-select";
@import "./components/track-select";

@import "./components/insiders-prompts";

@import "./components/user_activity";
@import "./components/search-bar";
@import "./components/community-solution";
@import "./components/community-solutions-list";
@import "./components/iteration-processing-status";
@import "./components/notification-dot";

@import "./components/mentor/header";
@import "./components/mentor/solution-row";
@import "./components/mentor/discussion";
@import "./components/mentor/representer-row";

@import "./components/track/header";
@import "./components/track/concept-nav";
@import "./components/track/concept-map";
@import "./components/iteration-pane";
@import "./components/test-tabs";
@import "./components/explainer";
@import "./components/markdown-editor";
@import "./components/mentor-discussion-summary";
@import "./components/mentor-track-selector";
@import "./components/tag";
@import "./components/difficulty-tag";
@import "./components/exercise-status-tag";
@import "./components/exercise-type-tag";
@import "./components/divider";
@import "./components/faces";
@import "./components/exercise-dot";
@import "./components/results-zone";
@import "./components/introducer";
@import "./components/profile-header";
@import "./components/track-filter";
@import "./components/mentor-discussion-widget";
@import "./components/completed-exercise-progress";
@import "./components/search-input";
@import "./components/zero-section";
@import "./components/mentoring-request-form";

@import "./components/widgets/exercise";
@import "./components/mentor-discussion-post-editor";
@import "./components/test-run";
@import "./components/chatgpt";
@import "./components/alert";
@import "./components/diff";
@import "./components/cli-walkthrough";
@import "./components/cli-walkthrough-button";

@import "./components/youtube-container";

@import "./modals/bug-report";
@import "./modals/donations-form";
@import "./modals/editor-hints";
@import "./modals/automated-feedback";
@import "./modals/generic-confirmation";
@import "./modals/generic-destructive";
@import "./modals/donation-confirmation";
@import "./modals/badge";
@import "./modals/update-exercise";
@import "./modals/makers";
@import "./modals/test-run";
@import "./modals/activate-track-mode";
@import "./modals/crop-avatar";
@import "./modals/profile-first-time";
@import "./modals/completed-tutorial-exercise";
@import "./modals/completed-exercise";
@import "./modals/publish-exercise";
@import "./modals/mentoring-sessions";
@import "./modals/confirm-finish-student-mentor-discussion";
@import "./modals/finish-student-mentor-discussion";
@import "./modals/community-launch";
@import "./modals/become-mentor";
@import "./modals/change-mentor-tracks";
@import "./modals/select-exercise-for-mentoring";
@import "./modals/testimonial";
@import "./modals/change-published-iteration";
@import "./modals/unpublish-solution";
@import "./modals/cli-walkthrough";

@import "./dropdowns/generic-menu";
@import "./dropdowns/share";
@import "./dropdowns/notifications";
@import "./dropdowns/reputation";
@import "./dropdowns/request-mentoring";
@import "./dropdowns/open-editor-button";

@import "./pages/partners/gdn";
@import "./pages/about";
@import "./pages/insiders";
@import "./pages/hiring";
@import "./pages/team";
@import "./pages/individual_supporters";
@import "./pages/organisation_supporters";
@import "./pages/organisation_supporter";
@import "./pages/editor";
@import "./pages/notifications";
@import "./pages/blog";
@import "./pages/blog-post";
@import "./pages/approach";
@import "./pages/article";
@import "./pages/donate";
@import "./pages/landing";
@import "./pages/settings";
@import "./pages/contributing-dashboard";
@import "./pages/contributing-contributors";
@import "./pages/contributing-tasks";
@import "./pages/auth";
@import "./pages/dashboard";
@import "./pages/docs-show";
@import "./pages/docs-index";
@import "./pages/docs-tracks";
@import "./pages/onboarding";
@import "./pages/profile-intro";
@import "./pages/profile-new";
@import "./pages/profile";
@import "./pages/profile-badges";
@import "./pages/profile-solutions";
@import "./pages/profile-contributions";
@import "./pages/profile-testimonials";
@import "./pages/track-shared-index";
@import "./pages/concepts-index";
@import "./pages/concept-show";
@import "./pages/exercise-show";
@import "./pages/exercise-mentoring";
@import "./pages/exercises-index";
@import "./pages/iterations-index";
@import "./pages/community-solutions-index";
@import "./pages/community-solution-show";
@import "./pages/track-index";
@import "./pages/track-show";
@import "./pages/track-about";
@import "./pages/track-build";
@import "./pages/mentoring/external-request";
@import "./pages/mentoring/external";
@import "./pages/mentoring/inbox";
@import "./pages/mentoring/automation";
@import "./pages/mentoring/queue";
@import "./pages/mentoring/testimonials";
@import "./pages/maintaining/dashboard";
@import "./pages/maintaining/track";
@import "./pages/maintaining/site-updates-form";
@import "./pages/admin/page";
@import "./pages/admin/table";
@import "./pages/journey";
@import "./pages/journey/overview";
@import "./pages/journey/solutions";
@import "./pages/journey/reputation";
@import "./pages/journey/badges";
@import "./pages/impact";
@import "./pages/community";
@import "./pages/community-story";
@import "./pages/challenges/external";
@import "./pages/challenges/12in23";
@import "./pages/perks";
@import "./pages/perk";

/* @import "./highlighters/highlightjs-light";
@import "./highlighters/highlightjs-dark"; */
@import "./highlighters/highlightjs-colors";
@import "./highlighters/highlight-links";
Original file line number Diff line number Diff line change
@@ -1,32 +1,4 @@
@import "../minimal_tailwind.css";
@import "../ui-kit/minimal.css";

#page-tracks {
& header.tracks-header {
@apply bg-backgroundColorA;
& .container {
@apply pt-28 pb-32;
@apply flex flex-col items-center;
@apply text-center;
}

& .track-icons {
@apply relative flex mb-12;

& .c-track-icon {
height: 64px;
width: 64px;
margin-left: -18px;
}
}
& h1 {
@apply text-h1 mb-8;
}
& p {
max-width: 740px;
}
}
}
@import "../styles";

.c-tracks-list {
& .c-search-bar {
Expand Down
17 changes: 0 additions & 17 deletions app/css/defaults.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ body {
overscroll-behavior-y: none;
-webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;

/*
* app/images/bg-pattern.svg
* https://pattern.monster/hexagon-1/
* https://base64.guru/converter/encode/image/svg
* */
--hex-bg-image: url("data:image/svg+xml;base64,PHN2ZyBpZD0ncGF0dGVybklkJyB3aWR0aD0nMTAwJScgaGVpZ2h0PScxMDAlJyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPjxkZWZzPjxwYXR0ZXJuIGlkPSdhJyBwYXR0ZXJuVW5pdHM9J3VzZXJTcGFjZU9uVXNlJyB3aWR0aD0nMjknIGhlaWdodD0nNTAuMTE1JyBwYXR0ZXJuVHJhbnNmb3JtPSdzY2FsZSgyKSByb3RhdGUoMCknPjxyZWN0IHg9JzAnIHk9JzAnIHdpZHRoPScxMDAlJyBoZWlnaHQ9JzEwMCUnIGZpbGw9J2hzbGEoMCwwJSwxMDAlLDEpJy8+PHBhdGggZD0nTTE0LjQ5OCAxNi44NThMMCA4LjQ4OC4wMDItOC4yNTdsMTQuNS04LjM3NEwyOS04LjI2bC0uMDAyIDE2Ljc0NXptMCA1MC4wNkwwIDU4LjU0OGwuMDAyLTE2Ljc0NSAxNC41LTguMzczTDI5IDQxLjhsLS4wMDIgMTYuNzQ0ek0yOC45OTYgNDEuOGwtMTQuNDk4LTguMzcuMDAyLTE2Ljc0NEwyOSA4LjMxMmwxNC40OTggOC4zNy0uMDAyIDE2Ljc0NXptLTI5IDBsLTE0LjQ5OC04LjM3LjAwMi0xNi43NDRMMCA4LjMxMmwxNC40OTggOC4zNy0uMDAyIDE2Ljc0NXonICBzdHJva2Utd2lkdGg9JzAuNScgc3Ryb2tlPSdoc2xhKDI1OSwgMCUsIDkwJSwgMSknIGZpbGw9J25vbmUnLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSc4MDAlJyBoZWlnaHQ9JzgwMCUnIHRyYW5zZm9ybT0ndHJhbnNsYXRlKC0zOCwtNi40NiknIGZpbGw9J3VybCgjYSknLz48L3N2Zz4K");
}
@media screen and (prefers-reduced-motion: reduce) {
body {
Expand Down Expand Up @@ -86,13 +79,3 @@ body {
height: fit-content;
}
}

.c-count-bubble {
@apply border-1 border-borderLight rounded-100 px-12;
@apply text-textColor6 text-13 leading-200 font-medium;
}

/* Override the tailwind default */
img {
max-width: none;
}
12 changes: 0 additions & 12 deletions app/css/minimal_tailwind.css

This file was deleted.

Loading

0 comments on commit ea4c94a

Please sign in to comment.