Style tweaks for new window chrome
This commit is contained in:
parent
39d11d8eb3
commit
7d481fdc21
8 changed files with 35 additions and 20 deletions
BIN
images/back.png
BIN
images/back.png
Binary file not shown.
Before Width: | Height: | Size: 348 B After Width: | Height: | Size: 129 B |
BIN
images/menu.png
BIN
images/menu.png
Binary file not shown.
Before Width: | Height: | Size: 792 B After Width: | Height: | Size: 112 B |
|
@ -299,9 +299,9 @@
|
||||||
|
|
||||||
.bottom-bar {
|
.bottom-bar {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 1; // offset 1 for window frame.
|
||||||
height: 36px;
|
height: 36px;
|
||||||
width: 100%;
|
width: calc(100% - 2px);
|
||||||
border-top: 1px solid $grey_l;
|
border-top: 1px solid $grey_l;
|
||||||
background: white;
|
background: white;
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
html {
|
html {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
border: solid 1px #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
@ -35,13 +36,19 @@ body {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
height: $header-height;
|
height: $header-height;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
background: #f2f2f2;
|
color: #f2f2f2;
|
||||||
box-shadow: 0 -4px 3px 4px rgba(darken($header-color, 30%), 0.8);
|
box-shadow: 0 -4px 3px 4px rgba(darken($header-color, 30%), 0.8);
|
||||||
color: $blue;
|
background-color: $header-color;
|
||||||
-webkit-app-region: drag;
|
-webkit-app-region: drag;
|
||||||
|
|
||||||
button {
|
button {
|
||||||
-webkit-app-region: no-drag;
|
-webkit-app-region: no-drag;
|
||||||
|
color: inherit;
|
||||||
|
background-color: $blue;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: rgba(darken($blue, 10%), 0.8);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -77,7 +84,7 @@ button.back {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: left;
|
float: left;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
padding-left: 8px;
|
padding-right: 8px;
|
||||||
|
|
||||||
.hamburger {
|
.hamburger {
|
||||||
width: 36px;
|
width: 36px;
|
||||||
|
@ -86,6 +93,8 @@ button.back {
|
||||||
.menu-list {
|
.menu-list {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
color: $grey_d;
|
||||||
|
|
||||||
top: 100%;
|
top: 100%;
|
||||||
right: 0;
|
right: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -222,7 +231,7 @@ img.emoji {
|
||||||
|
|
||||||
.title-bar .check {
|
.title-bar .check {
|
||||||
float: right;
|
float: right;
|
||||||
background: $blue url('/images/check.png') no-repeat center center;
|
background: url('/images/check.png') no-repeat center center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contact {
|
.contact {
|
||||||
|
|
|
@ -27,4 +27,4 @@ $roboto: Roboto, 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
||||||
$roboto-light: Roboto-Light, 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
$roboto-light: Roboto-Light, 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
||||||
|
|
||||||
$header-height: 36px;
|
$header-height: 36px;
|
||||||
$header-color: #f2f2f2;
|
$header-color: $blue;
|
||||||
|
|
|
@ -16,7 +16,8 @@
|
||||||
box-sizing: border-box; }
|
box-sizing: border-box; }
|
||||||
|
|
||||||
html {
|
html {
|
||||||
height: 100%; }
|
height: 100%;
|
||||||
|
border: solid 1px #ccc; }
|
||||||
|
|
||||||
body {
|
body {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -44,12 +45,16 @@ body {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
background: #f2f2f2;
|
color: #f2f2f2;
|
||||||
box-shadow: 0 -4px 3px 4px rgba(165, 165, 165, 0.8);
|
box-shadow: 0 -4px 3px 4px rgba(10, 62, 103, 0.8);
|
||||||
color: #2090ea;
|
background-color: #2090ea;
|
||||||
-webkit-app-region: drag; }
|
-webkit-app-region: drag; }
|
||||||
#header button {
|
#header button {
|
||||||
-webkit-app-region: no-drag; }
|
-webkit-app-region: no-drag;
|
||||||
|
color: inherit;
|
||||||
|
background-color: #2090ea; }
|
||||||
|
#header button:hover {
|
||||||
|
background-color: rgba(19, 117, 196, 0.8); }
|
||||||
|
|
||||||
.title-text {
|
.title-text {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -71,7 +76,7 @@ button {
|
||||||
|
|
||||||
button.back {
|
button.back {
|
||||||
float: left;
|
float: left;
|
||||||
background: #f2f2f2 url("/images/back.png") no-repeat center center; }
|
background: #2090ea url("/images/back.png") no-repeat center center; }
|
||||||
button.back + .title-text {
|
button.back + .title-text {
|
||||||
text-indent: -36px; }
|
text-indent: -36px; }
|
||||||
|
|
||||||
|
@ -79,15 +84,16 @@ button.back {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: left;
|
float: left;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
padding-left: 8px; }
|
padding-right: 8px; }
|
||||||
.menu .hamburger {
|
.menu .hamburger {
|
||||||
width: 36px;
|
width: 36px;
|
||||||
background: url("/images/menu.png") no-repeat center; }
|
background: url("/images/menu.png") no-repeat center; }
|
||||||
.menu .menu-list {
|
.menu .menu-list {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
color: #454545;
|
||||||
top: 100%;
|
top: 100%;
|
||||||
right: 0;
|
left: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: solid 1px #2090ea;
|
border: solid 1px #2090ea;
|
||||||
|
@ -189,7 +195,7 @@ img.emoji {
|
||||||
|
|
||||||
.title-bar .check {
|
.title-bar .check {
|
||||||
float: right;
|
float: right;
|
||||||
background: #2090ea url("/images/check.png") no-repeat center center; }
|
background: url("/images/check.png") no-repeat center center; }
|
||||||
|
|
||||||
.contact {
|
.contact {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -584,9 +590,9 @@ input.search {
|
||||||
|
|
||||||
.bottom-bar {
|
.bottom-bar {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 1;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
width: 100%;
|
width: calc(100% - 2px);
|
||||||
border-top: 1px solid #f3f3f3;
|
border-top: 1px solid #f3f3f3;
|
||||||
background: white; }
|
background: white; }
|
||||||
.bottom-bar button, .bottom-bar input {
|
.bottom-bar button, .bottom-bar input {
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue