Refactor the mobile viewer example
This mostly removes B2G-specific code and adds the styles from the B2G components.
This commit is contained in:
parent
a9dd2ab0ab
commit
a20f814265
4 changed files with 72 additions and 79 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2012 Mozilla Foundation
|
||||
/* Copyright 2016 Mozilla Foundation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -25,6 +25,23 @@ html {
|
|||
font-size: 10px;
|
||||
}
|
||||
|
||||
header {
|
||||
background-color: #f4f4f4;
|
||||
}
|
||||
|
||||
header h1 {
|
||||
border-bottom: 1px solid #d8d8d8;
|
||||
color: #858585;
|
||||
font-size: 23px;
|
||||
font-style: italic;
|
||||
font-weight: normal;
|
||||
overflow: hidden;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
body {
|
||||
background: url(images/document_bg.png);
|
||||
color: #fff;
|
||||
|
@ -57,7 +74,6 @@ footer {
|
|||
box-shadow: 0 -0.2rem 0.5rem rgba(50, 50, 50, 0.75);
|
||||
}
|
||||
|
||||
|
||||
.toolbarButton {
|
||||
display: block;
|
||||
padding: 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue