/* Responsive */ @media screen { * { font-size: 8pt; } } @media screen and (min-device-width: 1150px) { * { font-size: 10pt; } } @media screen and (min-device-width: 1850px) { * { font-size: 11pt; } } /* Global */ @font-face { font-family: 'Open Sans'; src: url(opensans.ttf) format('truetype'); } body { margin: 0px; } body, label, button, input, textarea { font-size: 1em; font-family: 'Open Sans', 'Verdana', 'Sans'; } iframe { border: 0; } fieldset, div { margin: 0; } form { padding: 0; margin: 0; } table { width: 100%; } a:link, a:visited, a:active { color: #000; text-decoration: none; } a:hover { text-decoration: none; } a img { padding: 1px; border: 1px solid #EEE; border-color: transparent; } a img:hover { border-color: #999; } h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0.2em; } h1 { font-size: 1.5em; } h2 { font-size: 1.3em; } p { margin: 0; margin-top: 16px; margin-bottom: 16px; } /* Inputs */ input, textarea, select { border: 1px solid #CCD; margin: 0.2em; padding: 0.3em; border-radius: 0.1em; box-shadow: 0 0.1em 0.1em #CCC; } select { background-color: white; cursor: pointer; padding: 0.4em; padding-top: 0.2em; font-size: 1.1em; } input[type=text], input[type=password] { height: 1.6em; } textarea { height: 3.5em; width: 20em; } input[type=text]:focus, input[type=password]:focus, textarea:focus { background-color: #EEF; border-color: #BBC; } input[type=checkbox], input[type=radio] { cursor: pointer; width: 0.8em; height: 0.8em; } /* Buttons */ button, input[type=submit], input[type=button] { border: none; background-color: transparent; color: white; padding: 0.5em; cursor: pointer; } button:hover, input[type=submit]:hover, input[type=button]:hover { background-color: #EEE; } /* Flat button */ button.flat, input.button { border: none; border-radius: 0.1em; box-shadow: 0 0.2em 0.2em #DDD; background-color: #AD4; color: black; } button.flat:hover, input.button:hover { background-color: #9C3; cursor: pointer; } /* Thin button */ button.thin { background-color: transparent; border: none; color: #008D77; } button.thin:hover { background-color: rgba(1,1,1,0.1); } /* Image */ img.editable { cursor: pointer; } /* Button */ .htk-button img { height: 1.5em; } /* Date chooser */ .htk-date-chooser button { border: 1px solid #CCD; margin: 0.2em; padding: 0.3em; border-radius: 0.1em; box-shadow: 0 0.1em 0.1em #CCC; background-color: white; color: black; text-align: left; min-width: 9em; min-height: 2.3em; } /* Float */ div.clear { clear: both; } /* Box */ div.box { background-color: white; margin: 0 auto; border-radius: 0.1em; box-shadow: 0 0.2em 0.2em #CCC; } div.box .header { padding: 0.6em 0.8em; margin: 0; color: white; background-color: #009688; } div.box .header h1 { text-align: left; font-size: 1.6em; line-height: 2em; font-weight: normal; display: inline; } div.box .body { padding: 2em; } /* Form */ div.form { margin: 0 auto; } div.form-group { padding: 0.4em; } div.form-group > label { display: block; margin-bottom: 0.5em; } div.form-group > input[type=text], div.form-group > input[type=password], div.form-group > select, div.form-group > textarea { margin: 0; width: 100%; } /* Action bar */ div.action-bar { float: right; padding: 0; margin-top: 0.3em; background-color: #009688; } div.action-bar > * { float: left; padding: 0.4em; } div.action-bar > button { border-left: 1px solid white; background-color: #009688; } div.action-bar > button:first-child { border-left: none; } div.action-bar > button:hover { background-color: #076; } div.action-bar > button > img { vertical-align: middle; margin-right: 0.4em; height: 1.4em; } /* Form */ table.form { padding: 1em; border-collapse: separate; border-spacing: 0.3em; } table.form td.label { width: 45%; text-align: right; } table.form tr { height: 2.8em; } /* Icon */ img.icon { height: 1.5em; } /* Grid */ table.htk-grid { margin: auto; border-collapse: collapse; text-align: center; } table.htk-grid thead tr, table.htk-grid tfoot tr { background-color: #009688; color: white; vertical-align: middle; text-align: center; height: 3em; } table.htk-grid thead th { cursor: pointer; font-weight: normal; padding: 0 0.4em; } table.htk-grid thead th:hover { background-color: #076; } table.htk-grid tr { height: 3.5em; } table.htk-grid tfoot a, table.htk-grid thead a { color: black; } table.htk-grid tr.pair-row { background-color: transparent; } td.grid-message { height: 5em; } td.grid-message img { vertical-align: middle; padding: 0.8em; height: 1.8em; } table.htk-grid tbody tr { border-top: 1px solid #DDD; } table.htk-grid tbody tr:first-child { border-top: none; } table.htk-grid tbody td { padding-right: 0.7em; padding-left: 0.3em; } table.htk-grid tbody td:first-child, table.htk-grid thead th:first-child { padding-left: 1em; } table.htk-grid tbody td:last-child, table.htk-grid thead th:last-child { padding-right: 1em; } input.cell-spin { width: 2.5em; text-align: right; } button.cell-button { margin: 0; padding: 0; border: none; background-color: transparent; } button.cell-button img { height: 1.5em; } /* Repater */ .htk-repeater > .message { margin: 0 auto; width: 10em; padding: 1em; } .htk-repeater > .message > img { vertical-align: middle; padding: 0.8em; height: 1.8em; } /* Calendar */ .htk-calendar { width: 20em; background-color: white; border: none; } .htk-calendar table { border-collapse: collapse; } .htk-calendar thead tr, .htk-calendar tfoot tr { background-color: #009688; color: white; font-weight: normal; vertical-align: middle; text-align: center; height: 3em; } .htk-calendar thead tr { border-bottom: none; } .htk-calendar tfoot tr { border-top: none; } .htk-calendar th.button:hover { cursor: pointer; background-color: #076; } .htk-calendar col { width: 14.2%; } .htk-calendar tr { height: 2em; } .htk-calendar tbody td { text-align: right; padding-right: 0.5em; } .htk-calendar td.highlight, .htk-calendar td:hover { cursor: pointer; background-color: #DDE; } /* Full image */ .htk-full-image { z-index: 100; position: fixed; background-color: #FFF; text-align: center; border: 1px solid #999; border-radius: 2px; } .htk-full-image-loader { z-index: 110; position: fixed; background-color: #FFF; border: 1px solid #999; border-radius: 0.1em; } .htk-full-image-loader img { padding: 1em; } /* Toast */ .htk-toast { z-index: 210; display: block; position: fixed; background-color: white; border-radius: 0.1em; box-shadow: 0 0 0.4em #666; padding: 0.5em; left: 50%; top: 4em; width: 20em; margin-left: -10.5em; text-align: center; } .htk-toast.message { background-color: #BFB; } .htk-toast.warning { background-color: #FFB; } .htk-toast.error { background-color: #FBB; } /* Popup */ .htk-popup { z-index: 200; display: block; position: fixed; background-color: white; border-radius: 0.1em; box-shadow: 0 0 0.4em #666; } /* Image editor */ .htk-image-editor { width: 20em; margin: 0 auto; } .htk-image-editor h2 { color: white; background-color: #009688; text-align: left; font-size: 1.3em; line-height: 1.7em; font-weight: normal; padding: 0.6em 0.8em; margin: 0; } .htk-image-editor iframe { display: none; } .htk-image-editor form { padding: 1.5em; } .htk-image-editor .form-group { margin-bottom: 0.5em; } .htk-image-editor .form-group label { display: block; margin-bottom: 0.3em; } .htk-image-editor .form-group input { width: 95%; height: 1.8em; } .htk-image-editor .footer { margin-top: 1em; text-align: center; } .htk-image-editor .footer img { visibility: hidden; vertical-align: middle; padding-right: 1em; } .htk-image-editor .footer input { display: inline; margin-left: 0.5em; margin-right: 0.5em; }