Get the main repo page design working
This commit is contained in:
parent
3d3c8ca198
commit
002dc083f2
18 changed files with 299 additions and 18 deletions
63
static/css/directives/repo-view/repo-panel-info.css
Normal file
63
static/css/directives/repo-view/repo-panel-info.css
Normal file
|
@ -0,0 +1,63 @@
|
|||
.repo-panel-info-element .stat-col {
|
||||
border-right: 2px solid #eee;
|
||||
}
|
||||
|
||||
.repo-panel-info-element .stat-title {
|
||||
text-align: center;
|
||||
display: block;
|
||||
font-size: 20px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.repo-panel-info-element .stat {
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.repo-panel-info-element .stat .stat-value {
|
||||
font-size: 46px;
|
||||
}
|
||||
|
||||
.repo-panel-info-element .stat .stat-subtitle {
|
||||
font-size: 12px;
|
||||
color: #ccc;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.repo-panel-info-element .description-container {
|
||||
margin-top: 30px;
|
||||
border-top: 2px solid #eee;
|
||||
padding-top: 18px;
|
||||
}
|
||||
|
||||
.repo-panel-info-element .description {
|
||||
padding-bottom: 0px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.repo-panel-info-element .description p {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
|
||||
.repo-panel-info-element .description-container h4:before {
|
||||
content: "\f02d";
|
||||
color: #black;
|
||||
font-size: 20px;
|
||||
font-family: FontAwesome;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.repo-panel-info-element .description .fa-edit {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.repo-panel-info-element .build-mini-status {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.repo-panel-info-element .view-all {
|
||||
display: block;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
}
|
|
@ -31,4 +31,8 @@
|
|||
|
||||
.build-info-bar-element .build-side-info .timing {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.build-info-bar-element .source-commit-link {
|
||||
margin-left: 4px;
|
||||
}
|
53
static/css/directives/ui/build-mini-status.css
Normal file
53
static/css/directives/ui/build-mini-status.css
Normal file
|
@ -0,0 +1,53 @@
|
|||
.build-mini-status {
|
||||
display: block;
|
||||
padding: 4px;
|
||||
position: relative;
|
||||
border: 1px solid #eee;
|
||||
}
|
||||
|
||||
.build-mini-status-element {
|
||||
color: black;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
.build-mini-status .build-status-icon {
|
||||
width: 42px;
|
||||
padding: 4px;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.build-mini-status .timing {
|
||||
display: inline-block;
|
||||
margin-left: 30px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.build-mini-status .timing .fa {
|
||||
display: inline-block;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.build-mini-status .build-description {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
right: 4px;
|
||||
left: 250px;
|
||||
bottom: 4px;
|
||||
line-height: 33px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.build-mini-status .build-status-icon.error {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.build-mini-status .build-status-icon.internalerror {
|
||||
color: #DFFF00;
|
||||
}
|
||||
|
||||
.build-mini-status .build-status-icon.complete {
|
||||
color: #2fcc66;
|
||||
}
|
Reference in a new issue