Moves action menu styles to sass

pull/824/head
Hagen Schink 11 years ago
parent 70a809a6fe
commit 393ddd11f7
  1. 59
      app/assets/stylesheets/content/_action_menu_main.css.sass
  2. 1
      app/assets/stylesheets/default.css.sass
  3. 35
      app/assets/stylesheets/default/main.css.erb

@ -0,0 +1,59 @@
/*-- 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. ++
*/
ul.action_menu_main
float: right
margin-top: 7px
> li
float: left
position: relative
list-style: none
ul.action_menu_more
position: absolute
top: 23px
right: 0px
z-index: 100
white-space: nowrap
padding: 10px
padding-top: 5px
background: white
border: 1px solid #B7B7B7
box-shadow: 1px 1px 2px #aaa
> li
padding-top: 5px
#lower-title-bar ul.action_menu_more
bottom: 0
right: 0
margin-bottom: 25px
top: auto
> li.drop-down
position: relative

@ -44,5 +44,6 @@
@import content/calendar
@import content/wiki
@import content/links
@import content/action_menu_main
@import default/main

@ -1713,41 +1713,6 @@ select#available_columns {
list-style-type: disc;
list-style-position: inside;
}
ul.action_menu_main {
float: right;
margin-top: 7px;
}
ul.action_menu_main > li {
float: left;
position: relative;
list-style: none;
}
ul.action_menu_more > li {
padding-top: 5px;
}
ul.action_menu_more {
position: absolute;
top: 23px;
right: 0;
z-index: 100;
white-space: nowrap;
padding: 10px;
padding-top: 5px;
background: white;
border: 1px solid #B7B7B7;
box-shadow: 1px 1px 2px #aaa;
}
#lower-title-bar ul.action_menu_more {
bottom: 0;
right: 0;
margin-bottom: 25px;
top: auto;
}
#lower-title-bar ul.action_menu_main > li.drop-down {
position: relative;
}
.pagination .previous_page {
width: 100%;

Loading…
Cancel
Save