UNPKG

node-webodf

Version:

WebODF - JavaScript Document Engine http://webodf.org/

78 lines (76 loc) 1.71 kB
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; }