Merge "Move Detail page styling into theme"

This commit is contained in:
Jenkins 2015-12-09 00:12:40 +00:00 committed by Gerrit Code Review
commit debb03d496
7 changed files with 30 additions and 31 deletions

View File

@ -1,6 +1,6 @@
{% load i18n %}
<div class="detail tab-content">
<div class="detail">
<dl class="dl-horizontal">
<dt>{% trans "Project Name" %}</dt>
<dd>{{ project.name }}</dd>

View File

@ -1,6 +1,6 @@
{% load i18n %}
<div class="detail tab-content">
<div class="detail">
<dl class="dl-horizontal">
{% if domain_id %}
<dt>{% trans "Domain ID" %}</dt>

View File

@ -1,10 +1,4 @@
.workflow {
.tab-content {
border-left: 0 none;
border-right: 0 none;
border-bottom: 0 none;
padding-top: 10px;
}
fieldset > table {
margin-bottom: 0;

View File

@ -1277,27 +1277,6 @@ a:hover.link-popover { text-decoration: none; }
top: 0;
}
/**** Details Override ****/
.page-header > .breadcrumb {
font-size: $font-size-h3;
margin-bottom: 0;
.actions_column {
padding: 0;
}
}
.detail {
ul {
padding-left: 0;
}
dt, dd {
text-align: left;
line-height: $line-height-small;
}
}
input::-ms-clear, input::-ms-reveal {
display: none;
}

View File

@ -23,4 +23,9 @@
& > li > .in {
border-bottom: 1px solid $gray-light;
}
}
}
.nav-tabs {
// Spacing for content in details pages
margin-bottom: 10px;
}

View File

@ -5,9 +5,9 @@
@import 'components/tables';
@import 'components/table_actions';
@import 'components/pie_charts';
@import 'components/breadcrumb_header';
.navbar-brand {
// The 114 is a legacy value to push the context-menu over
padding-right: 114px;
}
@ -21,3 +21,14 @@ form label {
display: inline-block;
}
/* Details page overrides */
.detail {
ul {
padding-left: 0;
}
dt, dd {
text-align: left;
line-height: $line-height-small;
}
}

View File

@ -0,0 +1,10 @@
/* Breadcrumb used as a header in the details pages */
.page-header > .breadcrumb {
font-size: $font-size-h3;
margin-bottom: 0;
padding: 8px 0px;
.actions_column {
padding: 0;
}
}