forked from ram-sharma/app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 3afa926
Showing
5 changed files
with
1,243 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,283 @@ | ||
/* Resets */ | ||
|
||
html, body, div, form, p, span, label, img { | ||
margin: 0; | ||
padding: 0; | ||
outline: none; | ||
} | ||
html, body { | ||
height: 100%; | ||
width: 100%; | ||
} | ||
body { | ||
position: relative; | ||
background: #FFF; | ||
color: #333; | ||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
-webkit-text-size-adjust: none; | ||
text-rendering: optimizeLegibility; | ||
-webkit-tap-highlight-color: transparent; | ||
-webkit-user-select: none; | ||
user-select: none; | ||
overflow: hidden; | ||
} | ||
.clear { | ||
clear: both; | ||
} | ||
|
||
|
||
|
||
.app-clickblocker { | ||
z-index: 9000; | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
height: 100%; | ||
width: 100%; | ||
background: #FFF; | ||
opacity: 0; | ||
} | ||
|
||
.app-page { | ||
display: none; | ||
height: 100%; | ||
width: 100%; | ||
overflow: hidden; | ||
} | ||
.app-loaded .app-page { | ||
display: block; | ||
} | ||
|
||
.app-page .app-topbar { | ||
z-index: 3000; | ||
position: relative; | ||
height: 44px; | ||
width: 100%; | ||
background: #1C1C1C; | ||
border-top: 1px solid #3C3C3C; | ||
border-bottom: 1px solid #0C0C0C; | ||
-webkit-box-shadow: 0 0 4px rgba(0,0,0,0.7); | ||
-moz-box-shadow: 0 0 4px rgba(0,0,0,0.7); | ||
box-shadow: 0 0 4px rgba(0,0,0,0.7); | ||
-webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
box-sizing: border-box; | ||
color: #FFF; | ||
text-shadow: 0 1px 0 #000; | ||
} | ||
.app-android .app-page .app-topbar { | ||
height: 48px; | ||
} | ||
.app-page .app-topbar .app-button { | ||
position: absolute; | ||
top: 7px; | ||
padding: 6px 8px; | ||
height: 16px; | ||
background: #F3F3F3; | ||
-webkit-border-radius: 4px; | ||
-moz-border-radius: 4px; | ||
border-radius: 4px; | ||
color: #2C2C2C; | ||
font-size: 16px; | ||
font-weight: bold; | ||
line-height: 16px; | ||
text-shadow: 0 1px 0 #FFF; | ||
} | ||
.app-android .app-page .app-topbar .app-button { | ||
top: 9px; | ||
} | ||
.app-page .app-topbar .app-button.left { | ||
left: 8px; | ||
} | ||
.app-page .app-topbar .app-button.right { | ||
right: 8px; | ||
} | ||
.app-page .app-topbar .app-button.active { | ||
background: #E7E7E7; | ||
} | ||
.app-page .app-topbar .app-title { | ||
height: 42px; | ||
font-size: 22px; | ||
font-weight: bold; | ||
line-height: 42px; | ||
text-align: center; | ||
} | ||
.app-android .app-page .app-topbar .app-title { | ||
padding: 2px 0; | ||
} | ||
|
||
.app-page .app-content { | ||
z-index: 2000; | ||
position: relative; | ||
background: #F3F3F3; | ||
} | ||
.app-ios .app-page .app-content * { | ||
/* | ||
terrible hack to make elements render | ||
properly in scrollable regions | ||
*/ | ||
-webkit-transform: translate3d(0,0,0); | ||
} | ||
.app-page .app-content .app-section { | ||
position: relative; | ||
margin: 8px; | ||
} | ||
|
||
.app-page .app-content ul.app-list { | ||
margin: 0; | ||
padding: 0; | ||
list-style: none; | ||
} | ||
.app-page .app-content ul.app-list > li { | ||
padding: 0 8px 0 20px; | ||
height: 43px; | ||
background: #FFF; | ||
border: 0 solid #DDD; | ||
border-bottom-width: 1px; | ||
font-size: 18px; | ||
font-weight: bold; | ||
line-height: 43px; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
white-space: nowrap; | ||
} | ||
.app-android .app-page .app-content ul.app-list > li { | ||
padding: 2px 8px 2px 20px; | ||
} | ||
.app-page .app-content .app-section ul.app-list > li { | ||
border-left-width: 1px; | ||
border-right-width: 1px; | ||
} | ||
.app-page .app-content .app-section ul.app-list > li:first-child { | ||
border-top-width: 1px; | ||
-webkit-border-radius: 6px 6px 0 0; | ||
-moz-border-radius: 6px 6px 0 0; | ||
border-radius: 6px 6px 0 0; | ||
} | ||
.app-page .app-content .app-section ul.app-list > li:last-child { | ||
-webkit-border-radius: 0 0 6px 6px; | ||
-moz-border-radius: 0 0 6px 6px; | ||
border-radius: 0 0 6px 6px; | ||
} | ||
.app-page .app-content .app-section ul.app-list > li:first-child:last-child { | ||
-webkit-border-radius: 6px; | ||
-moz-border-radius: 6px; | ||
border-radius: 6px; | ||
} | ||
.app-page .app-content ul.app-list > li.active { | ||
background: #F3F3F3; | ||
} | ||
.app-page .app-content ul.app-list > label { | ||
display: block; | ||
padding-left: 12px; | ||
height: 24px; | ||
background: #2C2C2C; | ||
color: #F3F3F3; | ||
font-size: 14px; | ||
font-weight: bold; | ||
line-height: 24px; | ||
text-shadow: 0 1px 0 #000; | ||
} | ||
.app-page .app-content .app-section ul.app-list > label:first-child { | ||
-webkit-border-radius: 6px 6px 0 0; | ||
-moz-border-radius: 6px 6px 0 0; | ||
border-radius: 6px 6px 0 0; | ||
} | ||
.app-page .app-content .app-section ul.app-list > label:last-child { | ||
-webkit-border-radius: 0 0 6px 6px; | ||
-moz-border-radius: 0 0 6px 6px; | ||
border-radius: 0 0 6px 6px; | ||
} | ||
.app-page .app-content .app-section ul.app-list > label:first-child:last-child { | ||
-webkit-border-radius: 6px; | ||
-moz-border-radius: 6px; | ||
border-radius: 6px; | ||
} | ||
|
||
.app-page .app-content .app-button { | ||
margin: 0 auto; | ||
padding: 10px 12px; | ||
height: 20px; | ||
background: #FFF; | ||
border: 0 solid #DDD; | ||
border-bottom-width: 1px; | ||
color: #222; | ||
font-size: 20px; | ||
font-weight: bold; | ||
line-height: 20px; | ||
overflow: hidden; | ||
text-align: center; | ||
text-overflow: ellipsis; | ||
white-space: nowrap; | ||
} | ||
.app-page .app-content .app-section .app-button { | ||
border-left-width: 1px; | ||
border-right-width: 1px; | ||
} | ||
.app-page .app-content .app-section .app-button:first-child { | ||
border-top-width: 1px; | ||
-webkit-border-radius: 6px 6px 0 0; | ||
-moz-border-radius: 6px 6px 0 0; | ||
border-radius: 6px 6px 0 0; | ||
} | ||
.app-page .app-content .app-section .app-button:last-child { | ||
-webkit-border-radius: 0 0 6px 6px; | ||
-moz-border-radius: 0 0 6px 6px; | ||
border-radius: 0 0 6px 6px; | ||
} | ||
.app-page .app-content .app-section .app-button:first-child:last-child { | ||
-webkit-border-radius: 6px; | ||
-moz-border-radius: 6px; | ||
border-radius: 6px; | ||
} | ||
.app-page .app-content .app-button.active { | ||
background: #F3F3F3; | ||
} | ||
|
||
.app-page .app-content .app-input { | ||
display: block; | ||
padding: 10px 12px; | ||
width: 100%; | ||
background: #FFF; | ||
border: 0 solid #DDD; | ||
border-bottom-width: 1px; | ||
outline: none; | ||
-webkit-border-radius: 0; | ||
-moz-border-radius: 0; | ||
border-radius: 0; | ||
-webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
box-sizing: border-box; | ||
color: #222; | ||
font-size: 18px; | ||
line-height: 20px; | ||
-webkit-appearance: none; | ||
} | ||
.app-page .app-content .app-section .app-input { | ||
border-left-width: 1px; | ||
border-right-width: 1px; | ||
} | ||
.app-page .app-content .app-section .app-input:first-child { | ||
border-top-width: 1px; | ||
-webkit-border-radius: 6px 6px 0 0; | ||
-moz-border-radius: 6px 6px 0 0; | ||
border-radius: 6px 6px 0 0; | ||
} | ||
.app-page .app-content .app-section .app-input:last-child { | ||
-webkit-border-radius: 0 0 6px 6px; | ||
-moz-border-radius: 0 0 6px 6px; | ||
border-radius: 0 0 6px 6px; | ||
} | ||
.app-page .app-content .app-section .app-input:first-child:last-child { | ||
-webkit-border-radius: 6px; | ||
-moz-border-radius: 6px; | ||
border-radius: 6px; | ||
} | ||
.app-page .app-content input.app-input { | ||
height: 40px; | ||
} | ||
.app-page .app-content textarea.app-input { | ||
height: 80px; | ||
resize: none; | ||
} |
Oops, something went wrong.