Caret/css/project.less

55 lines
911 B
Text
Raw Normal View History

2013-11-04 00:28:17 +00:00
.project {
@background: #444;
@foreground: white;
overflow-x: hidden;
overflow-y: auto;
box-shadow: inset 4px 4px 16px rgba(0, 0, 0, .4);
background: @background;
a {
text-decoration: none;
color: inherit;
}
2013-11-04 00:28:17 +00:00
ul {
margin: 0;
padding: 0;
list-style-type: none;
}
li {
color: @foreground;
text-shadow: -1px -1px 1px rgba(0, 0, 0, .2);
overflow: hidden;
white-space: no-wrap;
padding: 4px;
& > ul {
display: none;
2013-11-04 16:53:15 +00:00
padding-left: 4px;
2013-11-04 00:28:17 +00:00
}
&.expanded > ul {
display: block;
}
}
.directory {
color: darken(@foreground, 30%);
position: relative;
&:after {
content: "▶";
margin-left: 6px;
display: inline-block;
2013-11-06 20:02:20 +00:00
transition: all .3s;
}
}
.expanded > .directory:after {
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
2013-11-04 00:28:17 +00:00
}
}