Commit 234207c4 authored by Robert Knight's avatar Robert Knight

Hoist various imports to the entry point SASS files

In preparation for running the sass-migrator tool, hoist several imports
from included SASS files up to the entry points at
src/styles/{annotator/annotator.scss, sidebar/sidebar.scss}.
parent a0e193aa
@import '../variables';
@import '../base'; @import '../base';
@import '../mixins/icons'; @import '../mixins/icons';
@import '../mixins/focus'; @import '../mixins/focus';
......
@import '../base';
.annotator-bucket-bar { .annotator-bucket-bar {
background: rgba(0, 0, 0, 0.08); background: rgba(0, 0, 0, 0.08);
pointer-events: none; pointer-events: none;
......
@import './variables';
@import './util';
/* Style input placeholders */ /* Style input placeholders */
@mixin placeholder { @mixin placeholder {
&.placeholder { &.placeholder {
......
// Common form styles. // Common form styles.
@import 'mixins/forms';
.form-field { .form-field {
@include pie-clearfix; @include pie-clearfix;
......
@import '../base';
// See http://compass-style.org/reference/compass/utilities/general/clearfix/#mixin-pie-clearfix // See http://compass-style.org/reference/compass/utilities/general/clearfix/#mixin-pie-clearfix
@mixin pie-clearfix { @mixin pie-clearfix {
&:after { &:after {
......
@import '../base';
@import '../forms';
@import './styled-text';
//ELEMENT STYLES//////////////////////////////// //ELEMENT STYLES////////////////////////////////
body { body {
position: relative; position: relative;
......
@import '../../mixins/icons';
// Highlight quote of annotation whenever its thread is hovered // Highlight quote of annotation whenever its thread is hovered
.thread-list__card:hover .annotation-quote { .thread-list__card:hover .annotation-quote {
border-left: $highlight 3px solid; border-left: $highlight 3px solid;
......
// Styles for the ngTagsInput plugin. // Styles for the ngTagsInput plugin.
// http://mbenford.github.io/ngTagsInput/gettingstarted // http://mbenford.github.io/ngTagsInput/gettingstarted
@import '../../mixins/forms';
@import '../../variables';
tags-input { tags-input {
.host { .host {
outline: none; outline: none;
......
@import '../../base';
@import '../../mixins/responsive';
@import '../../mixins/buttons';
.top-bar { .top-bar {
background: $white; background: $white;
border-bottom: solid 1px $grey-3; border-bottom: solid 1px $grey-3;
......
...@@ -4,7 +4,10 @@ $base-line-height: 20px; ...@@ -4,7 +4,10 @@ $base-line-height: 20px;
// Variables and mixins // Variables and mixins
// -------------------- // --------------------
@import '../variables'; @import '../variables';
@import '../mixins/buttons';
@import '../mixins/focus'; @import '../mixins/focus';
@import '../mixins/forms';
@import '../mixins/icons';
@import '../mixins/responsive'; @import '../mixins/responsive';
// Base styles // Base styles
...@@ -14,6 +17,9 @@ $base-line-height: 20px; ...@@ -14,6 +17,9 @@ $base-line-height: 20px;
// Misc. legacy :( // Misc. legacy :(
// --------------- // ---------------
@import '../base';
@import '../forms';
@import './styled-text';
@import './common'; @import './common';
// Components // Components
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment