Unverified Commit 7572d227 authored by Sheetal Umesh Kumar's avatar Sheetal Umesh Kumar Committed by GitHub

Merge pull request #634 from hypothesis/restructure-sidebar-css-bundle

Restructure sidebar styles in source tree
parents 2fa74aac 81369d96
...@@ -136,7 +136,7 @@ var styleFiles = [ ...@@ -136,7 +136,7 @@ var styleFiles = [
// H // H
'./src/styles/annotator/inject.scss', './src/styles/annotator/inject.scss',
'./src/styles/annotator/pdfjs-overrides.scss', './src/styles/annotator/pdfjs-overrides.scss',
'./src/styles/app.scss', './src/styles/sidebar/sidebar.scss',
// Vendor // Vendor
'./src/styles/vendor/angular-csp.css', './src/styles/vendor/angular-csp.css',
......
...@@ -93,7 +93,7 @@ function bootSidebarApp(doc, config) { ...@@ -93,7 +93,7 @@ function bootSidebarApp(doc, config) {
'styles/angular-toastr.css', 'styles/angular-toastr.css',
'styles/icomoon.css', 'styles/icomoon.css',
'styles/katex.min.css', 'styles/katex.min.css',
'styles/app.css', 'styles/sidebar.css',
]); ]);
} }
......
...@@ -37,7 +37,7 @@ describe('bootstrap', function () { ...@@ -37,7 +37,7 @@ describe('bootstrap', function () {
'styles/angular-toastr.css', 'styles/angular-toastr.css',
'styles/icomoon.css', 'styles/icomoon.css',
'styles/katex.min.css', 'styles/katex.min.css',
'styles/app.css', 'styles/sidebar.css',
]; ];
var manifest = assetNames.reduce(function (manifest, path) { var manifest = assetNames.reduce(function (manifest, path) {
...@@ -127,9 +127,9 @@ describe('bootstrap', function () { ...@@ -127,9 +127,9 @@ describe('bootstrap', function () {
'scripts/unorm.bundle.1234.js', 'scripts/unorm.bundle.1234.js',
'styles/angular-csp.1234.css', 'styles/angular-csp.1234.css',
'styles/angular-toastr.1234.css', 'styles/angular-toastr.1234.css',
'styles/app.1234.css',
'styles/icomoon.1234.css', 'styles/icomoon.1234.css',
'styles/katex.min.1234.css', 'styles/katex.min.1234.css',
'styles/sidebar.1234.css',
].map(function (url) { ].map(function (url) {
return 'https://marginal.ly/client/build/' + url; return 'https://marginal.ly/client/build/' + url;
}); });
......
@import './mixins/reset'; @import '../mixins/reset';
/* /*
Consistency fixes Consistency fixes
......
@import './base'; @import '../base';
@import './forms'; @import '../forms';
@import './mixins/responsive'; @import '../mixins/responsive';
@import './styled-text'; @import './styled-text';
......
@import "mixins/icons"; @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 {
......
@import "base.scss"; @import "../../base.scss";
@import "mixins/icons"; @import "../../mixins/icons";
.simple-search-form { .simple-search-form {
display: flex; display: flex;
......
// 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 "../../mixins/forms";
@import "variables"; @import "../../variables";
tags-input { tags-input {
.host { .host {
......
@import 'base'; @import '../../base';
@import 'mixins/responsive'; @import '../../mixins/responsive';
.top-bar { .top-bar {
background: $white; background: $white;
......
$base-font-size: 12px; $base-font-size: 12px;
$base-line-height: 20px; $base-line-height: 20px;
@import './variables'; @import '../variables';
@import './reset'; @import '../reset';
@import './elements'; @import './elements';
@import './common'; @import './common';
// Components // Components
// ---------- // ----------
@import './annotation'; @import './components/annotation';
@import './annotation-share-dialog'; @import './components/annotation-share-dialog';
@import './annotation-thread'; @import './components/annotation-thread';
@import './dropdown-menu-btn'; @import './components/dropdown-menu-btn';
@import './excerpt'; @import './components/excerpt';
@import './group-list'; @import './components/group-list';
@import './help-panel'; @import './components/help-panel';
@import './loggedout-message'; @import './components/loggedout-message';
@import './login-control'; @import './components/login-control';
@import './markdown'; @import './components/markdown';
@import './moderation-banner'; @import './components/moderation-banner';
@import './new-note'; @import './components/new-note';
@import './primary-action-btn'; @import './components/primary-action-btn';
@import './publish-annotation-btn'; @import './components/publish-annotation-btn';
@import './search-status-bar'; @import './components/search-status-bar';
@import './selection-tabs'; @import './components/selection-tabs';
@import './share-link'; @import './components/share-link';
@import './sidebar-tutorial'; @import './components/sidebar-tutorial';
@import './simple-search'; @import './components/simple-search';
@import './spinner'; @import './components/spinner';
@import './tags-input'; @import './components/tags-input';
@import './thread-list'; @import './components/thread-list';
@import './tooltip'; @import './components/tooltip';
@import './top-bar'; @import './components/top-bar';
// Top-level styles // Top-level styles
// ---------------- // ----------------
......
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