Include css mixin and variables only once

pull/778/head
Christian Ratz 11 years ago
parent 2197bee19b
commit 34cd6328f5
  1. 44
      app/assets/stylesheets/default.css
  2. 39
      app/assets/stylesheets/default.css.sass
  3. 3
      app/assets/stylesheets/layout/base.css.sass
  4. 3
      app/assets/stylesheets/layout/breadcrumb.css.sass
  5. 3
      app/assets/stylesheets/layout/main_menu.css.sass
  6. 3
      app/assets/stylesheets/layout/top_menu.css.sass

@ -1,44 +0,0 @@
/*-- copyright
OpenProject is a project management system.
Copyright (C) 2012-2013 the OpenProject Foundation (OPF)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License version 3.
OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
Copyright (C) 2006-2013 Jean-Philippe Lang
Copyright (C) 2010-2013 the ChiliProject Team
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
See doc/COPYRIGHT.rdoc for more details.
++*/
/*
* This is a manifest file that'll automatically include all the stylesheets available in this directory
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
* the top of the compiled file, but it's generally better to create a new file per style scope.
*
*= require fonts/lato
*= require fonts/openproject_icon_font
*= require application
*= require layout/base
*= require layout/top_menu
*= require layout/breadcrumb
*= require layout/main_menu
*= require default/application
*= require layout/footer
*/

@ -0,0 +1,39 @@
/*-- copyright
* OpenProject is a project management system.
* Copyright (C) 2012-2013 the OpenProject Foundation (OPF)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 3.
*
* OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
* Copyright (C) 2006-2013 Jean-Philippe Lang
* Copyright (C) 2010-2013 the ChiliProject Team
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* See doc/COPYRIGHT.rdoc for more details. ++*/
@import variables
@import mixins
@import fonts/lato
@import fonts/openproject_icon_font
@import application
@import layout/base
@import layout/top_menu
@import layout/breadcrumb
@import layout/main_menu
@import default/application
@import layout/footer

@ -25,9 +25,6 @@
*
* See doc/COPYRIGHT.rdoc for more details. ++*/
@import "variables"
@import "mixins"
html
overflow-y: scroll
@include html_body_spacing

@ -25,9 +25,6 @@
*
* See doc/COPYRIGHT.rdoc for more details. ++*/
@import "variables"
@import "mixins"
#breadcrumb
@include default-transition
height: 40px

@ -25,9 +25,6 @@
*
* See doc/COPYRIGHT.rdoc for more details. ++*/
@import "variables"
@import "mixins"
#main-menu
@include default-transition
bottom: auto

@ -25,9 +25,6 @@
*
* See doc/COPYRIGHT.rdoc for more details. ++*/
@import "variables"
@import "mixins"
#logo
float: left
width: $main_menu_width - $main_menu_border_width

Loading…
Cancel
Save