git ssb

2+

mixmix / ticktack



Commit 9014dda813036162e40d60dc06a27061f9327d29

widen level 1 sideNav, fic channelSubscription stles. fixes #70

mix committed on 2/9/2018, 10:49:26 PM
Parent: b31d558b95f3eb034386c3d3719640d57c185cee

Files changed

app/html/channelCard.mcsschanged
app/html/sideNav/sideNav.mcsschanged
app/html/sideNav/sideNavDiscovery.mcsschanged
app/page/channelSubscriptions.mcsschanged
app/page/channelSubscriptions.mcss~added
app/html/channelCard.mcssView
@@ -1,38 +1,32 @@
11 ChannelCard {
22 $backgroundPrimaryText
3- padding: 4rem 1.5rem 4rem 1.5rem
4- width: 100%
3+ padding: 2rem 1.5rem 2rem 1.5rem
4+ flex-basis: 100%
55
66 border-bottom: 1px solid rgba(0,0,0, .1)
77 transition: all .5s ease
88
9- display: flex
10- flex-direction: column
11-
129 div.content {
13- display: flex
14- flex-direction: row
15- flex-grow: 1
16-
10+ padding: 2rem 0
1711 cursor: pointer
1812
1913 div.text {
14+
2015 display: flex
2116 flex-wrap: wrap
22- justify-content: space-between;
23- width: 100%;
17+ justify-content: space-between
2418
2519 h2 {
20+ flex-grow: 1
2621 $markdownLarge
2722 margin: 0 .5rem 0 0
2823 }
2924 div.Button {
30- margin-left: auto
3125 }
32- div.summary {
33- flex-basis: 100%
34- }
26+ /* div.summary { */
27+ /* flex-basis: 100% */
28+ /* } */
3529 }
3630 }
3731 background-color: #fff
3832
app/html/sideNav/sideNav.mcssView
@@ -6,9 +6,10 @@
66
77 display: flex
88
99 div.level {
10- width: 13rem
10+ min-width: 13rem
11+ max-width: 13rem
1112 overflow-y: auto
1213 overflow-x: hidden
1314
1415 border-right: 1px gainsboro solid
app/html/sideNav/sideNavDiscovery.mcssView
@@ -8,9 +8,11 @@
88 flex-grow: 1
99 }
1010 }
1111
12- -one {}
12+ -one {
13+ max-width: 15rem
14+ }
1315 -two {
1416 section {
1517 div.Option {
1618 padding: 0 1rem
app/page/channelSubscriptions.mcssView
@@ -4,14 +4,17 @@
44 $maxWidth
55 margin: 0 auto
66 padding: .5rem 2rem
77
8- display: flex
9- flex-wrap: wrap
10-
11- div.BlogCard {
12- flex-basis: 100%
8+ div.ChannelCard {
139 border-bottom: 1px solid rgba(0,0,0, .1)
1410 }
11+
12+ div {
13+ :last-child {
14+ padding-bottom: 2rem !important
15+ /* TODO fix - eww gross */
16+ }
17+ }
1518 }
1619 }
1720
app/page/channelSubscriptions.mcss~View
@@ -1,0 +1,17 @@
1+Page -channelSubscriptions {
2+ div.content {
3+ background-color: #fff
4+ $maxWidth
5+ margin: 0 auto
6+ padding: .5rem 2rem
7+
8+ display: flex
9+ flex-direction: column
10+
11+ div.BlogCard {
12+ flex-basis: 100%
13+ border-bottom: 1px solid rgba(0,0,0, .1)
14+ }
15+ }
16+}
17+

Built with git-ssb-web