-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ben Rubin
authored and
Ben Rubin
committed
Dec 30, 2016
1 parent
790f70d
commit 8fb7fca
Showing
5 changed files
with
1,312 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,248 @@ | ||
md-tree:not(.md-no-animation) md-branch .md-branch-icon { | ||
-webkit-transition: -webkit-transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); | ||
transition: -webkit-transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); | ||
transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); | ||
transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), -webkit-transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); } | ||
|
||
md-tree md-branch .md-branch-icon-container { | ||
display: -webkit-box; | ||
display: -ms-flexbox; | ||
display: flex; | ||
-webkit-box-orient: vertical; | ||
-webkit-box-direction: normal; | ||
-ms-flex-direction: column; | ||
flex-direction: column; | ||
min-height: 72px; | ||
width: 60px; | ||
-webkit-box-pack: center; | ||
-ms-flex-pack: center; | ||
justify-content: center; } | ||
md-tree md-branch .md-branch-icon-container .md-branch-icon { | ||
margin: 0 auto; | ||
-webkit-transform: rotate(90deg); | ||
transform: rotate(90deg); | ||
pointer-events: none; } | ||
|
||
md-tree md-branch.md-open > .md-branch-inner > .md-branch-icon-container .md-branch-icon { | ||
-webkit-transform: rotate(-90deg); | ||
transform: rotate(-90deg); } | ||
|
||
md-tree md-branch.md-tip .md-branch-icon { | ||
display: none; } | ||
|
||
md-branch { | ||
position: relative; | ||
display: block; } | ||
md-branch .md-branch-inner { | ||
display: -webkit-box; | ||
display: -ms-flexbox; | ||
display: flex; | ||
-webkit-box-pack: start; | ||
-ms-flex-pack: start; | ||
justify-content: flex-start; | ||
-webkit-box-align: center; | ||
-ms-flex-align: center; | ||
align-items: center; | ||
min-height: 48px; | ||
height: auto; | ||
border-bottom: 1px solid transparent; | ||
-webkit-transition: background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); | ||
transition: background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); | ||
cursor: pointer; } | ||
md-branch .md-branch-inner.md-tip { | ||
cursor: default; } | ||
md-branch .md-branch-inner > div.md-primary > md-icon, | ||
md-branch .md-branch-inner > div.md-secondary > md-icon, | ||
md-branch .md-branch-inner > md-icon:first-child, | ||
md-branch .md-branch-inner > md-icon.md-secondary { | ||
width: 24px; | ||
margin-top: 16px; | ||
margin-bottom: 12px; | ||
box-sizing: content-box; } | ||
md-branch .md-branch-inner > div.md-primary > md-checkbox, | ||
md-branch .md-branch-inner > div.md-secondary > md-checkbox, | ||
md-branch .md-branch-inner > md-checkbox, | ||
md-branch .md-branch-inner md-checkbox.md-secondary { | ||
-ms-flex-item-align: center; | ||
-ms-grid-row-align: center; | ||
align-self: center; } | ||
md-branch .md-branch-inner > div.md-primary > md-checkbox .md-label, | ||
md-branch .md-branch-inner > div.md-secondary > md-checkbox .md-label, | ||
md-branch .md-branch-inner > md-checkbox .md-label, | ||
md-branch .md-branch-inner md-checkbox.md-secondary .md-label { | ||
display: none; } | ||
md-branch .md-branch-inner > md-checkbox { | ||
width: 24px; | ||
margin-top: 16px; } | ||
md-branch .md-branch-inner .md-secondary-container { | ||
display: -webkit-box; | ||
display: -ms-flexbox; | ||
display: flex; | ||
-webkit-box-align: center; | ||
-ms-flex-align: center; | ||
align-items: center; | ||
-ms-flex-negative: 0; | ||
flex-shrink: 0; | ||
margin: auto; } | ||
md-branch .md-branch-inner .md-secondary-container md-checkbox { | ||
margin-top: 0; | ||
margin-bottom: 0; } | ||
md-branch .md-branch-inner .md-secondary-container md-checkbox:last-child { | ||
width: 24px; } | ||
md-branch .md-branch-inner .md-secondary-container md-switch { | ||
margin-top: 0; | ||
margin-bottom: 0; } | ||
md-branch .md-branch-inner > p, md-branch .md-branch-inner > .md-list-item-inner > p { | ||
-webkit-box-flex: 1; | ||
-ms-flex: 1 1 auto; | ||
flex: 1 1 auto; | ||
margin: 0; } | ||
md-branch.md-2-line, md-branch.md-2-line > .md-no-style, md-branch.md-3-line, md-branch.md-3-line > .md-no-style { | ||
-webkit-box-align: start; | ||
-ms-flex-align: start; | ||
align-items: flex-start; | ||
-webkit-box-pack: center; | ||
-ms-flex-pack: center; | ||
justify-content: center; } | ||
md-branch.md-2-line .md-branch-text, md-branch.md-2-line > .md-no-style .md-branch-text, md-branch.md-3-line .md-branch-text, md-branch.md-3-line > .md-no-style .md-branch-text { | ||
-webkit-box-flex: 1; | ||
-ms-flex: 1 1 auto; | ||
flex: 1 1 auto; | ||
margin: auto; | ||
text-overflow: ellipsis; | ||
overflow: hidden; | ||
-webkit-user-select: none; | ||
-moz-user-select: none; | ||
-ms-user-select: none; | ||
user-select: none; } | ||
md-branch.md-2-line .md-branch-text h3, md-branch.md-2-line > .md-no-style .md-branch-text h3, md-branch.md-3-line .md-branch-text h3, md-branch.md-3-line > .md-no-style .md-branch-text h3 { | ||
font-size: 16px; | ||
font-weight: 400; | ||
letter-spacing: 0.010em; | ||
margin: 0; | ||
line-height: 1.2em; | ||
overflow: hidden; | ||
white-space: nowrap; | ||
text-overflow: ellipsis; } | ||
md-branch.md-2-line .md-branch-text h4, md-branch.md-2-line > .md-no-style .md-branch-text h4, md-branch.md-3-line .md-branch-text h4, md-branch.md-3-line > .md-no-style .md-branch-text h4 { | ||
font-size: 14px; | ||
letter-spacing: 0.010em; | ||
margin: 3px 0 1px; | ||
font-weight: 400; | ||
line-height: 1.2em; | ||
overflow: hidden; | ||
white-space: nowrap; | ||
text-overflow: ellipsis; } | ||
md-branch.md-2-line .md-branch-text p, md-branch.md-2-line > .md-no-style .md-branch-text p, md-branch.md-3-line .md-branch-text p, md-branch.md-3-line > .md-no-style .md-branch-text p { | ||
font-size: 14px; | ||
font-weight: 500; | ||
letter-spacing: 0.010em; | ||
margin: 0; | ||
line-height: 1.6em; } | ||
md-branch.md-2-line, md-branch.md-2-line > .md-no-style { | ||
height: auto; | ||
min-height: 72px; } | ||
md-branch.md-2-line .md-branch-inner, md-branch.md-2-line > .md-no-style .md-branch-inner { | ||
min-height: 72px; } | ||
md-branch.md-2-line > .md-avatar, md-branch.md-2-line .md-avatar-icon, md-branch.md-2-line > .md-no-style > .md-avatar, md-branch.md-2-line > .md-no-style .md-avatar-icon { | ||
margin-top: 12px; } | ||
md-branch.md-2-line > .md-branch-expand-icon:first-child, md-branch.md-2-line > .md-no-style > .md-branch-expand-icon:first-child { | ||
-ms-flex-item-align: start; | ||
align-self: flex-start; } | ||
md-branch.md-2-line .md-list-item-text, md-branch.md-2-line > .md-no-style .md-list-item-text { | ||
-webkit-box-flex: 1; | ||
-ms-flex: 1 1 auto; | ||
flex: 1 1 auto; } | ||
md-branch.md-3-line, md-branch.md-3-line > .md-no-style { | ||
height: auto; | ||
min-height: 88px; } | ||
md-branch.md-3-line .md-branch-inner, md-branch.md-3-line > .md-no-style .md-branch-inner { | ||
min-height: 88px; } | ||
md-branch.md-3-line > .md-branch-expand-icon:first-child, | ||
md-branch.md-3-line > .md-avatar, md-branch.md-3-line > .md-no-style > .md-branch-expand-icon:first-child, | ||
md-branch.md-3-line > .md-no-style > .md-avatar { | ||
margin-top: 16px; } | ||
|
||
md-branch > .md-branch-container { | ||
display: none; | ||
padding-left: 36px; } | ||
|
||
md-branch.md-open > .md-branch-container { | ||
display: block; } | ||
|
||
md-branch > .md-branch-container.md-overflow { | ||
overflow: hidden; } | ||
|
||
md-branch:not(.md-no-animation) > .md-branch-container.md-show { | ||
display: block; | ||
-webkit-transition: max-height 0.06s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.06s cubic-bezier(0.25, 0.8, 0.25, 1); | ||
transition: max-height 0.06s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.06s cubic-bezier(0.25, 0.8, 0.25, 1); } | ||
|
||
md-branch:not(.md-no-animation) > .md-branch-container.md-hide { | ||
display: block; | ||
-webkit-transition: max-height 0.12s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.12s cubic-bezier(0.25, 0.8, 0.25, 1); | ||
transition: max-height 0.12s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.12s cubic-bezier(0.25, 0.8, 0.25, 1); } | ||
|
||
md-branch.md-checkbox-enabled > .md-branch-inner .checkbox-container { | ||
position: relative; | ||
top: 50%; | ||
box-sizing: border-box; | ||
display: inline-block; | ||
width: 20px; | ||
height: 20px; | ||
margin: auto 24px auto 0; } | ||
md-branch.md-checkbox-enabled > .md-branch-inner .checkbox-container:before { | ||
box-sizing: border-box; | ||
background-color: transparent; | ||
border-radius: 50%; | ||
content: ''; | ||
position: absolute; | ||
display: block; | ||
height: auto; | ||
left: 0; | ||
top: 0; | ||
right: 0; | ||
bottom: 0; | ||
-webkit-transition: all 0.5s; | ||
transition: all 0.5s; | ||
width: auto; } | ||
md-branch.md-checkbox-enabled > .md-branch-inner .checkbox-container:after { | ||
box-sizing: border-box; | ||
content: ''; | ||
position: absolute; | ||
top: -10px; | ||
right: -10px; | ||
bottom: -10px; | ||
left: -10px; } | ||
|
||
md-branch.md-checkbox-enabled > .md-branch-inner .checkbox-icon { | ||
pointer-events: none; | ||
box-sizing: border-box; | ||
-webkit-transition: 240ms; | ||
transition: 240ms; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 20px; | ||
height: 20px; | ||
border-width: 2px; | ||
border-style: solid; | ||
border-radius: 2px; } | ||
|
||
md-branch.md-checkbox-enabled[selected] > .md-branch-inner .checkbox-icon { | ||
border-color: transparent; } | ||
md-branch.md-checkbox-enabled[selected] > .md-branch-inner .checkbox-icon:after { | ||
box-sizing: border-box; | ||
-webkit-transform: rotate(45deg); | ||
transform: rotate(45deg); | ||
position: absolute; | ||
left: 4.66667px; | ||
top: 0.22222px; | ||
display: table; | ||
width: 6.66667px; | ||
height: 13.33333px; | ||
border-width: 2px; | ||
border-style: solid; | ||
border-top: 0; | ||
border-left: 0; | ||
content: ''; } |
Oops, something went wrong.