OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/assets/stylesheets/scm.css.sass

215 lines
4.7 KiB

/*-- 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. ++*/
//= require_self
//= require coderay
@import open_project_global/all
@import fonts/openproject_icon_font
div.changeset-changes ul
margin: 0
padding: 0
> ul
margin-left: 18px
padding: 0
li.change
list-style-type:none
background-image: url(image-path('bullet_black.png'))
background-position: 1px 1px
background-repeat: no-repeat
padding-top: 1px
padding-bottom: 1px
padding-left: 20px
margin: 0
&.folder
background-image: url(image-path('folder_open.png'))
&.change-A
background-image: url(image-path('folder_open_add.png'))
&.change-M
background-image: url(image-path('folder_open_orange.png'))
&.change-A
background-image: url(image-path('bullet_add.png'))
&.change-M
background-image: url(image-path('bullet_orange.png'))
&.change-C
background-image: url(image-path('bullet_blue.png'))
&.change-R
background-image: url(image-path('bullet_purple.png'))
&.change-D
background-image: url(image-path('bullet_delete.png'))
.copied-from
font-style: italic
color: #999
font-size: 0.9em
&:before
content: " - "
#changes-legend
float: right
font-size: 0.8em
margin: 0
li
float: left
background-position: 5px 0
table.filecontent
border: 1px solid #ccc
border-collapse: collapse
width: 98%
background-color: #fafafa
th
border: 1px solid #ccc
background-color: #eee
&.filename
background-color: #e4e4d4
text-align: left
padding: 0.2em
tr.spacing
th
text-align:center
td
height: 0.4em
background: #EAF2F5
th.line-num
border: 1px solid #d7d7d7
font-size: 0.8em
text-align: right
width: 2%
padding-right: 3px
color: #999
a
text-decoration: none
color: inherit
td.line-code pre
margin: 0
white-space: pre-wrap
white-space: -moz-pre-wrap
white-space: -o-pre-wrap
td.diff_in pre
background: #DDFFDD
span
background: #AAFFAA
td.diff_out pre
background: #FFDDDD
span
background: #FFAAAA
pre
overflow: hidden
// 12 different colors for the annonate view
table.annotate
tr
&.bloc-0
background: #FFFFBF
&.bloc-1
background: #EABFFF
&.bloc-2
background: #BFFFFF
&.bloc-3
background: #FFD9BF
&.bloc-4
background: #E6FFBF
&.bloc-5
background: #BFCFFF
&.bloc-6
background: #FFBFEF
&.bloc-7
background: #FFE6BF
&.bloc-8
background: #FFE680
&.bloc-9
background: #AA80FF
&.bloc-10
background: #FFBFDC
&.bloc-11
background: #BFE4FF
td
&.revision
text-align: center
width: 2%
padding-left: 1em
background: inherit
&.author
text-align: center
border-right: 1px solid #d7d7d7
white-space: nowrap
padding-left: 1em
padding-right: 1em
width: 3%
background: inherit
font-size: 90%
&.line-code
background-color: #fafafa
div
&.action_M
background: #fd8
&.action_D
background: #f88
&.action_A
background: #bfb
tr.dir
span
&.dir-expander
@include icon-common
cursor: pointer
&:before
content: "\e089"
margin-left: 5px
padding: 0
&.loading
span.dir-expander:before
content: "\e07a"
&.collapsed
span.dir-expander:before
content: "\e089"
&.open
span.dir-expander:before
content: "\e082"
tr
&.entry
&.file
td
&.filename
a
margin-left: $repository-entry-filename-margin-left