forked from cory/tildefriends
Make the files pane collapsible. This is the limit of my CSS ability.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3848 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -162,6 +162,51 @@ a:active {
|
||||
.cyan { color: #2aa198; }
|
||||
.green { color: #859900; }
|
||||
|
||||
#files_header {
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
#files_hide {
|
||||
font-weight: bold;
|
||||
width: 100%;
|
||||
right: 0;
|
||||
flex: 0;
|
||||
padding: 0.25em;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#files_show {
|
||||
display: none;
|
||||
padding: 0.25em;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#filesPane {
|
||||
flex: 1 1 10%;
|
||||
}
|
||||
|
||||
#filesPane.collapsed {
|
||||
flex: 0;
|
||||
}
|
||||
|
||||
.collapsed #files_header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.collapsed #files_content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.collapsed #files_hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.collapsed #files_show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#files {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
|
Reference in New Issue
Block a user