The git-ignored target directory for LMS Sass compilation is:
lms/static/css
Unfortunately, that directory contains git-controlled directory of
vendored-in static assets:
lms/static/css/vendor
This is a problem for a couple reasons:
1. In Tutor, we would like to make lms/static/css a symlink to an
external location for the sake of build efficiency. This is
impossible to do without clobbering lms/static/css/vendor and
dirtying the git state.
2. More generally, when optimizing (or just understanding) a build
system, it adds complexity when git-controlled source directories are
mixed up inside git-ignored target directories.
The solution is to simply merge these vendored-in assets to another
existing git-controlled vendor directory:
common/static/css/vendor
LMS already reads assets from this folder, so no further changes need to
be made. common/static/css is fully git-controlled, so we avoid the
complexity described above.
50 lines
1.2 KiB
CSS
50 lines
1.2 KiB
CSS
.treeview, .treeview ul {
|
|
padding: 0;
|
|
margin: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.treeview ul {
|
|
background-color: white;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.treeview .hitarea {
|
|
background: url(images/treeview-default.gif) -64px -25px no-repeat;
|
|
height: 16px;
|
|
width: 16px;
|
|
margin-left: -16px;
|
|
float: left;
|
|
cursor: pointer;
|
|
}
|
|
/* fix for IE6 */
|
|
* html .hitarea {
|
|
display: inline;
|
|
float:none;
|
|
}
|
|
|
|
.treeview li {
|
|
margin: 0;
|
|
padding: 3px 0pt 3px 16px;
|
|
}
|
|
|
|
.treeview a.selected {
|
|
background-color: #eee;
|
|
}
|
|
|
|
#treecontrol { margin: 1em 0; display: none; }
|
|
|
|
.treeview .hover { color: red; cursor: pointer; }
|
|
|
|
.treeview li { background: url(images/treeview-default-line.gif) 0 0 no-repeat; }
|
|
.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; }
|
|
|
|
.treeview .expandable-hitarea { background-position: -80px -3px; }
|
|
|
|
.treeview li.last { background-position: 0 -1766px }
|
|
.treeview li.lastCollapsable, .treeview li.lastExpandable { background-image: url(images/treeview-default.gif); }
|
|
.treeview li.lastCollapsable { background-position: 0 -111px }
|
|
.treeview li.lastExpandable { background-position: -32px -67px }
|
|
|
|
.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; }
|