git ssb

16+

Dominic / patchbay



Commit ee0fc935174888cf68ff8a13b1c4a1d591e99223

style tuning

mix irving committed on 6/16/2018, 10:36:19 AM
Parent: 21be5e60c2dcc1845a9e7d20861c40e6b2ec6922

Files changed

app/html/app.mcsschanged
app/page/settings.jschanged
app/styles/mcss/app-theme-vars.mcsschanged
app/styles/mcss/hypertabs.mcsschanged
app/html/app.mcssView
@@ -1,6 +1,6 @@
11 App {
2- background-color: var(--app-border-background)
2 + background: var(--app-border-background)
33 position: absolute
44
55 top: 0
66 bottom: 0
app/page/settings.jsView
@@ -24,9 +24,8 @@
2424 'ev-click': () => api.app.sync.goTo({ page: 'settings' })
2525 }, '/settings')
2626 }
2727
28-
2928 function settingsPage (location) {
3029 var page = h('SettingsPage', { title: '/settings' }, [
3130 h('div.container', [
3231 h('h1', 'Settings'),
@@ -40,9 +39,9 @@
4039 })
4140 ])
4241 ])
4342
44- var { container, content } = api.app.html.scroller({ prepend: page })
45- container.title = 'Settings'
43 + var { container } = api.app.html.scroller({ prepend: page })
44 + container.title = '/settings'
4645 return container
4746 }
4847 }
app/styles/mcss/app-theme-vars.mcssView
@@ -1,6 +1,5 @@
11 App {
2-
32 --app-border-background: rgb(0, 0, 0)
43 --app-border-background-mid: rgba(218, 139, 255, 0.47)
54 --app-border-width: .3rem
65 --app-border-color: rgb(255, 255, 255)
app/styles/mcss/hypertabs.mcssView
@@ -36,56 +36,12 @@
3636 display: flex
3737 align-items: center
3838 justify-content: space-between
3939
40- transition: all .1s ease-in
41-
42- :hover {
43- background: var(--app-border-background-mid)
44-
45- a.link {
46- color: var(--app-border-color)
47- }
48-
49- a.close {
50- visibility: visible
51- }
52- }
53-
54- -selected {
55- color: var(--page-color)
56- background: var(--page-background)
57-
58- a.link {
59- color: var(--page-color)
60- text-decoration: none
61- max-width: calc(100% - 2rem)
62- cursor: default
63- }
64- a.close {
65- visibility: visible
66- }
67-
68- :hover {
69- background: var(--page-background)
70-
71- a.link {
72- color: var(--page-color)
73- }
74- }
75-
76- }
77-
78- -notify {
79- background-color: orange;
80- }
81-
8240 a {
8341 color: var(--app-border-color)
84-
85- :hover {
86- text-decoration: none
87- }
42 + outline: none
43 + :hover { text-decoration: none }
8844 }
8945
9046 a.link {
9147 flex-grow: 1
@@ -102,9 +58,11 @@
10258
10359 a.close {
10460 visibility: hidden
10561 font-family: monospace
62 + font-weight: 600
10663 line-height: 1rem
64 +
10765 width: .9rem
10866 height: .9rem
10967 /* border-radius: 1rem */
11068
@@ -113,14 +71,49 @@
11371 display: flex
11472 justify-content: center
11573
11674 :hover {
117- background: #aaaaaa
118- color: #fff
119- font-weight: 600
75 + background: var(--page-background)
76 + color: var(--page-color)
12077 }
12178 }
12279
80 + :hover {
81 + background: var(--app-border-background-mid)
82 + a.link { color: var(--app-border-color) }
83 + a.close { visibility: visible }
84 + transition: all .2s ease-in
85 + }
86 +
87 + -selected {
88 + color: var(--page-color)
89 + background: var(--page-background)
90 +
91 + a.link {
92 + color: var(--page-color)
93 + text-decoration: none
94 + max-width: calc(100% - 2rem)
95 + cursor: default
96 + }
97 + a.close {
98 + visibility: visible
99 + color: var(--page-color)
100 +
101 + :hover {
102 + }
103 + }
104 +
105 + :hover {
106 + background: var(--page-background)
107 + a.link { color: var(--page-color) }
108 + transition: none
109 + }
110 + }
111 +
112 + -notify {
113 + background-color: orange;
114 + }
115 +
123116 }
124117
125118 }
126119

Built with git-ssb-web