diff --git a/sass/_hacks.scss b/sass/_hacks.scss new file mode 100644 index 0000000000000000000000000000000000000000..9eb2128388c9f33e6a26f55cb39ee182d6879e42 --- /dev/null +++ b/sass/_hacks.scss @@ -0,0 +1,3 @@ +// Used to store temporary styles. +// These styles should be ported back to it-osu-pl or worked into their own partials. +// These styles will load last. \ No newline at end of file diff --git a/sass/base/_ckeditor.scss b/sass/base/_ckeditor.scss new file mode 100644 index 0000000000000000000000000000000000000000..d8ba50b0302e1cd57ae4510775d7212be5d9d7a1 --- /dev/null +++ b/sass/base/_ckeditor.scss @@ -0,0 +1,10 @@ +button.media-library-item__edit { + border: 1px solid $gray-light; + background: lighten($gray-lightest, 3%); + padding: 5px 7px; + border-radius: 5px; + + &:hover { + background: darken($gray-lightest, 3%); + } +} \ No newline at end of file diff --git a/sass/base/_field.scss b/sass/base/_field.scss new file mode 100644 index 0000000000000000000000000000000000000000..0cba62fc58eed36757ef759ce1b05dfacdc1d36c --- /dev/null +++ b/sass/base/_field.scss @@ -0,0 +1,29 @@ +/** + * @file + * Visual styles for fields. + */ + +.field { + margin-bottom: 1.25em; +} + +.field__label { + font-weight: bold; +} +.field--label-inline .field__label, +.field--label-inline .field__items { + float: left; /* LTR */ +} +.field--label-inline .field__label, +.field--label-inline > .field__item, +.field--label-inline .field__items { + padding-right: 0.5em; +} +[dir='rtl'] .field--label-inline .field__label, +[dir='rtl'] .field--label-inline .field__items { + padding-right: 0; + padding-left: 0.5em; +} +.field--label-inline .field__label::after { + content: ':'; +} diff --git a/sass/base/_fieldset.scss b/sass/base/_fieldset.scss new file mode 100644 index 0000000000000000000000000000000000000000..be0caaa3a836b316a0a71bba9c7716929845bfcc --- /dev/null +++ b/sass/base/_fieldset.scss @@ -0,0 +1,17 @@ +fieldset { + border: 1px solid $gray-lighter; + padding: rem-calc(15) rem-calc(20); + margin-top: rem-calc(10); + margin-bottom: rem-calc(20); +} + +fieldset legend { + text-transform: uppercase; + color: $red; + font-weight: 700; + &:before, + &:after { + content: '|'; + color: $clear; + } +} diff --git a/sass/base/_layout.scss b/sass/base/_layout.scss new file mode 100644 index 0000000000000000000000000000000000000000..275cb56922fb898ce845c4d25bcf00e0876a7c7f --- /dev/null +++ b/sass/base/_layout.scss @@ -0,0 +1,7 @@ +html { + font-family: $proxima; +} + +body { + margin: 0; +} diff --git a/sass/base/_media.scss b/sass/base/_media.scss new file mode 100644 index 0000000000000000000000000000000000000000..3833cab5514e6d27cea8e3f22c51544d421cd44c --- /dev/null +++ b/sass/base/_media.scss @@ -0,0 +1,9 @@ +.inline-image { + img { + display: inline-block; + border: none; + max-height: 30px; + width: auto; + margin: 0 2px 2px; + } +} diff --git a/sass/components/content/_moderation-form.scss b/sass/components/content/_moderation-form.scss new file mode 100644 index 0000000000000000000000000000000000000000..997bc0f8501d6cfd79254b40d8b4ce0da6d49e32 --- /dev/null +++ b/sass/components/content/_moderation-form.scss @@ -0,0 +1,14 @@ +ul.entity-moderation-form { + background: $near-white; +} + +li.entity-moderation-form__item { + + label { + font-weight: 700; + } + + .form-submit { + margin-bottom: 32px !important; + } +} \ No newline at end of file diff --git a/sass/components/regions/_breadcrumb.scss b/sass/components/regions/_breadcrumb.scss new file mode 100644 index 0000000000000000000000000000000000000000..2df5ca4aac1204dc7aa861e4c6024caea5fe447a --- /dev/null +++ b/sass/components/regions/_breadcrumb.scss @@ -0,0 +1,3 @@ +.layout__wrapper--breadcrumb { + background: $white; +} diff --git a/sass/components/regions/_sidebar.scss b/sass/components/regions/_sidebar.scss new file mode 100644 index 0000000000000000000000000000000000000000..c00fa082e005822789b2dfe4f859501703e88620 --- /dev/null +++ b/sass/components/regions/_sidebar.scss @@ -0,0 +1,5 @@ +.region-sidebar { + @include breakpoint(medium) { + padding-left: 2em; + } +} diff --git a/sass/main.scss b/sass/main.scss new file mode 100644 index 0000000000000000000000000000000000000000..863baae5d646f85fc5210bd2491a9fa8b121df33 --- /dev/null +++ b/sass/main.scss @@ -0,0 +1,16 @@ +// Include Foundation +@import '../libraries/it-osu-pl-drupal/_settings.scss'; +@import '../node_modules/foundation-sites/scss/foundation'; +@import '../node_modules/foundation-sites/scss/util/color'; +@import '../node_modules/foundation-sites/scss/util/util'; +@include foundation-everything(true, true); + +// Add partials from it-osu-pl patterns. +@import '../libraries/it-osu-pl-drupal/**/_*.scss'; + +// Add partials from this theme. +@import 'base/**/*.scss'; +@import 'components/**/*.scss'; + +// Temporary fixes. +@import 'hacks';