Merge pull request #904 from opf/feature/new_wp_form_layout
commit
636cfc157f
After Width: | Height: | Size: 194 B |
After Width: | Height: | Size: 511 B |
@ -1,125 +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. |
||||
|
||||
++*/ |
||||
|
||||
.jstEditor { |
||||
padding-left: 0px; |
||||
} |
||||
.jstEditor textarea, .jstEditor iframe { |
||||
margin: 0; |
||||
} |
||||
|
||||
.jstHandle { |
||||
height: 10px; |
||||
font-size: 0.1em; |
||||
cursor: s-resize; |
||||
/*background: transparent url(img/resizer.png) no-repeat 45% 50%;*/ |
||||
} |
||||
|
||||
.jstElements { |
||||
padding: 3px 3px; |
||||
} |
||||
|
||||
.jstElements button { |
||||
margin-right : 6px; |
||||
width : 24px; |
||||
height: 24px; |
||||
padding: 4px; |
||||
border-style: solid; |
||||
border-width: 1px; |
||||
border-color: #ddd; |
||||
background-color : #f7f7f7; |
||||
background-position : 50% 50%; |
||||
background-repeat: no-repeat; |
||||
} |
||||
.jstElements button:hover { |
||||
border-color : #000; |
||||
} |
||||
.jstElements button span { |
||||
display : none; |
||||
} |
||||
.jstElements span { |
||||
display : inline; |
||||
} |
||||
|
||||
.jstSpacer { |
||||
width : 0px; |
||||
font-size: 1px; |
||||
margin-right: 4px; |
||||
} |
||||
|
||||
.jstElements .help { float: right; margin-right: 0.5em; padding-top: 8px; font-size: 0.9em; } |
||||
.jstElements .help a {padding: 2px 0 2px 20px; } |
||||
|
||||
/* Buttons |
||||
-------------------------------------------------------- */ |
||||
.jstb_strong { |
||||
background-image: url(<%= asset_path 'jstoolbar/bt_strong.png' %>); |
||||
} |
||||
.jstb_em { |
||||
background-image: url(<%= asset_path 'jstoolbar/bt_em.png' %>); |
||||
} |
||||
.jstb_ins { |
||||
background-image: url(<%= asset_path 'jstoolbar/bt_ins.png' %>); |
||||
} |
||||
.jstb_del { |
||||
background-image: url(<%= asset_path 'jstoolbar/bt_del.png' %>); |
||||
} |
||||
.jstb_code { |
||||
background-image: url(<%= asset_path 'jstoolbar/bt_code.png' %>); |
||||
} |
||||
.jstb_h1 { |
||||
background-image: url(<%= asset_path 'jstoolbar/bt_h1.png' %>); |
||||
} |
||||
.jstb_h2 { |
||||
background-image: url(<%= asset_path 'jstoolbar/bt_h2.png' %>); |
||||
} |
||||
.jstb_h3 { |
||||
background-image: url(<%= asset_path 'jstoolbar/bt_h3.png' %>); |
||||
} |
||||
.jstb_ul { |
||||
background-image: url(<%= asset_path 'jstoolbar/bt_ul.png' %>); |
||||
} |
||||
.jstb_ol { |
||||
background-image: url(<%= asset_path 'jstoolbar/bt_ol.png' %>); |
||||
} |
||||
.jstb_bq { |
||||
background-image: url(<%= asset_path 'jstoolbar/bt_bq.png' %>); |
||||
} |
||||
.jstb_unbq { |
||||
background-image: url(<%= asset_path 'jstoolbar/bt_bq_remove.png' %>); |
||||
} |
||||
.jstb_pre { |
||||
background-image: url(<%= asset_path 'jstoolbar/bt_pre.png' %>); |
||||
} |
||||
.jstb_link { |
||||
background-image: url(<%= asset_path 'jstoolbar/bt_link.png' %>); |
||||
} |
||||
.jstb_img { |
||||
background-image: url(<%= asset_path 'jstoolbar/bt_img.png' %>); |
||||
} |
@ -0,0 +1,138 @@ |
||||
/*-- 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 global/all |
||||
|
||||
.jstEditor |
||||
padding-left: 0px |
||||
|
||||
textarea, iframe |
||||
margin: 0 |
||||
|
||||
.jstHandle |
||||
height: 10px |
||||
font-size: 0.1em |
||||
cursor: s-resize |
||||
|
||||
.jstElements |
||||
padding: 3px 3px |
||||
|
||||
button |
||||
margin-right: 10px |
||||
width: 32px |
||||
height: 32px |
||||
padding: 6px 5px 4px 5px |
||||
border: 1px solid #CCCCCC |
||||
background: url(image-path('bg_input_file.png')) repeat-x 0 0 |
||||
font-size: 18px |
||||
@include border-radius(2px) |
||||
&:before |
||||
@include icon-common |
||||
|
||||
&:hover |
||||
border-color: #000 |
||||
cursor: pointer |
||||
|
||||
span |
||||
display: none |
||||
|
||||
span |
||||
display: inline |
||||
|
||||
.help |
||||
float: right |
||||
margin-right: 0.5em |
||||
padding-top: 8px |
||||
font-size: 0.9em |
||||
|
||||
a |
||||
padding: 2px 0 2px 20px |
||||
|
||||
.jstSpacer |
||||
width: 0px |
||||
font-size: 1px |
||||
margin-right: 4px |
||||
|
||||
.jstb_strong:before |
||||
content: "\e042" |
||||
|
||||
.jstb_em:before |
||||
content: "\e070" |
||||
|
||||
.jstb_ins:before |
||||
content: "\e0b3" |
||||
|
||||
.jstb_del:before |
||||
content: "\e072" |
||||
|
||||
.jstb_code:before |
||||
content: "\e050" |
||||
|
||||
.jstb_h1 |
||||
padding-bottom: 5px |
||||
&:before |
||||
font-family: $font_family_normal |
||||
font-size: 15px |
||||
content: "H1" |
||||
|
||||
.jstb_h2 |
||||
&:before |
||||
font-family: $font_family_normal |
||||
font-size: 15px |
||||
content: "H2" |
||||
|
||||
.jstb_h3 |
||||
&:before |
||||
font-family: $font_family_normal |
||||
font-size: 15px |
||||
content: "H3" |
||||
|
||||
.jstb_ul:before |
||||
content: "\e07b" |
||||
|
||||
.jstb_ol:before |
||||
content: "\e07d" |
||||
|
||||
.jstb_bq:before |
||||
content: "\e08d" |
||||
|
||||
.jstb_unbq:before |
||||
content: "\e08e" |
||||
|
||||
.jstb_pre |
||||
&:before |
||||
font-family: $font_family_normal |
||||
font-size: 15px |
||||
content: "pre" |
||||
|
||||
.jstb_link:before |
||||
content: "\e013" |
||||
|
||||
.jstb_img:before |
||||
content: "\e06c" |
||||
|
Loading…
Reference in new issue