git ssb

16+

Dominic / patchbay



Commit f68b2a486afb54608328425f7f0315dfaa7d84e5

fix styling

mix irving committed on 2/2/2017, 7:21:20 AM
Parent: 2a898c6bb5c44df0a373a3f46046dcf94e618dda

Files changed

modules_core/app.mcsschanged
modules_core/style/hypertabs.mcsschanged
modules_core/tabs.jschanged
modules_core/app.mcssView
@@ -1,8 +1,6 @@
11 App {
22 position: absolute
3- display: flex
4- flex-direction: column
53
64 top: 0
75 bottom: 0
86 left: 0
modules_core/style/hypertabs.mcssView
@@ -1,55 +1,87 @@
11 Hypertabs {
22 display: flex
33 flex-direction: column
44
5- position: absolute
6- top: 0; bottom: 0
7- left: 0; right: 0
8- overflow-y: hidden
5 + height: 100% /* needed to stop scroller blowing out */
96
107 nav {
118 display: flex
9 +
10 + background: linear-gradient(to bottom, #efefef, #e5e5e5)
1211
1312 section.tabs {
1413 flex-grow: 1
1514 display: flex
1615
17-
1816 div.tab {
1917 flex-grow: 1
2018
2119 display: flex
22- padding: 5px
20 + align-items: center
21 +
22 + font-size: .9rem
23 + background-color: #efefef
24 + overflow-x: hidden
25 +
26 + padding: 0 .4rem
27 + margin-left: .6rem
2328 border: 1px gainsboro solid
29 + border-bottom: none
2430
2531 -selected {
26- background-color: cyan;
32 + color: #222
33 + background-color: #fff
34 + /* border: 1px #bababa solid */
35 + border-bottom: none
36 +
37 + a.close {
38 + visibility: visible
39 + }
2740 }
2841
2942 -notify {
3043 background-color: orange;
3144 }
3245
46 +
47 + a {
48 + color: #666
49 +
50 + :hover {
51 + color: #0088cc
52 + text-decoration: none
53 + }
54 + }
55 +
3356 a.link {
3457 flex-grow: 1
3558 }
3659
3760 a.close {
61 + visibility: hidden
3862 }
3963 }
4064
4165 }
66 +
67 + div.extra {
68 + display: flex
69 + align-items: center
70 + }
4271 }
4372
4473 section.content {
4574 display: flex
4675
76 + height: 100% /* needed to stop scroller blowing out */
77 +
4778 div.page {
4879 flex-grow: 1
4980
50- padding: 1rem
51- border: 1px gainsboro solid
81 + display: flex /* hack to get give Scroller context it's needed */
82 +
83 + padding-top: .2rem
5284 }
5385 }
5486 }
5587
modules_core/tabs.jsView
@@ -55,9 +55,9 @@
5555 })
5656
5757 // TODO add a Tabs(setSelected, { append: el }) to hypertabs
5858 tabs.firstChild.appendChild(
59- h('div.search', [
59 + h('div.extra', [
6060 search,
6161 api.menu()
6262 ])
6363 )

Built with git-ssb-web