overleaf/services/web/public/stylesheets/app/project-list.less
2014-06-12 16:21:12 +01:00

106 lines
1.7 KiB
Text

.project-header {
.btn-group > .btn {
padding-left: @line-height-base / 2;
padding-right: @line-height-base / 2;
}
}
.project-search {
margin: @line-height-base 0;
}
.project-tools {
display: inline;
}
ul.folders-menu {
margin: 0;
li {
line-height: 1;
padding: (@line-height-computed / 4) 0;
a {
font-size: 0.8rem;
color: #333;
padding-left: (@line-height-computed / 4);
}
.small {
font-size: 0.8rem;
color: @gray-light;
}
}
li.active {
border-right: 4px solid @red;
a {
font-weight: 700;
color: @link-color;
}
}
h2 {
margin-top: @line-height-computed / 4;
margin-bottom: 0;
font-size: @font-size-base;
}
}
form.project-search {
.form-group {
margin-bottom: 0;
}
}
ul.project-list {
list-style-type: none;
margin: 0;
overflow: hidden;
overflow-y: scroll;
li {
border-bottom: 1px solid @gray-lightest;
padding: (@line-height-computed / 4) 0;
&:first-child {
.last-modified, .owner {
font-size: 1rem;
}
}
&:last-child {
border-bottom: 0 none;
}
&:hover {
background-color: @gray-lightest;
}
&:first-child:hover {
background-color: white;
}
a {
color: darken(@blue, 10%);
}
.select-item, .select-all, .title, .last-modified, .owner {
display: inline-block;
vertical-align: top;
margin-right: @line-height-computed;
}
.select-item, .select-all {
margin-left: @line-height-computed / 4;
}
.last-modified, .owner {
font-size: .8rem;
}
.owner {
margin-right: 0;
}
.projectName {
margin-right: @line-height-computed;
}
}
.project_entry {
.tag-label {
margin-right: 5px;
font-size: 12px;
cursor: arrow;
i {
margin-top: 1px;
cursor: pointer;
}
margin-bottom: 5px;
}
}
}