Initial redesigned UI for repo listings w/ stars.

This commit is contained in:
Jimmy Zelinskie 2014-12-11 15:06:30 -05:00
parent 97b605ca8d
commit 5a484cfe11
10 changed files with 308 additions and 103 deletions

View file

@ -932,6 +932,8 @@ i.toggle-icon:hover {
}
.repo-circle {
color: #999;
display: inline-block;
position: relative;
background: #eee;
padding: 4px;
@ -939,7 +941,6 @@ i.toggle-icon:hover {
display: inline-block;
width: 46px;
height: 46px;
text-align: center;
}
.repo-circle.no-background {
@ -950,11 +951,11 @@ i.toggle-icon:hover {
}
.repo-circle .fa-hdd-o {
font-size: 36px;
font-size: 1.7em;
}
.repo-circle.no-background .fa-hdd-o {
font-size: 30px;
font-size: 1.7em;
}
.repo-circle .fa-lock {
@ -962,18 +963,18 @@ i.toggle-icon:hover {
bottom: -2px;
right: -4px;
background: rgb(253, 191, 191);
width: 20px;
width: 16px;
display: inline-block;
border-radius: 50%;
text-align: center;
height: 20px;
line-height: 21px;
font-size: 16px !important;
height: 16px;
line-height: 16px;
font-size: 12px !important;
}
.repo-circle.no-background .fa-lock {
bottom: -2px;
right: -6px;
bottom: 5px;
right: 7px;
color: #444;
}
@ -2480,10 +2481,41 @@ p.editable:hover i {
cursor: pointer;
}
.empty-primary-msg {
font-size: 18px;
margin-bottom: 30px;
text-align: center;
}
.empty-secondary-msg {
font-size: 14px;
color: #999;
text-align: center;
margin-bottom: 10px;
}
.repo-list {
margin-bottom: 40px;
}
.repo-list-title {
margin-bottom: 30px;
margin-top: 10px;
line-height: 24px;
font-size: 18px;
}
.repo-list-title a {
font-size: 18px;
margin: 0;
display: inline-block;
}
.repo-list-title i {
display: inline-block;
margin-right: 5px;
}
.repo-list .button-bar-right {
float: right;
}
@ -2503,11 +2535,42 @@ p.editable:hover i {
margin-right: 10px;
}
.repo-panel {
padding: 20px;
border: 1px solid #eee;
margin-bottom: 30px;
}
.panel-body.starred {
background: -moz-linear-gradient(top, rgba(255,240,188,1) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.49) 51%, rgba(255,255,255,0) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,240,188,1)), color-stop(50%,rgba(255,255,255,0.5)), color-stop(51%,rgba(255,255,255,0.49)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(255,240,188,1) 0%,rgba(255,255,255,0.5) 50%,rgba(255,255,255,0.49) 51%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(255,240,188,1) 0%,rgba(255,255,255,0.5) 50%,rgba(255,255,255,0.49) 51%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(255,240,188,1) 0%,rgba(255,255,255,0.5) 50%,rgba(255,255,255,0.49) 51%,rgba(255,255,255,0) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(255,240,188,1) 0%,rgba(255,255,255,0.5) 50%,rgba(255,255,255,0.49) 51%,rgba(255,255,255,0) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff0bc', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */
}
.star-icon {
color: #ddd;
display: block;
font-size: 1.2em;
text-align: right;
line-height: 2em;
}
.star-icon:hover {
cursor: pointer;
cursor: hand;
}
.star-icon.starred {
color: #ffba6d;
}
.repo-listing {
display: block;
margin-bottom: 20px;
border-bottom: 1px solid #eee;
padding: 10px;
font-size: 14px;
line-height: normal;
}
@ -2521,18 +2584,13 @@ p.editable:hover i {
margin-bottom: 0px;
}
.repo-listing a {
font-size: 1.5em;
}
.repo-listing i {
color: #999;
display: inline-block;
margin-right: 6px;
.repo-panel-repo-link {
font-size: 1.2em;
}
.repo-listing .description {
padding-left: 44px;
font-size: 0.91em;
padding-top: 13px;
}