diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..1970f319 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +_site +.sass-cache +Gemfile.lock +\.DS_Store diff --git a/assets/css/stately.scss b/assets/css/stately.scss index 27183cbf..1cb0776e 100755 --- a/assets/css/stately.scss +++ b/assets/css/stately.scss @@ -3,7 +3,11 @@ // Import dev dependancies (pulled in via npm) // Primer CSS -@import "./primer.scss"; +@import "./primer-support/index.scss"; +@import "./primer-base/index.scss"; +@import "./primer-layout/index.scss"; +@import "./primer-utilities/index.scss"; +@import "./primer-alerts/index.scss"; @import "./support/variables.scss"; @import "./utilities/utilities.scss"; diff --git a/node_modules/primer-alerts/LICENSE b/node_modules/primer-alerts/LICENSE new file mode 100644 index 00000000..5715c136 --- /dev/null +++ b/node_modules/primer-alerts/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 GitHub Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/primer-alerts/index.scss b/node_modules/primer-alerts/index.scss new file mode 100644 index 00000000..6f60ab33 --- /dev/null +++ b/node_modules/primer-alerts/index.scss @@ -0,0 +1,3 @@ +// support files +@import "primer-support/index.scss"; +@import "./lib/flash.scss"; diff --git a/node_modules/primer-alerts/lib/flash.scss b/node_modules/primer-alerts/lib/flash.scss new file mode 100644 index 00000000..1a7a35ab --- /dev/null +++ b/node_modules/primer-alerts/lib/flash.scss @@ -0,0 +1,99 @@ +// Default flash +// stylelint-disable selector-no-type +.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 `