From 441ed2a022704d3c0db14f609ca9a5a1f2a67e18 Mon Sep 17 00:00:00 2001 From: Teemu Patja Date: Sun, 5 Feb 2017 20:10:00 +0200 Subject: [PATCH] Remove primer-css + sassc dependency --- resources/scss/_base.scss | 8 - resources/scss/_media.scss | 63 --- resources/scss/_vars.scss | 14 - resources/scss/main.scss | 17 - resources/scss/modules/header.scss | 30 -- resources/scss/modules/links.scss | 46 -- resources/scss/modules/nav.scss | 49 -- resources/scss/modules/pagination.scss | 62 --- resources/scss/normalize.css/normalize.css | 419 ------------------ resources/scss/pages/home.scss | 144 ------ resources/scss/pages/issues.scss | 159 ------- resources/scss/primer-css/index.scss | 26 -- .../scss/primer-css/primer-alerts/index.scss | 3 - .../primer-css/primer-alerts/lib/flash.scss | 98 ---- .../scss/primer-css/primer-avatars/index.scss | 6 - .../lib/avatar-parent-child.scss | 16 - .../primer-avatars/lib/avatar-stack.scss | 39 -- .../primer-css/primer-avatars/lib/avatar.scss | 20 - .../scss/primer-css/primer-base/index.scss | 4 - .../scss/primer-css/primer-base/lib/base.scss | 66 --- .../primer-base/lib/typography-base.scss | 85 ---- .../primer-css/primer-blankslate/index.scss | 1 - .../primer-blankslate/lib/blankslate.scss | 64 --- .../scss/primer-css/primer-buttons/index.scss | 3 - .../primer-buttons/lib/button-group.scss | 78 ---- .../primer-css/primer-buttons/lib/button.scss | 337 -------------- .../primer-css/primer-flex-table/index.scss | 1 - .../primer-flex-table/lib/flex-table.scss | 20 - .../scss/primer-css/primer-forms/index.scss | 5 - .../primer-forms/lib/form-control.scss | 192 -------- .../primer-forms/lib/form-group.scss | 214 --------- .../primer-forms/lib/form-select.scss | 38 -- .../primer-forms/lib/form-validation.scss | 395 ----------------- .../scss/primer-css/primer-layout/index.scss | 4 - .../primer-css/primer-layout/lib/columns.scss | 69 --- .../primer-layout/lib/container.scss | 33 -- .../primer-layout/lib/grid-offset.scss | 30 -- .../primer-css/primer-layout/lib/grid.scss | 48 -- .../primer-css/primer-markdown/index.scss | 7 - .../primer-css/primer-markdown/lib/code.scss | 75 ---- .../primer-markdown/lib/headings.scss | 64 --- .../primer-markdown/lib/images.scss | 118 ----- .../primer-css/primer-markdown/lib/lists.scss | 71 --- .../primer-markdown/lib/markdown-body.scss | 110 ----- .../primer-markdown/lib/tables.scss | 31 -- .../primer-css/primer-navigation/index.scss | 7 - .../primer-navigation/lib/counter.scss | 10 - .../primer-navigation/lib/filter-list.scss | 62 --- .../primer-navigation/lib/menu.scss | 113 ----- .../primer-navigation/lib/subnav.scss | 121 ----- .../primer-navigation/lib/tabnav.scss | 72 --- .../scss/primer-css/primer-states/index.scss | 2 - .../primer-css/primer-states/lib/states.scss | 32 -- .../scss/primer-css/primer-support/index.scss | 7 - .../primer-support/lib/mixins/layout.scss | 52 --- .../primer-support/lib/mixins/misc.scss | 29 -- .../primer-support/lib/mixins/typography.scss | 76 ---- .../primer-support/lib/variables.scss | 179 -------- .../primer-css/primer-tooltips/index.scss | 2 - .../primer-tooltips/lib/tooltips.scss | 281 ------------ .../primer-css/primer-truncate/index.scss | 1 - .../primer-truncate/lib/truncate.scss | 27 -- .../primer-css/primer-utilities/index.scss | 9 - .../primer-utilities/lib/animations.scss | 156 ------- .../primer-utilities/lib/border.scss | 29 -- .../primer-utilities/lib/colors.scss | 45 -- .../primer-utilities/lib/layout.scss | 109 ----- .../primer-utilities/lib/margin.scss | 58 --- .../primer-utilities/lib/padding.scss | 54 --- .../primer-utilities/lib/typography.scss | 155 ------- resources/scss/screen.scss | 4 - 71 files changed, 5074 deletions(-) delete mode 100644 resources/scss/_base.scss delete mode 100755 resources/scss/_media.scss delete mode 100755 resources/scss/_vars.scss delete mode 100644 resources/scss/main.scss delete mode 100644 resources/scss/modules/header.scss delete mode 100644 resources/scss/modules/links.scss delete mode 100644 resources/scss/modules/nav.scss delete mode 100644 resources/scss/modules/pagination.scss delete mode 100644 resources/scss/normalize.css/normalize.css delete mode 100644 resources/scss/pages/home.scss delete mode 100644 resources/scss/pages/issues.scss delete mode 100644 resources/scss/primer-css/index.scss delete mode 100644 resources/scss/primer-css/primer-alerts/index.scss delete mode 100644 resources/scss/primer-css/primer-alerts/lib/flash.scss delete mode 100644 resources/scss/primer-css/primer-avatars/index.scss delete mode 100644 resources/scss/primer-css/primer-avatars/lib/avatar-parent-child.scss delete mode 100644 resources/scss/primer-css/primer-avatars/lib/avatar-stack.scss delete mode 100644 resources/scss/primer-css/primer-avatars/lib/avatar.scss delete mode 100644 resources/scss/primer-css/primer-base/index.scss delete mode 100644 resources/scss/primer-css/primer-base/lib/base.scss delete mode 100644 resources/scss/primer-css/primer-base/lib/typography-base.scss delete mode 100644 resources/scss/primer-css/primer-blankslate/index.scss delete mode 100644 resources/scss/primer-css/primer-blankslate/lib/blankslate.scss delete mode 100644 resources/scss/primer-css/primer-buttons/index.scss delete mode 100644 resources/scss/primer-css/primer-buttons/lib/button-group.scss delete mode 100644 resources/scss/primer-css/primer-buttons/lib/button.scss delete mode 100644 resources/scss/primer-css/primer-flex-table/index.scss delete mode 100644 resources/scss/primer-css/primer-flex-table/lib/flex-table.scss delete mode 100644 resources/scss/primer-css/primer-forms/index.scss delete mode 100644 resources/scss/primer-css/primer-forms/lib/form-control.scss delete mode 100644 resources/scss/primer-css/primer-forms/lib/form-group.scss delete mode 100644 resources/scss/primer-css/primer-forms/lib/form-select.scss delete mode 100644 resources/scss/primer-css/primer-forms/lib/form-validation.scss delete mode 100644 resources/scss/primer-css/primer-layout/index.scss delete mode 100644 resources/scss/primer-css/primer-layout/lib/columns.scss delete mode 100644 resources/scss/primer-css/primer-layout/lib/container.scss delete mode 100644 resources/scss/primer-css/primer-layout/lib/grid-offset.scss delete mode 100644 resources/scss/primer-css/primer-layout/lib/grid.scss delete mode 100644 resources/scss/primer-css/primer-markdown/index.scss delete mode 100644 resources/scss/primer-css/primer-markdown/lib/code.scss delete mode 100644 resources/scss/primer-css/primer-markdown/lib/headings.scss delete mode 100644 resources/scss/primer-css/primer-markdown/lib/images.scss delete mode 100644 resources/scss/primer-css/primer-markdown/lib/lists.scss delete mode 100644 resources/scss/primer-css/primer-markdown/lib/markdown-body.scss delete mode 100644 resources/scss/primer-css/primer-markdown/lib/tables.scss delete mode 100644 resources/scss/primer-css/primer-navigation/index.scss delete mode 100644 resources/scss/primer-css/primer-navigation/lib/counter.scss delete mode 100644 resources/scss/primer-css/primer-navigation/lib/filter-list.scss delete mode 100644 resources/scss/primer-css/primer-navigation/lib/menu.scss delete mode 100644 resources/scss/primer-css/primer-navigation/lib/subnav.scss delete mode 100644 resources/scss/primer-css/primer-navigation/lib/tabnav.scss delete mode 100644 resources/scss/primer-css/primer-states/index.scss delete mode 100644 resources/scss/primer-css/primer-states/lib/states.scss delete mode 100644 resources/scss/primer-css/primer-support/index.scss delete mode 100644 resources/scss/primer-css/primer-support/lib/mixins/layout.scss delete mode 100644 resources/scss/primer-css/primer-support/lib/mixins/misc.scss delete mode 100644 resources/scss/primer-css/primer-support/lib/mixins/typography.scss delete mode 100644 resources/scss/primer-css/primer-support/lib/variables.scss delete mode 100644 resources/scss/primer-css/primer-tooltips/index.scss delete mode 100644 resources/scss/primer-css/primer-tooltips/lib/tooltips.scss delete mode 100644 resources/scss/primer-css/primer-truncate/index.scss delete mode 100644 resources/scss/primer-css/primer-truncate/lib/truncate.scss delete mode 100644 resources/scss/primer-css/primer-utilities/index.scss delete mode 100644 resources/scss/primer-css/primer-utilities/lib/animations.scss delete mode 100644 resources/scss/primer-css/primer-utilities/lib/border.scss delete mode 100644 resources/scss/primer-css/primer-utilities/lib/colors.scss delete mode 100644 resources/scss/primer-css/primer-utilities/lib/layout.scss delete mode 100644 resources/scss/primer-css/primer-utilities/lib/margin.scss delete mode 100644 resources/scss/primer-css/primer-utilities/lib/padding.scss delete mode 100644 resources/scss/primer-css/primer-utilities/lib/typography.scss delete mode 100644 resources/scss/screen.scss diff --git a/resources/scss/_base.scss b/resources/scss/_base.scss deleted file mode 100644 index 961c90a..0000000 --- a/resources/scss/_base.scss +++ /dev/null @@ -1,8 +0,0 @@ -/* General Project Styles */ - -ul, li { - display: inline-block; - margin: 0; - padding: 0; - list-style-type: none; -} diff --git a/resources/scss/_media.scss b/resources/scss/_media.scss deleted file mode 100755 index 0cc6f8e..0000000 --- a/resources/scss/_media.scss +++ /dev/null @@ -1,63 +0,0 @@ -/*========== Desktop First Method ========== */ - -/* Large Devices, Wide Screens */ - -@media (max-width: 1199px) { - /* */ -} - -/* Medium Devices, Desktops */ - -@media (max-width: 991px) { - /* */ -} - -/* Small Devices, Tablets */ - -@media (max-width: 767px) { - /* */ -} - -/* Extra Small Devices, Phones */ - -@media (max-width: 480px) { - /* */ -} - -/* Custom, iPhone Retina */ - -@media (max-width: 320px) { - /* */ -} - -/*========== Mobile First Method ========== */ - -/* Custom, iPhone Retina */ - -@media (min-width: 320px) { - /* */ -} - -/* Extra Small Devices, Phones */ - -@media (min-width: 480px) { - /* */ -} - -/* Small Devices, Tablets */ - -@media (min-width: 768px) { - /* */ -} - -/* Medium Devices, Desktops */ - -@media (min-width: 992px) { - /* */ -} - -/* Large Devices, Wide Screens */ - -@media (min-width: 1200px) { - /* */ -} diff --git a/resources/scss/_vars.scss b/resources/scss/_vars.scss deleted file mode 100755 index 9bca4c4..0000000 --- a/resources/scss/_vars.scss +++ /dev/null @@ -1,14 +0,0 @@ -// Colors - -$background-color: #eef2f5; - -$links: #4078c0; -$links-gray: #666; - -$tab-active: #5fc48d; - -$lightgray: #e5e5e5; - -$border-color: #eee; - -$pagination: #a187d5; diff --git a/resources/scss/main.scss b/resources/scss/main.scss deleted file mode 100644 index a226e68..0000000 --- a/resources/scss/main.scss +++ /dev/null @@ -1,17 +0,0 @@ -@import "primer-css/index"; -@import "base"; - -@import "vars"; - -@import "modules/header"; -@import "modules/links"; -@import "modules/nav"; -@import "modules/pagination"; - -@import "pages/home"; -@import "pages/issues"; - -@import "screen"; - -/* ALWAYS END */ -@import "media"; diff --git a/resources/scss/modules/header.scss b/resources/scss/modules/header.scss deleted file mode 100644 index 75f1b37..0000000 --- a/resources/scss/modules/header.scss +++ /dev/null @@ -1,30 +0,0 @@ -header.main-header { - margin-bottom: 20px; - width: 100%; - border-bottom: 1px solid $border-color; - background-color: $background-color; - .main-link { - color: #666; - font-size: 14px; - } -} - -header.sub-header { - margin-bottom: 20px; - padding-top: 20px; - border-bottom: 1px solid $border-color; - background-color: $background-color; - h1 { - color: $links-gray; - text-decoration: none; - font-weight: normal; - font-size: 18px; - line-height: 26px; - a { - color: $links; - } - svg { - fill: #bbb; - } - } -} diff --git a/resources/scss/modules/links.scss b/resources/scss/modules/links.scss deleted file mode 100644 index 2e9bccf..0000000 --- a/resources/scss/modules/links.scss +++ /dev/null @@ -1,46 +0,0 @@ -header.main-header { - a { - color: $links-gray; - text-decoration: none; - } - a.meta-link { - color: $links-gray; - font-size: 12px; - } - svg { - fill: #ccc; - } - .octicon { - position: relative; - top: 1px; - margin-right: 2px; - color: #ccc; - vertical-align: text-bottom; - } -} - -.repo-item-stats { - a { - margin-left: 8px; - color: #888; - text-decoration: none; - svg { - fill: #888; - } - &:hover { - color: $links; - svg { - fill: $links; - } - } - } -} - -.box-row-link { - color: #333; - text-decoration: none; - &:hover { - color: $links; - text-decoration: none; - } -} diff --git a/resources/scss/modules/nav.scss b/resources/scss/modules/nav.scss deleted file mode 100644 index 384b64d..0000000 --- a/resources/scss/modules/nav.scss +++ /dev/null @@ -1,49 +0,0 @@ -.tabnav { - margin-bottom: 0; - border-bottom: 0; -} - -.tabnav-tab { - padding: 8px 15px 11px; - &.selected { - border-width: 3px 1px 1px; - border-color: $tab-active $lightgray transparent; - font-weight: bold; - svg { - fill: #000; - } - } - &:hover { - color: #000; - } -} - -.tab-condensed { - padding: 7px 13px 8px; - color: #666; - svg { - fill: #bbb; - } - &.selected { - color: #111; - font-weight: normal; - } -} - -.tabnav-actions { - &.logged-in .tabnav-button { - margin-right: -5px; - border-radius: 3px 0 0 3px; - } - .auto-search-group { - input { - border-radius: 0 3px 3px 0; - background-color: #fff; - } - .octicon { - position: absolute; - top: 8px; - left: 10px; - } - } -} diff --git a/resources/scss/modules/pagination.scss b/resources/scss/modules/pagination.scss deleted file mode 100644 index 8ab4ee4..0000000 --- a/resources/scss/modules/pagination.scss +++ /dev/null @@ -1,62 +0,0 @@ -.paginate-container { - margin-top: 20px; - margin-bottom: 15px; - text-align: center; -} - -.pagination { - display: inline-block; - &::before { - display: table; - content: ""; - } - .disabled, .disabled:hover { - background-color: $background-color; - color: #d3d3d3; - cursor: default; - } - span:first-child { - margin-left: 0; - border-top-left-radius: 3px; - border-bottom-left-radius: 3px; - } - a:last-child { - border-top-right-radius: 3px; - border-bottom-right-radius: 3px; - } - .current, .current:hover { - z-index: 3; - border-color: $pagination; - background-color: $pagination; - color: #fff; - } - a, span, em { - position: relative; - float: left; - margin-left: -1px; - padding: 7px 12px; - border: 1px solid #e5e5e5; - background: #fff; - color: $pagination; - vertical-align: middle; - text-decoration: none; - white-space: nowrap; - font-weight: 600; - font-style: normal; - font-size: 13px; - cursor: pointer; - &:hover { - background-color: #e7e7e7; - } - } - .gap { - background-color: #fafafa; - color: #d3d3d3; - cursor: default; - &:hover { - background-color: #fafafa; - color: #d3d3d3; - cursor: default; - } - } -} diff --git a/resources/scss/normalize.css/normalize.css b/resources/scss/normalize.css/normalize.css deleted file mode 100644 index 18ddf7f..0000000 --- a/resources/scss/normalize.css/normalize.css +++ /dev/null @@ -1,419 +0,0 @@ -/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */ - -/** - * 1. Change the default font family in all browsers (opinionated). - * 2. Prevent adjustments of font size after orientation changes in IE and iOS. - */ - -html { - font-family: sans-serif; /* 1 */ - -ms-text-size-adjust: 100%; /* 2 */ - -webkit-text-size-adjust: 100%; /* 2 */ -} - -/** - * Remove the margin in all browsers (opinionated). - */ - -body { - margin: 0; -} - -/* HTML5 display definitions - ========================================================================== */ - -/** - * Add the correct display in IE 9-. - * 1. Add the correct display in Edge, IE, and Firefox. - * 2. Add the correct display in IE. - */ - -article, -aside, -details, /* 1 */ -figcaption, -figure, -footer, -header, -main, /* 2 */ -menu, -nav, -section, -summary { /* 1 */ - display: block; -} - -/** - * Add the correct display in IE 9-. - */ - -audio, -canvas, -progress, -video { - display: inline-block; -} - -/** - * Add the correct display in iOS 4-7. - */ - -audio:not([controls]) { - display: none; - height: 0; -} - -/** - * Add the correct vertical alignment in Chrome, Firefox, and Opera. - */ - -progress { - vertical-align: baseline; -} - -/** - * Add the correct display in IE 10-. - * 1. Add the correct display in IE. - */ - -template, /* 1 */ -[hidden] { - display: none; -} - -/* Links - ========================================================================== */ - -/** - * 1. Remove the gray background on active links in IE 10. - * 2. Remove gaps in links underline in iOS 8+ and Safari 8+. - */ - -a { - background-color: transparent; /* 1 */ - -webkit-text-decoration-skip: objects; /* 2 */ -} - -/** - * Remove the outline on focused links when they are also active or hovered - * in all browsers (opinionated). - */ - -a:active, -a:hover { - outline-width: 0; -} - -/* Text-level semantics - ========================================================================== */ - -/** - * 1. Remove the bottom border in Firefox 39-. - * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. - */ - -abbr[title] { - border-bottom: none; /* 1 */ - text-decoration: underline; /* 2 */ - text-decoration: underline dotted; /* 2 */ -} - -/** - * Prevent the duplicate application of `bolder` by the next rule in Safari 6. - */ - -b, -strong { - font-weight: inherit; -} - -/** - * Add the correct font weight in Chrome, Edge, and Safari. - */ - -b, -strong { - font-weight: bolder; -} - -/** - * Add the correct font style in Android 4.3-. - */ - -dfn { - font-style: italic; -} - -/** - * Correct the font size and margin on `h1` elements within `section` and - * `article` contexts in Chrome, Firefox, and Safari. - */ - -h1 { - font-size: 2em; - margin: 0.67em 0; -} - -/** - * Add the correct background and color in IE 9-. - */ - -mark { - background-color: #ff0; - color: #000; -} - -/** - * Add the correct font size in all browsers. - */ - -small { - font-size: 80%; -} - -/** - * Prevent `sub` and `sup` elements from affecting the line height in - * all browsers. - */ - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sub { - bottom: -0.25em; -} - -sup { - top: -0.5em; -} - -/* Embedded content - ========================================================================== */ - -/** - * Remove the border on images inside links in IE 10-. - */ - -img { - border-style: none; -} - -/** - * Hide the overflow in IE. - */ - -svg:not(:root) { - overflow: hidden; -} - -/* Grouping content - ========================================================================== */ - -/** - * 1. Correct the inheritance and scaling of font size in all browsers. - * 2. Correct the odd `em` font sizing in all browsers. - */ - -code, -kbd, -pre, -samp { - font-family: monospace, monospace; /* 1 */ - font-size: 1em; /* 2 */ -} - -/** - * Add the correct margin in IE 8. - */ - -figure { - margin: 1em 40px; -} - -/** - * 1. Add the correct box sizing in Firefox. - * 2. Show the overflow in Edge and IE. - */ - -hr { - box-sizing: content-box; /* 1 */ - height: 0; /* 1 */ - overflow: visible; /* 2 */ -} - -/* Forms - ========================================================================== */ - -/** - * 1. Change font properties to `inherit` in all browsers (opinionated). - * 2. Remove the margin in Firefox and Safari. - */ - -button, -input, -select, -textarea { - font: inherit; /* 1 */ - margin: 0; /* 2 */ -} - -/** - * Restore the font weight unset by the previous rule. - */ - -optgroup { - font-weight: bold; -} - -/** - * Show the overflow in IE. - * 1. Show the overflow in Edge. - */ - -button, -input { /* 1 */ - overflow: visible; -} - -/** - * Remove the inheritance of text transform in Edge, Firefox, and IE. - * 1. Remove the inheritance of text transform in Firefox. - */ - -button, -select { /* 1 */ - text-transform: none; -} - -/** - * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` - * controls in Android 4. - * 2. Correct the inability to style clickable types in iOS and Safari. - */ - -button, -html [type="button"], /* 1 */ -[type="reset"], -[type="submit"] { - -webkit-appearance: button; /* 2 */ -} - -/** - * Remove the inner border and padding in Firefox. - */ - -button::-moz-focus-inner, -[type="button"]::-moz-focus-inner, -[type="reset"]::-moz-focus-inner, -[type="submit"]::-moz-focus-inner { - border-style: none; - padding: 0; -} - -/** - * Restore the focus styles unset by the previous rule. - */ - -button:-moz-focusring, -[type="button"]:-moz-focusring, -[type="reset"]:-moz-focusring, -[type="submit"]:-moz-focusring { - outline: 1px dotted ButtonText; -} - -/** - * Change the border, margin, and padding in all browsers (opinionated). - */ - -fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; -} - -/** - * 1. Correct the text wrapping in Edge and IE. - * 2. Correct the color inheritance from `fieldset` elements in IE. - * 3. Remove the padding so developers are not caught out when they zero out - * `fieldset` elements in all browsers. - */ - -legend { - box-sizing: border-box; /* 1 */ - color: inherit; /* 2 */ - display: table; /* 1 */ - max-width: 100%; /* 1 */ - padding: 0; /* 3 */ - white-space: normal; /* 1 */ -} - -/** - * Remove the default vertical scrollbar in IE. - */ - -textarea { - overflow: auto; -} - -/** - * 1. Add the correct box sizing in IE 10-. - * 2. Remove the padding in IE 10-. - */ - -[type="checkbox"], -[type="radio"] { - box-sizing: border-box; /* 1 */ - padding: 0; /* 2 */ -} - -/** - * Correct the cursor style of increment and decrement buttons in Chrome. - */ - -[type="number"]::-webkit-inner-spin-button, -[type="number"]::-webkit-outer-spin-button { - height: auto; -} - -/** - * 1. Correct the odd appearance in Chrome and Safari. - * 2. Correct the outline style in Safari. - */ - -[type="search"] { - -webkit-appearance: textfield; /* 1 */ - outline-offset: -2px; /* 2 */ -} - -/** - * Remove the inner padding and cancel buttons in Chrome and Safari on OS X. - */ - -[type="search"]::-webkit-search-cancel-button, -[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -/** - * Correct the text style of placeholders in Chrome, Edge, and Safari. - */ - -::-webkit-input-placeholder { - color: inherit; - opacity: 0.54; -} - -/** - * 1. Correct the inability to style clickable types in iOS and Safari. - * 2. Change font properties to `inherit` in Safari. - */ - -::-webkit-file-upload-button { - -webkit-appearance: button; /* 1 */ - font: inherit; /* 2 */ -} diff --git a/resources/scss/pages/home.scss b/resources/scss/pages/home.scss deleted file mode 100644 index b1eed59..0000000 --- a/resources/scss/pages/home.scss +++ /dev/null @@ -1,144 +0,0 @@ -h1.main-title { - color: #333; - font-weight: normal; -} - -.flex-table-item { - padding-left: 20px; -} - -.auto-search-group { - position: relative; - display: inline-block; - svg { - position: absolute; - top: 10px; - left: 0; - z-index: 5; - width: 16px; - height: 16px; - - fill: #bbb; - } - input { - padding-left: 30px; - width: 100%; - background-color: $background-color; - &:focus { - background-color: #fff; - } - } - form { - margin-left: -7px; - width: 320px; - } -} - -.filters-search { - padding-bottom: 20px; - border-bottom: 1px solid $border-color; - .select-menu-button { - border-top-right-radius: 0; - border-bottom-right-radius: 0; - color: #555; - &::after { - display: inline-block; - margin-left: 5px; - width: 0; - height: 0; - border: 4px solid; - border-right-color: transparent; - border-bottom-color: transparent; - border-left-color: transparent; - content: ""; - vertical-align: -2px; - } - } -} -.repo-item { - position: relative; - padding: 30px 0; - border-bottom: 1px solid #eee; - list-style: none; -} - -.repo-item-stats { - float: right; - margin-top: 6px; - color: #888; - font-weight: bold; - font-size: 12px; -} - -.repo-item-description { - margin-top: 8px; - margin-bottom: 0; - max-width: 550px; - color: #666; - font-size: 14px; -} - -.repo-item-meta { - display: block; - margin-top: 8px; - margin-bottom: 0; - color: #888; - font-size: 13px; -} - -.members-box { - float: right; - margin-bottom: 20px; - margin-left: 20px; - padding: 15px; - max-width: 280px; - border: 1px solid #ddd; - border-radius: 3px; - background-color: #fff; -} - -.members-stats { - float: right; - margin-top: 3px; - color: #767676; - font-size: 14px; - svg { - fill: #767676; - } -} - -.members-link { - display: block; - padding-bottom: 15px; - color: #333; - text-decoration: none; - font-size: 18px; - &:hover { - color: $links; - text-decoration: none; - .members-stats { - color: $links; - text-decoration: none; - } - svg { - fill: $links; - } - } -} - -.member-avatar-group { - margin: -1px; -} - -.member-avatar { - float: left; - margin: 1px; -} - -.avatar { - display: inline-block; - overflow: hidden; - border-radius: 3px; - vertical-align: middle; - line-height: 1; -} diff --git a/resources/scss/pages/issues.scss b/resources/scss/pages/issues.scss deleted file mode 100644 index 3655796..0000000 --- a/resources/scss/pages/issues.scss +++ /dev/null @@ -1,159 +0,0 @@ -.pagehead-actions { - position: relative; - float: right; - margin: 0; -} - -.subnav-search { - position: relative; - svg { - fill: #bbb; - } -} - -.subnav-links { - margin-left: 10px; -} - -.table-list-header { - border-bottom: 1px solid $lightgray; - background-color: #f8f8f8; - .btn-link { - padding-top: 13px; - padding-right: 15px; - padding-bottom: 13px; - color: #767676; - text-decoration: none; - svg { - fill: #767676; - } - &:hover { - color: #222; - svg { - fill: #222; - } - } - &.selected { - color: #222; - font-weight: bold; - svg { - fill: #222; - } - } - } - .select-menu-button { - padding-right: 15px; - padding-left: 15px; - color: #767676; - &::after { - display: inline-block; - width: 0; - height: 0; - border: 4px solid; - border-right-color: transparent; - border-bottom-color: transparent; - border-left-color: transparent; - content: ""; - vertical-align: -2px; - } - } -} - -.issues-list-table { - border: 1px solid $lightgray; - border-radius: 3px 3px 0 0; -} - -.issues-list, .issue { - display: block; - width: 100%; -} - -.issue { - border-top: 1px solid $border-color; - a.muted-link { - color: #767676; - svg { - fill: currentColor; - } - &:hover { - color: $links; - svg { - fill: $links; - } - } - } - &:first-child { - border-top: 0; - } - .octicon { - &.open { - color: #6cc644; - - fill: #6cc644; - } - &.closed { - color: #bd2c00; - - fill: #bd2c00; - } - } - &:hover { - background-color: #f5f5f5; - } -} - -.opened-by { - a { - color: inherit; - &:hover { - color: $links; - text-decoration: none; - } - } -} - -.labels { - a.label { - display: inline-block; - padding: 3px 4px; - border-radius: 2px; - box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12); - color: #fff; - text-decoration: none; - font-weight: 600; - font-size: 12px; - line-height: 1; - } -} - -.issue-meta-section { - margin-right: 10px; - .octicon { - color: #ccc; - vertical-align: bottom; - - fill: #ccc; - } -} - -.task-progress { - color: #767676; - text-decoration: none; - .progress-bar { - display: inline-block; - width: 120px; - height: 5px; - background-color: #eee; - vertical-align: 2px; - .progress { - display: block; - height: 100%; - background-color: #ccc; - } - } -} - -.issue-milestone { - max-width: 240px; -} diff --git a/resources/scss/primer-css/index.scss b/resources/scss/primer-css/index.scss deleted file mode 100644 index b8a8b3a..0000000 --- a/resources/scss/primer-css/index.scss +++ /dev/null @@ -1,26 +0,0 @@ -/*! - * Primer - * http://primercss.io - * - * Released under MIT license. Copyright 2015 GitHub, Inc. - */ -// Primer master file -// -// Imports all Primer files in their intended order for easy mass-inclusion. -// Should you need specific files, you can easily use separate `@import`s. -// Global requirements -@import "primer-support/index.scss"; -@import "primer-base/index.scss"; -@import "primer-utilities/index.scss"; -@import "primer-forms/index.scss"; -@import "primer-layout/index.scss"; -@import "primer-buttons/index.scss"; -@import "primer-alerts/index.scss"; -@import "primer-avatars/index.scss"; -@import "primer-blankslate/index.scss"; -@import "primer-navigation/index.scss"; -@import "primer-states/index.scss"; -@import "primer-tooltips/index.scss"; -@import "primer-markdown/index.scss"; -@import "primer-flex-table/index.scss"; -@import "primer-truncate/index.scss"; diff --git a/resources/scss/primer-css/primer-alerts/index.scss b/resources/scss/primer-css/primer-alerts/index.scss deleted file mode 100644 index 119555c..0000000 --- a/resources/scss/primer-css/primer-alerts/index.scss +++ /dev/null @@ -1,3 +0,0 @@ -// support files -@import "../primer-support/index.scss"; -@import "./lib/flash.scss"; diff --git a/resources/scss/primer-css/primer-alerts/lib/flash.scss b/resources/scss/primer-css/primer-alerts/lib/flash.scss deleted file mode 100644 index dd541de..0000000 --- a/resources/scss/primer-css/primer-alerts/lib/flash.scss +++ /dev/null @@ -1,98 +0,0 @@ -// Default flash -.flash { - position: relative; - padding: 15px; - font-size: 14px; - line-height: 1.5; - color: $flash-text-blue; - background-color: $flash-bg-blue; - border: 1px solid $flash-border-blue; - border-radius: 3px; - - p:last-child { - margin-bottom: 0; - } -} - -// Contain the flash messages -.flash-messages { - margin-bottom: 20px; -} - -// Close button -.flash-close { - float: right; - width: 34px; - height: 44px; - margin: -11px; - line-height: 40px; - color: inherit; - text-align: center; - cursor: pointer; - // Undo `