Skip to content

Commit

Permalink
[frontend] Change #staging-dashboard to be a class
Browse files Browse the repository at this point in the history
  • Loading branch information
David Kang committed Jun 19, 2018
1 parent 85397a5 commit f6a4a08
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
42 changes: 21 additions & 21 deletions src/api/app/assets/stylesheets/webui/obs_factory/application.css
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
/* Staging projects dashboard table */
#staging-dashboard th.staging-project {
.staging-dashboard th.staging-project {
text-align: right;
}

#staging-dashboard .packages-list {
.staging-dashboard .packages-list {
text-align: left;
margin: 6px;
}

#staging-dashboard td {
.staging-dashboard td {
text-align: center
}

#staging-dashboard td img {
.staging-dashboard td img {
margin-top: 4px
}

/* Fix an issue with rowspans */
#staging-dashboard tr:last-child td {
.staging-dashboard tr:last-child td {
border-bottom: 1px dotted #CCCCCC
}

Expand Down Expand Up @@ -80,94 +80,94 @@ a.openqa-incomplete {
margin-bottom: 0.5em
}

#staging-dashboard .request {
.staging-dashboard .request {
white-space: nowrap;
margin: 1ex;
padding: 3px;
}

#staging-dashboard .request a.staging_expand,
#staging-dashboard .request a.staging_collapse {
.staging-dashboard .request a.staging_expand,
.staging-dashboard .request a.staging_collapse {
color: #069;
}

#staging-dashboard div.staging_collapsible {
.staging-dashboard div.staging_collapsible {
display: inline-block;
}

#staging-dashboard .ok {
.staging-dashboard .ok {
background-color: #53b25f;
}

.color-legend .ok {
background-color: #53b25f;
}

#staging-dashboard .review {
.staging-dashboard .review {
background-color: #d9b200;
}

.color-legend .review {
background-color: #d9b200;
}

#staging-dashboard .obsolete {
.staging-dashboard .obsolete {
background-color: #42a2cc;
}

.color-legend .obsolete {
background-color: #42a2cc;
}

#staging-dashboard .untracked {
.staging-dashboard .untracked {
background-color: #666;
}

.color-legend .untracked {
background-color: #666;
}

#staging-dashboard .request a {
.staging-dashboard .request a {
color: white;
margin: 0;
line-height: 1em;
}

#staging-dashboard .packages-list {
.staging-dashboard .packages-list {
text-align: left;
list-style-type: none;
}

#staging-dashboard .request {
.staging-dashboard .request {
padding-left: 2px;
padding-right: 3px;
margin-right: .5ex;
border-radius: 3px;
float: left;
}

#staging-dashboard tr:nth-child(odd) {
.staging-dashboard tr:nth-child(odd) {
background-color: #fff;
}

#staging-dashboard tr:nth-child(even) {
.staging-dashboard tr:nth-child(even) {
background-color: #eee;
}

#staging-dashboard ul.problem_list {
.staging-dashboard ul.problem_list {
white-space: nowrap;
margin-left: 0px;
text-align: left;
margin-top: 0px;
list-style-type: none;
}

#staging-dashboard ul.problem_list li {
.staging-dashboard ul.problem_list li {
margin-left: 8px;
line-height: 170%;
}

#staging-dashboard .delete a {
.staging-dashboard .delete a {
text-decoration: line-through;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
%h2
%label{for: 'letterbox'} Letter
.box.box-shadow
%table#staging-dashboard.dashboard
%table.dashboard.staging-dashboard
%thead
%tr
%th Project
Expand All @@ -33,7 +33,7 @@
%h2
%label{for: 'adibox'} ADI
.box.box-shadow
%table#staging-dashboard.dashboard
%table.dashboard.staging-dashboard
%thead
%tr
%th Project
Expand Down

0 comments on commit f6a4a08

Please sign in to comment.