Restructure the app/assets/stylesheets directory
This commit is contained in:
parent
b84c7e4efb
commit
e3aafc154b
|
@ -1,3 +1,3 @@
|
|||
// Manifest
|
||||
//
|
||||
//= require_tree ./admin
|
||||
//= require_tree ./common/admin
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Manifest
|
||||
//
|
||||
//= require common
|
||||
//= require_tree ./application
|
||||
//= require_tree ./desktop
|
||||
|
|
|
@ -2,11 +2,12 @@
|
|||
//
|
||||
//= require ./vendor/normalize
|
||||
//= require ./vendor/bootstrap
|
||||
//= require ./foundation/base
|
||||
//= require ./common/foundation/base
|
||||
//= require ./vendor/font_awesome/font-awesome
|
||||
//= require ./vendor/chosen
|
||||
//= require_tree ./components
|
||||
//= require ./foundation/helpers
|
||||
//= require_tree ./common/components
|
||||
//= require ./common/foundation/helpers
|
||||
//= require_tree ./common
|
||||
<%
|
||||
# TODO this is very tricky, we want to add a dependency here on files that may not yet exist
|
||||
# otherwise in dev we are often stuck nuking the tmp/cache directory
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
// Styles used before the user is logged into discourse. For example, activating their
|
||||
// account or changing their email.
|
||||
|
||||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
#simple-container {
|
||||
@include border-radius-all(10px);
|
|
@ -1,7 +1,7 @@
|
|||
// these are the styles associated with the Discourse admin section
|
||||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "foundation/helpers";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
@import "common/foundation/helpers";
|
||||
|
||||
|
||||
.content-list li a span.count {
|
|
@ -1,7 +1,7 @@
|
|||
// styles for the category badge color picker
|
||||
|
||||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
.category-color-editor {
|
||||
input {
|
|
@ -1,5 +1,5 @@
|
|||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
// --------------------------------------------------
|
||||
// Badges
|
|
@ -1,5 +1,5 @@
|
|||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
// --------------------------------------------------
|
||||
// Buttons
|
|
@ -1,6 +1,6 @@
|
|||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "foundation/helpers";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
@import "common/foundation/helpers";
|
||||
|
||||
// --------------------------------------------------
|
||||
// Navigation menus
|
|
@ -1,7 +1,7 @@
|
|||
// styles that apply to the reply pane that slides up to compose replies
|
||||
|
||||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
// hack, this needs to be done cleaner
|
||||
.private-message input.span8 {
|
|
@ -2,9 +2,9 @@
|
|||
// BEWARE: changing these styles implies they take effect anywhere they are seen
|
||||
// throughout the Discourse application
|
||||
|
||||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "foundation/helpers";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
@import "common/foundation/helpers";
|
||||
|
||||
body {
|
||||
min-width: $large-width;
|
|
@ -1,6 +1,6 @@
|
|||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "foundation/helpers";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
@import "common/foundation/helpers";
|
||||
|
||||
// --------------------------------------------------
|
||||
// FAQs
|
|
@ -1,5 +1,5 @@
|
|||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
// --------------------------------------------------
|
||||
// Discourse header
|
|
@ -1,8 +1,8 @@
|
|||
// styles that apply to the popup that appears when you show the edit history
|
||||
// of a post
|
||||
|
||||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
.modal.history-modal {
|
||||
.modal-inner-container {
|
|
@ -1,7 +1,7 @@
|
|||
// styles for the 'hotness control'
|
||||
|
||||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
.hotness-control {
|
||||
margin-bottom: 5px;
|
|
@ -1,5 +1,5 @@
|
|||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
.popup-tip {
|
||||
position: absolute;
|
|
@ -1,5 +1,5 @@
|
|||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
.lightbox {
|
||||
position: relative;
|
|
@ -1,7 +1,7 @@
|
|||
// style that apply to the login popup
|
||||
|
||||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
#login-buttons {
|
||||
button {
|
|
@ -1,7 +1,7 @@
|
|||
// base styles for every modal popup used in Discourse
|
||||
|
||||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
.modal-open {
|
||||
.dropdown-menu {
|
|
@ -1,5 +1,5 @@
|
|||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
a.loading-onebox {
|
||||
background: {
|
|
@ -1,7 +1,7 @@
|
|||
// styles that apply to the PageDown editor
|
||||
// http://code.google.com/p/pagedown/
|
||||
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
.wmd-panel {
|
||||
margin-left: 25%;
|
|
@ -1,7 +1,7 @@
|
|||
// styles that apply to the "share" popup when sharing a link to a post or topic
|
||||
|
||||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
#share-link {
|
||||
position: absolute;
|
|
@ -1,7 +1,7 @@
|
|||
// Styles for the topic admin menu
|
||||
|
||||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
#show-topic-admin {
|
||||
position: fixed;
|
|
@ -1,5 +1,5 @@
|
|||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
// --------------------------------------------------
|
||||
// Topic lists
|
|
@ -1,5 +1,5 @@
|
|||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
@include small-width {
|
||||
#selected-posts {
|
|
@ -1,7 +1,7 @@
|
|||
/* styles that apply when viewing a topic/topic */
|
||||
|
||||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
// Topic title
|
||||
// --------------------------------------------------
|
|
@ -1,5 +1,5 @@
|
|||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
.add-upload .icon-plus {
|
||||
font-size: 10px;
|
|
@ -1,6 +1,6 @@
|
|||
// styles that apply to the user page
|
||||
@import "foundation/variables";
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/variables";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
.user-preferences {
|
||||
textarea {
|
|
@ -2,8 +2,3 @@
|
|||
//
|
||||
//= require common
|
||||
//= require_tree ./mobile
|
||||
//
|
||||
// For now, include all desktop css. But once we add files in ./mobile that override
|
||||
// files in ./application, we'll need to only include the files we need:
|
||||
//
|
||||
//= require_tree ./application
|
|
@ -12,7 +12,7 @@
|
|||
* no longer required.
|
||||
*/
|
||||
|
||||
@import "foundation/mixins";
|
||||
@import "common/foundation/mixins";
|
||||
|
||||
a:focus {
|
||||
outline: thin dotted #333;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
/* FONT AWESOME CORE
|
||||
* -------------------------- */
|
||||
|
||||
|
||||
[class^="icon-"],
|
||||
[class*=" icon-"] {
|
||||
@include icon-FontAwesome();
|
||||
|
|
Loading…
Reference in New Issue