overleaf/services/web/public/stylesheets/app/editor/left-menu.less

121 lines
2 KiB
Text
Raw Normal View History

2014-06-26 15:39:52 +00:00
#left-menu {
position: absolute;
width: @left-menu-width;
2014-07-01 14:57:55 +00:00
padding: (@line-height-computed / 2);
2014-06-26 15:39:52 +00:00
top: 0;
bottom: 0;
background-color: #f4f4f4;
z-index: 100;
2014-07-01 14:57:55 +00:00
overflow-y: auto;
overflow-x: hidden;
-webkit-transition: left ease-in-out @left-menu-animation-duration;
transition: left ease-in-out @left-menu-animation-duration;
2014-07-01 14:57:55 +00:00
font-size: 14px;
2014-06-26 15:39:52 +00:00
left: -280px;
&.shown {
left: 0;
}
h4 {
2014-07-01 14:57:55 +00:00
font-family: @font-family-sans-serif;
2014-06-26 15:39:52 +00:00
font-weight: 400;
font-size: 1rem;
margin: (@line-height-computed / 2) 0;
padding-bottom: (@line-height-computed / 4);
color: @gray-light;
2014-07-01 14:57:55 +00:00
border-bottom: 1px solid @gray-lighter;
}
> h4:first-child {
2014-07-01 14:57:55 +00:00
margin-top: 0;
}
2014-07-10 13:08:32 +00:00
ul.nav {
a {
cursor: pointer;
2014-07-10 13:08:32 +00:00
&:hover, &:active {
background-color: @link-color;
color: white;
i {
color: white;
}
}
i {
color: @gray;
}
padding: (@line-height-computed / 4);
font-weight: 700;
}
2015-09-14 14:28:19 +00:00
.link-disabled {
color: @gray-light;
}
2014-07-10 13:08:32 +00:00
}
ul.nav-downloads {
li {
display: inline-block;
text-align: center;
width: 100px;
a {
color: @gray-dark;
2014-07-02 10:06:20 +00:00
}
i {
2014-07-10 13:08:32 +00:00
margin: (@line-height-computed / 4) 0;
}
}
}
2014-07-01 14:57:55 +00:00
form.settings {
label {
font-weight: normal;
color: @gray-dark;
flex: 1 0 50%;
2014-07-01 14:57:55 +00:00
margin-bottom: 0;
margin-top: 9px;
padding-right: 5px;
white-space: nowrap;
2014-07-01 14:57:55 +00:00
}
select {
2014-07-10 13:08:32 +00:00
width: 50%;
flex: 0 0 50%;
margin: 9px 0;
2014-07-01 14:57:55 +00:00
}
.form-controls {
2014-07-10 13:08:32 +00:00
clear: both;
padding: 0 9px;
display: flex;
flex-wrap: wrap;
align-items: baseline;
justify-content: flex-end;
border-bottom: solid 1px rgba(0, 0, 0, 0.07);
&:first-child {
margin-top: -9px;
}
&:last-child {
border-bottom: 0;
}
2014-07-01 14:57:55 +00:00
&:hover {
background-color: @link-color;
// select.form-control {
// color: white;
// }
2014-07-01 14:57:55 +00:00
label {
color: white;
}
}
2014-07-10 13:08:32 +00:00
&:after {
content:"";
display:table;
clear:both;
}
2014-07-01 14:57:55 +00:00
}
2014-06-26 15:39:52 +00:00
}
}
#left-menu-mask {
.full-size;
opacity: 0.4;
background-color: #999;
z-index: 99;
}