SIGN IN SIGN UP
connors / photon UNCLAIMED

The fastest way to build beautiful Electron apps using simple HTML and CSS

2015-09-27 22:08:52 -07:00
//
// Base styles
// --------------------------------------------------
* {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
html {
height: 100%;
width: 100%;
overflow: hidden;
}
body {
height: 100%;
padding: 0;
2015-10-10 12:30:44 -07:00
margin: 0;
2015-10-03 11:16:37 -07:00
font-family: $font-family-default;
font-size: $font-size-default;
line-height: $line-height-default;
2015-10-03 11:36:42 -07:00
color: $gray-color;
2015-10-04 14:52:33 -07:00
background-color: transparent;
2015-09-27 22:08:52 -07:00
}
2015-10-03 12:15:05 -07:00
hr {
margin: 15px 0;
overflow: hidden;
background: transparent;
border: 0;
border-bottom: 1px solid $border-color;
}
2015-09-29 14:55:49 -07:00
// Typography
h1, h2, h3, h4, h5, h6 {
margin-top: 20px;
margin-bottom: 10px;
font-weight: 500;
2015-09-29 15:24:19 -07:00
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2015-09-29 14:55:49 -07:00
}
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }
2015-09-28 22:31:52 -07:00
// Basic app structure
2015-09-29 14:55:49 -07:00
.window {
2015-09-28 22:31:52 -07:00
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
flex-direction: column;
2015-10-04 14:52:33 -07:00
background-color: $chrome-color;
2015-09-28 22:31:52 -07:00
}
2015-10-03 21:57:01 -07:00
2015-09-29 14:55:49 -07:00
.window-content {
2015-09-28 22:31:52 -07:00
position: relative;
overflow-y: auto;
display: flex;
flex: 1;
}