Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subtle toggle icon #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 5 additions & 7 deletions styles.css
Expand Up @@ -4,8 +4,8 @@
transform: rotate(90deg);
transform-origin: top left;
position: relative;
height: 42px;
left: 42px;
height: 40px;
left: 40px;
}

/* hide everything in a closed list... */
Expand All @@ -20,12 +20,12 @@

/* we need to reduce the width of the title to fit the collapse toggle in */
.js-list .list .list-header-name {
width: calc(100% - 22px);
width: calc(100% - 20px);
}

/* collapsed list header - rotated + some css hackery to make it look right */
.js-list.-closed .list .list-header-name {
height: 40px !important;
height: 38px !important;
width: auto;
line-height: 30px;
display: block !important;
Expand All @@ -39,13 +39,11 @@
.collapse-toggle {
float: left;
cursor: pointer;
background: white;
border: 1px solid #ccc;
border-radius: 50%;
height: 20px;
width: 20px;
text-align: center;
position: relative;
opacity: 0.5;
}

/* collapse toggle button - triangle */
Expand Down