#26: update styles for issues table

This commit is contained in:
Vokhmin Alexey V 2013-03-18 23:27:15 +04:00
parent f8ace015dc
commit 6145f1753b
3 changed files with 47 additions and 4 deletions

View File

@ -1860,3 +1860,29 @@ table#myTable thead tr.search th form.button_to div input {
#clone-urls > .git-protocol-selector:first-child { #clone-urls > .git-protocol-selector:first-child {
margin:0 0 0 10px; margin:0 0 0 10px;
} }
#table1 .tracker {
border-top: none;
margin-top: 0;
}
#description-top.issues-filter {
background: #dcecfa;
font-size: 12px;
color: #292929;
border: 1px solid #a9c6dd;
margin: 0;
padding: 15px 0 0;
li {
cursor: pointer;
}
li.list-browser-sorts {
float: right;
margin-top: -7px;
border: 1px solid #a9c6dd;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
}

View File

@ -7,12 +7,23 @@
#blue-switch-select.selected{:style => "margin-left: #{@status == 'open' ? '0' : '130'}px;"} #blue-switch-select.selected{:style => "margin-left: #{@status == 'open' ? '0' : '130'}px;"}
.both .both
.both .both
#description-top.issues-filter
.project-tabnav
%ul.tabnav-tabs
- open = @status == 'open'
%li{:class => (open ? 'selected' : '')}
%a= 'Open'
%li{:class => (!open ? 'selected' : '')}
%a= 'Closed'
%li.list-browser-sorts
%a= 'Updated'
%li.list-browser-sorts.selected.desc
%i.icon-chevron-up
%a= 'Submitted'
#table1 #table1
%table#myTable.tablesorter.tracker{:cellpadding => "0", :cellspacing => "0"} %table#myTable.tablesorter.tracker{:cellpadding => "0", :cellspacing => "0"}
%thead
%tr
%th.th1{:colspan => "2"}=t('layout.issues.number')
%th{:colspan => "2"}=t('layout.issues.description')
%tbody %tbody
= render :partial => 'projects/issues/issue', :collection => issues = render :partial => 'projects/issues/issue', :collection => issues
= will_paginate issues = will_paginate issues

View File

@ -828,4 +828,10 @@ a.badge:hover {
} }
.icon-question-sign { .icon-question-sign {
background-position: -96px -96px; background-position: -96px -96px;
}
.icon-chevron-up {
background-position: -288px -120px;
}
.icon-chevron-down {
background-position: -313px -119px;
} }