Переглянути джерело

update page and tables styles

tags/6.0-RC1
Stas Vilchik 8 роки тому
джерело
коміт
e4bdb65962

+ 1
- 1
server/sonar-web/src/main/js/apps/markdown/templates/markdown-help.hbs Переглянути файл

@@ -1,5 +1,5 @@
<h2 class="spacer-bottom">Markdown Syntax</h2>
<table class="width-100 data zebra table-bordered">
<table class="width-100 data zebra">
<thead>
<tr>
<th>Write:</th>

+ 1
- 1
server/sonar-web/src/main/js/widgets/issue-filter/templates/widget-issue-filter-assignees.hbs Переглянути файл

@@ -1,4 +1,4 @@
<table class="data zebra">
<table class="data condensed zebra">
{{> '_widget-issue-filter-total'}}
{{#each items}}
<tr>

+ 1
- 1
server/sonar-web/src/main/js/widgets/issue-filter/templates/widget-issue-filter-resolutions.hbs Переглянути файл

@@ -1,4 +1,4 @@
<table class="data zebra">
<table class="data condensed zebra">
{{> '_widget-issue-filter-total'}}
{{#each items}}
<tr>

+ 1
- 1
server/sonar-web/src/main/js/widgets/issue-filter/templates/widget-issue-filter-severities.hbs Переглянути файл

@@ -1,4 +1,4 @@
<table class="data zebra">
<table class="data condensed zebra">
<tr>
<td>
<a href="{{issueFilterTotalLink parsedQuery displayMode}}"><strong>{{t 'total'}}</strong></a>

+ 1
- 1
server/sonar-web/src/main/js/widgets/issue-filter/templates/widget-issue-filter-statuses.hbs Переглянути файл

@@ -1,4 +1,4 @@
<table class="data zebra">
<table class="data condensed zebra">
{{> '_widget-issue-filter-total'}}
{{#each items}}
<tr>

+ 1
- 1
server/sonar-web/src/main/js/widgets/issue-filter/templates/widget-issue-filter.hbs Переглянути файл

@@ -1,4 +1,4 @@
<table class="data zebra">
<table class="data condensed zebra">
{{> '_widget-issue-filter-total'}}
{{#each items}}
<tr>

+ 4
- 2
server/sonar-web/src/main/less/components/page.less Переглянути файл

@@ -75,7 +75,7 @@ body {

.page-header {
.clearfix;
margin-bottom: 10px;
margin-bottom: 20px;

.spinner {
position: relative;
@@ -106,9 +106,11 @@ body {
}

.page-description {
float: left;
clear: left;
font-size: @smallFontSize;
max-width: 800px;
line-height: 1.5;
margin-top: 6px;
}

.page-footer {

+ 20
- 7
server/sonar-web/src/main/less/init/tables.less Переглянути файл

@@ -39,15 +39,23 @@ table {
color: @baseFontColor;
}

table.data > thead:after {
display: block;
line-height: 5px;
content: "\200C";
}

table.data > thead > tr > th {
vertical-align: top;
font-size: 93%;
padding: 5px;
line-height: 1.4;
text-transform: uppercase;
line-height: 24px;
padding: 8px 10px;
border-bottom: 1px solid @barBorderColor;
font-weight: 500;

& > .small {
text-transform: none;
display: block;
line-height: 1.4;
font-weight: 400;
}
}

@@ -58,7 +66,7 @@ table.data > tfoot > tr > td {
}

table.data > tbody > tr > td {
padding: 5px 5px;
padding: 8px 10px;
vertical-align: text-top;
line-height: 16px;

@@ -72,7 +80,7 @@ table.data td.small, table.data th.small {
white-space: nowrap;
}

table.data.zebra > tbody > tr:nth-child(odd) {
table.data.zebra > tbody > tr:nth-child(even) {
background-color: #f5f5f5;
}

@@ -84,6 +92,11 @@ table.data.zebra > tbody > tr.selected {
background-color: @lightBlue !important;
}

table.data.condensed > tbody > tr > td {
padding-top: 5px;
padding-bottom: 5px;
}

.data thead tr.total {
background-color: #EFEFEF;
font-weight: normal;

+ 1
- 1
server/sonar-web/src/main/webapp/WEB-INF/app/views/measures/_display_list.html.erb Переглянути файл

@@ -158,7 +158,7 @@
end
%>

<table class="data" id="measures-table">
<table class="data condensed" id="measures-table">
<thead>
<tr valign="top">
<% if display_favourites %>

Завантаження…
Відмінити
Зберегти