fixed line height of the new fields and removed the watchers tab from the styleguide

pull/3434/head
Henriette Dinger 9 years ago committed by Jens Ulferts
parent 07377d87ee
commit 8d18a5710e
  1. 5
      app/assets/stylesheets/content/_in_place_editing.sass
  2. 41
      app/assets/stylesheets/content/work_package_details/_watchers_tab.lsg
  3. 66
      app/assets/stylesheets/content/work_package_details/_watchers_tab.sass
  4. 1
      app/assets/stylesheets/default.css.sass

@ -276,6 +276,9 @@ a.inplace-editing--trigger-link,
.work-package--details--long-field
margin-top: 10px
.inplace-editing--trigger-container
line-height: 1.6
.inplace-edit--read
margin-left: 0px
max-width: 100%
@ -289,7 +292,7 @@ a.inplace-editing--trigger-link,
float: inherit
i
vertical-align: text-bottom
vertical-align: text-top
.inplace-edit--icon-wrapper
.icon-button

@ -1,41 +0,0 @@
# Work Packages - [Details Pane] - Watchers
```
<div id="detail-panel-watchers">
<ul>
<li>
<span class="user-avatar--container">
<img alt="Avatar" class="user-avatar--avatar" src="http://gravatar.com/avatar/ae4878114ca94594589106efaad8890e?default=wavatar&amp;secure=false" title="Deron Feil">
<span class="user-avatar--user-with-role">
<span class="user-avatar--user">
<a class="user-field-user-link" href="/users/25">Deron Feil</a>
</span>
</span>
</span>
<a class="detail-panel-watchers-delete-watcher-link" href=""><span><span class="detail-panel-watchers-delete-watcher-icon icon-context icon-button icon-close icon-context icon-button icon-close" title="Delete watcher"><span class="hidden-for-sighted">Delete watcher</span></span></span></a>
</li>
<li>
<span class="user-avatar--container">
<img alt="Avatar" class="user-avatar--avatar" src="http://gravatar.com/avatar/4a261f6edb9ed1de10076982663bffec?default=wavatar&amp;secure=false" title="Loraine Runolfsdottir">
<span class="user-avatar--user-with-role">
<span class="user-avatar--user">
<a class="user-field-user-link" href="/users/20">Loraine Runolfsdottir</a>
</span>
</span>
</span>
<a class="detail-panel-watchers-delete-watcher-link" href=""><span><span class="detail-panel-watchers-delete-watcher-icon icon-context icon-button icon-close icon-context icon-button icon-close" title="Delete watcher"><span class="hidden-for-sighted">Delete watcher</span></span></span></a>
</li>
<li>
<span class="user-avatar--container">
<img alt="Avatar" class="user-avatar--avatar" src="http://gravatar.com/avatar/1ac321aa9afb93ad78b52697c93d34f2?default=wavatar&amp;secure=false" title="Zena Labadie">
<span class="user-avatar--user-with-role">
<span class="user-avatar--user">
<a class="user-field-user-link" href="/users/15">Zena Labadie</a>
</span>
</span>
</span>
<a class="detail-panel-watchers-delete-watcher-link" href=""><span><span class="detail-panel-watchers-delete-watcher-icon icon-context icon-button icon-close icon-context icon-button icon-close" title="Delete watcher"><span class="hidden-for-sighted">Delete watcher</span></span></span></a>
</li>
</ul>
</div>
```

@ -1,66 +0,0 @@
//-- copyright
// OpenProject is a project management system.
// Copyright (C) 2012-2015 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.
//++
#detail-panel-watchers
width: 100%
padding-top: 30px
.select2-with-searchbox
position: relative
.ui-select-choices
max-height: 350px
input[type='text']
width: 100%
.inplace-edit--read
max-width: 100%
ul.watchers-list
margin: 15px 0
padding: 0 0 15px 0
list-style-type: none
li
clear: both
height: 24px
> .user-avatar--container
width: 40%
float: left
.detail-panel-watchers-delete-watcher-link:hover,
.detail-panel-watchers-delete-watcher-link:active
text-decoration: none
.detail-panel-watchers-delete-watcher-icon
padding: 0 8px
fieldset
border: 0
#detail-panel-watchers-add-watcher
clear: left

@ -73,7 +73,6 @@
@import content/work_package_details/activities_tab
@import content/work_package_details/attachments_tab
@import content/work_package_details/relations_tab
@import content/work_package_details/watchers_tab
@import content/expandable_group_content
@import content/control_colors

Loading…
Cancel
Save