overleaf/services/web/public/stylesheets/app/project-list.less

208 lines
3.6 KiB
Text
Raw Normal View History

2014-06-04 16:46:22 +00:00
.project-header {
2014-07-07 15:22:38 +00:00
.btn-group > .btn {
padding-left: @line-height-base / 2;
padding-right: @line-height-base / 2;
}
2014-06-04 16:46:22 +00:00
}
.project-search {
2014-07-07 15:22:38 +00:00
margin: @line-height-base 0;
2014-06-04 16:46:22 +00:00
}
.project-tools {
2014-07-07 15:22:38 +00:00
display: inline;
2014-06-04 16:46:22 +00:00
}
2014-07-07 13:58:12 +00:00
.first-project {
width: 127px;
text-align: center;
}
.user-profile {
.progress {
height: @line-height-computed / 2;
margin-bottom: @line-height-computed / 4;
}
p {
margin-bottom: @line-height-computed / 4;
}
}
2014-06-06 16:47:52 +00:00
ul.folders-menu {
2014-06-12 15:21:12 +00:00
margin: 0;
2014-06-19 12:30:45 +00:00
.subdued {
color: @gray-light;
}
2014-06-12 15:21:12 +00:00
li {
2014-06-19 12:30:45 +00:00
line-height: 1.8;
2014-06-12 15:21:12 +00:00
a {
2014-06-19 12:30:45 +00:00
font-size: 0.9rem;
2014-06-12 15:21:12 +00:00
color: #333;
2014-06-19 12:30:45 +00:00
padding: (@line-height-computed / 4);
display: inline-block;
line-height: 1.2;
2014-06-12 15:21:12 +00:00
}
}
2014-06-12 15:21:12 +00:00
li.active {
2014-06-19 12:30:45 +00:00
//border-right: 4px solid @red;
2014-06-12 15:21:12 +00:00
a {
font-weight: 700;
2014-06-19 12:30:45 +00:00
color: white;
background-color: @link-color;
border-radius: @border-radius-small;
.subdued {
color: white;
}
2014-06-12 15:21:12 +00:00
}
}
2014-07-16 13:59:52 +00:00
li > a.small {
color: @gray;
}
2014-06-19 12:30:45 +00:00
h2 {
margin-top: @line-height-computed / 2;
margin-bottom: @line-height-computed / 4;
font-size: @font-size-base;
font-weight: 500;
font-family: @font-family-sans-serif;
}
a.tag {
padding: 2px (@line-height-computed / 4);
display: inline-block;
position: relative;
i {
position: absolute;
top: 5px;
left: 6px;
}
span.name {
display: inline-block;
padding-left: 22px;
line-height: 1.4;
}
}
2014-06-06 16:47:52 +00:00
}
2014-06-06 18:19:53 +00:00
form.project-search {
.form-group {
margin-bottom: 0;
}
}
ul.structured-list {
list-style-type: none;
margin: 0;
2014-06-04 16:46:22 +00:00
overflow: hidden;
overflow-y: auto;
2014-06-04 16:46:22 +00:00
li {
2014-06-09 07:51:12 +00:00
border-bottom: 1px solid @gray-lightest;
padding: (@line-height-computed / 4) 0;
2014-06-04 16:46:22 +00:00
&:first-child {
.header {
2014-06-04 16:46:22 +00:00
font-size: 1rem;
}
}
2014-06-04 16:46:22 +00:00
&:last-child {
border-bottom: 0 none;
}
2014-06-04 16:46:22 +00:00
&:hover {
2014-06-09 07:51:12 +00:00
background-color: @gray-lightest;
}
2014-06-04 16:46:22 +00:00
&:first-child:hover {
background-color: white;
}
2014-06-04 16:46:22 +00:00
a {
2014-06-09 07:51:12 +00:00
color: darken(@blue, 10%);
}
.header {
text-transform: uppercase;
}
.select-item, .select-all {
2014-06-04 16:46:22 +00:00
display: inline-block;
}
2014-06-04 16:46:22 +00:00
.select-item, .select-all {
position: absolute;
left: @line-height-computed;
}
.select-item + span, .select-all + span {
display: inline-block;
padding-left: @line-height-computed * 1.5;
}
}
}
ul.project-list {
li {
2014-06-04 16:46:22 +00:00
.last-modified, .owner {
font-size: .8rem;
}
2014-06-04 16:46:22 +00:00
.owner {
margin-right: 0;
}
2014-06-04 16:46:22 +00:00
.projectName {
margin-right: @line-height-computed / 4;
}
2014-06-04 16:46:22 +00:00
.tag-label {
margin-left: @line-height-computed / 4;
position: relative;
top: -2px;
padding-top: 0.25em;
display: inline-block;
color: white;
}
}
i.tablesort {
padding-left: 8px;
}
}
2014-07-07 15:22:38 +00:00
.user_details_auto_complete {
2014-07-07 15:22:38 +00:00
ul>li{
list-style:none;
}
.autocomplete {
width: 100%;
position: relative;
}
.autocomplete ul {
position: absolute;
top: 100%;
left: 0;
z-index: @zindex-dropdown;
float: left;
min-width: 160px;
padding: 5px 0;
margin: 2px 0 0; // override default ul
list-style: none;
font-size: @font-size-base;
background-color: @dropdown-bg;
border: 1px solid @dropdown-fallback-border; // IE8 fallback
border: 1px solid @dropdown-border;
border-radius: @border-radius-base;
.box-shadow(0 6px 12px rgba(0,0,0,.175));
background-clip: padding-box;
// Links within the dropdown menu
> li {
display: block;
padding: 3px 20px;
clear: both;
font-weight: normal;
line-height: @line-height-base;
color: @dropdown-link-color;
white-space: nowrap; // prevent links from randomly breaking onto new lines
}
> li.active {
text-decoration: none;
color: @dropdown-link-hover-color;
background-color: @dropdown-link-hover-bg;
}
}
.autocomplete .highlight {
font-weight: 700;
}
}