* Replace definition lists with ul tags on activitiespull/3994/head
parent
6d8fac2f65
commit
f4df0b124a
@ -0,0 +1,49 @@ |
||||
# Generic lists |
||||
|
||||
``` |
||||
<ul class="generic-list"> |
||||
<li class="work-package-edit"> |
||||
<div class="title"> |
||||
<span class="icon-context icon-work_package-edit"></span> |
||||
<span class="hidden-for-sighted">Edit work package</span> |
||||
<span class="time">16:00</span> |
||||
<a href="#">Phase #15: Go-Live (To be scheduled)</a> |
||||
</div> |
||||
<div class="description">Lorem ipsum</div> |
||||
<div class="author"> |
||||
<img class="avatar-mini" src="/assets/default-avatar.png" /> |
||||
Anonymus |
||||
</div> |
||||
</li> |
||||
<li class="news me"> |
||||
<div class="title"> |
||||
<span class="icon-context icon-news"></span> |
||||
<span class="hidden-for-sighted">News</span> |
||||
<span class="time">09:10</span> |
||||
<a href="#">Lorem ipsum dolor</a> |
||||
</div> |
||||
<div class="description"></div> |
||||
<div class="author"> |
||||
<img src="http://gravatar.com/avatar/cb4f282fed12016bd18a879c1f27ff97" class="avatar-mini" /> |
||||
<a href="#">Reinhold Weber</a> |
||||
</div> |
||||
</li> |
||||
<li class="message me"> |
||||
<div class="title"> |
||||
<span class="icon-context icon-message"></span> |
||||
<span class="hidden-for-sighted">Edit message</span> |
||||
<span class="time">20:24</span> |
||||
<a href="#">Demo Forum: RE: Hello world!</a> |
||||
</div> |
||||
<div class="description"> |
||||
Reinhold Weber wrote:<br> |
||||
> Lorem ipsum dolor sit amet |
||||
</div> |
||||
<div class="author"> |
||||
<img src="http://gravatar.com/avatar/cb4f282fed12016bd18a879c1f27ff97" class="avatar-mini" /> |
||||
<a href="#">Reinhold Weber</a> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
|
||||
``` |
@ -0,0 +1,67 @@ |
||||
//-- 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. |
||||
//++ |
||||
|
||||
.generic-list |
||||
margin: 0 |
||||
padding: 0 |
||||
|
||||
li |
||||
list-style: none |
||||
margin-bottom: 24px |
||||
|
||||
.title |
||||
font-weight: bold |
||||
|
||||
.icon-context:before |
||||
vertical-align: -2px |
||||
|
||||
.me |
||||
.time |
||||
border-bottom: 1px solid $gray-dark |
||||
|
||||
.time, |
||||
.description |
||||
color: $gray-dark |
||||
|
||||
.time, |
||||
.description, |
||||
.author |
||||
font-size: 0.9em |
||||
|
||||
.description, |
||||
.author |
||||
padding-left: 30px |
||||
|
||||
.description |
||||
font-style: italic |
||||
|
||||
.author |
||||
margin-bottom: 1em |
||||
|
||||
.avatar-mini |
||||
margin: 0 10px 0 0 |
Loading…
Reference in new issue