Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
|
|
@ -0,0 +1,34 @@
|
|||
.center {
|
||||
display: block;
|
||||
margin: 0px auto;
|
||||
text-align: center
|
||||
}
|
||||
.inline-block {
|
||||
display: inline-block;
|
||||
}
|
||||
.block {
|
||||
display: block;
|
||||
}
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
p.success {
|
||||
color: green;
|
||||
}
|
||||
p.error {
|
||||
color: red;
|
||||
}
|
||||
input {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
button, input[type='button'] {
|
||||
font-size: 2rem;
|
||||
}
|
||||
/* for mozId, smaller buttons */
|
||||
li > button, .small {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
/* secure element buttons */
|
||||
.tiny > button {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 4 KiB |
|
After Width: | Height: | Size: 6.1 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
|
@ -0,0 +1,78 @@
|
|||
/* ----------------------------------
|
||||
* Tabs
|
||||
* ---------------------------------- */
|
||||
|
||||
@media (orientation: landscape)
|
||||
{
|
||||
.bb-tablist {
|
||||
right: 0;
|
||||
width: 3rem;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.bb-tablist > li {
|
||||
width: 100%;
|
||||
height: calc(100% / 3);
|
||||
}
|
||||
}
|
||||
|
||||
@media (orientation: portrait)
|
||||
{
|
||||
.bb-tablist {
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 3rem;
|
||||
}
|
||||
|
||||
.bb-tablist > li {
|
||||
width: calc(100% / 3);
|
||||
height: 100%;
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
.bb-tablist {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.bb-tablist > li {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.bb-tablist > li > a {
|
||||
font-size: 1.3rem;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
color: #FFF;
|
||||
float: left;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #000 no-repeat center top;
|
||||
position: relative;
|
||||
color: #fff;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.bb-tablist > li > a:active {
|
||||
background-color: #00bbff;
|
||||
}
|
||||
|
||||
/* Selected state */
|
||||
.bb-tablist > li > a:target,
|
||||
.bb-tablist > li > a[aria-selected="true"] {
|
||||
color: #62c6f5
|
||||
}
|
||||
|
||||
.bb-tablist a:target ~.bb-tabpanel,
|
||||
.bb-tablist a[aria-selected="true"] ~.bb-tabpanel {
|
||||
z-index: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
168
assets/webapps/uitest-privileged.gaiamobile.org/style/uitest.css
Normal file
|
|
@ -0,0 +1,168 @@
|
|||
html, body {
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #000;
|
||||
|
||||
/* XXX: The below overflow property is being ignored by B2G Phone
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=777672
|
||||
*/
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.invisible {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.panel {
|
||||
position: absolute;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
-moz-transition: -moz-transform 0.3s ease;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.test-panel {
|
||||
-moz-transform: translateX(100%);
|
||||
}
|
||||
|
||||
.list-panel{
|
||||
-moz-transform: translateX(0);
|
||||
}
|
||||
|
||||
body.test .list-panel{
|
||||
-moz-transform: translateX(-100%);
|
||||
}
|
||||
|
||||
body.test .test-panel {
|
||||
-moz-transform: translateX(0);
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
-moz-box-sizing: border-box;
|
||||
border-top-left-radius: 8px;
|
||||
border-top-right-radius: 8px;
|
||||
position: absolute;
|
||||
|
||||
height: 3rem;
|
||||
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-bottom: solid 3px #9b9b9b;
|
||||
background-color: #fff;
|
||||
background: url("images/app-texture.png") repeat scroll 50% 50%, -moz-linear-gradient(center top , rgb(244, 244, 244), rgb(234, 234, 234)) repeat scroll 0% 0% transparent;
|
||||
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.toolbar-title {
|
||||
font-size: 1.7rem;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
color: rgb(51, 51, 51);
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.list {
|
||||
background: url("images/app-texture.png") repeat scroll 50% 50%, rgb(243, 243, 243);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
position: absolute;
|
||||
top: 3rem;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
overflow-y: auto;
|
||||
-moz-user-select: none;
|
||||
|
||||
border-bottom-left-radius: 8px;
|
||||
border-bottom-right-radius: 8px;
|
||||
}
|
||||
|
||||
.list > li {
|
||||
-moz-box-sizing: border-box;
|
||||
|
||||
padding: 0px 16px;
|
||||
border-top: 1px solid hsla(207,22%,92%,1);
|
||||
border-bottom: 1px solid hsla(223,7%,81%,1);
|
||||
|
||||
font-size: 1.7rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.list > li > a {
|
||||
outline: none;
|
||||
width: 100%; height: 100%;
|
||||
color: rgb(18, 47, 64);
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.list > li:active {
|
||||
background: hsla(35,100%,50%,.2);
|
||||
}
|
||||
|
||||
#test-iframe {
|
||||
border: none;
|
||||
width: 100%;
|
||||
height: calc(100% - 3rem);
|
||||
top: 3rem;
|
||||
background-color: #fff;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#test-panel-back {
|
||||
font-size: 1.5rem;
|
||||
height: 2.5rem;
|
||||
}
|
||||
|
||||
|
||||
@media (orientation: landscape)
|
||||
{
|
||||
.list_and_toolbar {
|
||||
position: absolute;
|
||||
left: 0rem;
|
||||
right: 3rem; /* tabs are at right, keep some space for it */
|
||||
top: 0rem;
|
||||
bottom: 0rem;
|
||||
}
|
||||
|
||||
.list > li {
|
||||
height: calc(100% / 5);
|
||||
}
|
||||
}
|
||||
|
||||
@media (orientation: portrait)
|
||||
{
|
||||
.list_and_toolbar {
|
||||
position: absolute;
|
||||
left: 0rem;
|
||||
right: 0rem;
|
||||
top: 0rem;
|
||||
bottom: 3rem; /* tabs are at bottom, keep some space for it */
|
||||
}
|
||||
|
||||
.list > li {
|
||||
height: calc(100% / 7);
|
||||
}
|
||||
}
|
||||