mirror of
https://github.com/webodf/WebODF.git
synced 2026-12-01 16:56:05 +01:00
This app works on firefox os and android. It will replace the android app in programs/android. The user interface has been rewritten and much simpler than the previous one.
78 lines
1.6 KiB
CSS
78 lines
1.6 KiB
CSS
body {
|
|
/* avoid ugly drawing on taps on touchscreens */
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
-webkit-tap-highlight-color: transparent; /* For some Androids */
|
|
}
|
|
div.button {
|
|
width: 100%;
|
|
min-height: 1cm;
|
|
border: 1px solid #aaaaaa;
|
|
color: black;
|
|
padding: 0.2em;
|
|
display: block;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
font-size: 20pt;
|
|
font-family: sans-serif;
|
|
background: #cccccc;
|
|
word-break: break-all;
|
|
|
|
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
|
|
-moz-box-sizing: border-box; /* Firefox, other Gecko */
|
|
box-sizing: border-box; /* Opera/IE 8+ */
|
|
}
|
|
div.buttondown {
|
|
background: #dddddd;
|
|
}
|
|
/** class for a mobile screen. examples are the file browser and the odf viewer */
|
|
div.screen {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: gray;
|
|
overflow: scroll;
|
|
}
|
|
div.buttonbar {
|
|
position: fixed;
|
|
bottom: 0;
|
|
width: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
background: rgba(0,0,0,0.5);
|
|
display: table;
|
|
}
|
|
div.iconbutton {
|
|
cursor: pointer;
|
|
display: table-cell;
|
|
text-align: center;
|
|
height: 100%;
|
|
}
|
|
html, body {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
div.notificationLine {
|
|
width: 100%;
|
|
color: black;
|
|
font-size: 20pt;
|
|
text-align: center;
|
|
background: rgba(255,255,0,0.8);
|
|
position: fixed;
|
|
bottom: 0;
|
|
z-index: 10;
|
|
}
|
|
div.okDialog {
|
|
background: rgba(0,0,0,0.5);
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
padding: 10%;
|
|
color: white;
|
|
font-size: 20pt;
|
|
text-align: center;
|
|
}
|