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

WIP new_installer #333

Merged
merged 12 commits into from
May 16, 2019
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
dist

npm-debug.log
*.sqlite3
20 changes: 13 additions & 7 deletions app/html/app.mcss
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
App {
background: var(--app-border-background)
position: absolute

top: 0
bottom: 0
left: 0
right: 0

overflow: hidden
min-height: 0px
height: 100%
width: 100%

position: relative

div.Hypertabs {
position: absolute

top: var(--app-border-width)
bottom: var(--app-border-width)
left: var(--app-border-width)
right: var(--app-border-width)
}
}

25 changes: 0 additions & 25 deletions app/html/tabs.mcss
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,6 @@
/* NOTE there are some active styles in here still */

Hypertabs {
position: fixed
top: 0
right: 0
left: 0
bottom: 0

display: flex
flex-direction: column

height: 100% /* needed to stop scroller blowing out */
overflow: hidden

nav {
display: flex

Expand Down Expand Up @@ -92,17 +80,4 @@ Hypertabs {
margin: 0 .5rem
}
}

section.content {
display: flex

height: 100% /* needed to stop making nav weird */

div.page {
flex-grow: 1

display: flex /*hack to get give Scroller context it needs */
}
}
}

8 changes: 8 additions & 0 deletions app/styles/css/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ body {
font-size: 14px;
line-height: 1.4;
color: #222;

margin: 0;

position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
}

body::before {
Expand Down
17 changes: 9 additions & 8 deletions app/styles/mcss/hypertabs.mcss
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@ Hypertabs {
display: flex
flex-direction: column

top: var(--app-border-width)
bottom: var(--app-border-width)
left: var(--app-border-width)
right: var(--app-border-width)

height: initial
overflow: hidden

nav {
height: 2.3rem
Expand Down Expand Up @@ -128,15 +124,20 @@ Hypertabs {
// this brings the scroll-bar in
padding: .5rem .4rem

height: 100% /* needed to stop making nav weird */
height: 100%
/* needed to stop making nav weird */

display: flex

div.page {
flex-grow: 1

display: flex /*hack to get give Scroller context it needs */
display: flex
/*hack to get give Scroller context it needs */

top: 0
bottom: 0
/* stop that stupid thing where tab scrolls the whole page */
}
}
}

Binary file added build/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/dmg-icon.icns
Binary file not shown.
Binary file added build/icon.icns
Binary file not shown.
Binary file added build/icon.ico
Binary file not shown.
Loading