hedera-web/web/global/style.css

823 lines
10 KiB
CSS
Raw Normal View History

2015-01-31 01:05:12 +00:00
/* Responsive */
@media screen
2015-03-06 23:33:54 +00:00
{
* { font-size: 8pt; }
}
@media screen and (min-device-width: 1150px)
2015-01-31 01:05:12 +00:00
{
* { font-size: 10pt; }
}
@media screen and (min-device-width: 1850px)
2015-01-31 01:05:12 +00:00
{
2015-07-03 05:49:45 +00:00
* { font-size: 12pt; }
2015-01-31 01:05:12 +00:00
}
/* Global */
2015-03-15 12:44:57 +00:00
@font-face
{
font-family: 'Open Sans';
src: url(opensans.ttf) format('truetype');
}
body
{
2015-07-03 05:49:45 +00:00
margin: 0;
}
body,
label,
button,
input,
textarea
{
2015-01-31 01:05:12 +00:00
font-size: 1em;
font-family: 'Open Sans', 'Verdana', 'Sans';
}
iframe
{
2015-02-08 15:38:38 +00:00
border: 0;
}
fieldset,
div
{
2015-01-31 01:05:12 +00:00
margin: 0;
}
form
{
2015-01-31 01:05:12 +00:00
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
{
2015-01-31 01:05:12 +00:00
margin: 0;
padding: 0.2em;
}
h1
{
2015-01-31 01:05:12 +00:00
font-size: 1.5em;
}
h2
{
2015-01-31 01:05:12 +00:00
font-size: 1.3em;
}
p
{
2015-07-03 05:49:45 +00:00
margin: 0.8em 0;
}
/* Inputs */
2015-07-03 05:49:45 +00:00
input[type=text],
input[type=password],
input[type=file],
input[type=number],
textarea,
2015-02-08 15:38:38 +00:00
select
{
border: 1px solid #CCD;
2015-02-01 03:21:54 +00:00
margin: 0.2em;
border-radius: 0.1em;
2015-02-08 15:38:38 +00:00
box-shadow: 0 0.1em 0.1em #CCC;
}
2015-07-03 05:49:45 +00:00
input[type=text],
input[type=password],
input[type=file],
input[type=number],
textarea
{
padding: 0.3em;
}
2015-02-08 15:38:38 +00:00
select
{
background-color: white;
font-size: 1.1em;
2015-07-03 05:49:45 +00:00
height: 1.8em;
}
option
{
padding: 0.3em;
border-width: 0;
font-weight: normal;
font-size: 1em;
}
select,
option
{
cursor: pointer;
}
2015-02-17 11:48:53 +00:00
input[type=text],
input[type=password]
{
height: 1.6em;
}
textarea
{
2015-01-31 01:05:12 +00:00
height: 3.5em;
width: 20em;
}
input[type=text]:focus,
input[type=password]:focus,
textarea:focus
{
background-color: #EEF;
border-color: #BBC;
}
2015-02-01 03:21:54 +00:00
input[type=checkbox],
input[type=radio]
2015-01-31 01:05:12 +00:00
{
cursor: pointer;
2015-07-03 05:49:45 +00:00
margin: 0.2em;
padding: 0.3em;
2015-01-31 01:05:12 +00:00
width: 0.8em;
height: 0.8em;
}
2015-02-17 11:48:53 +00:00
/* Buttons */
button,
input[type=submit],
input[type=button]
2015-02-08 15:38:38 +00:00
{
border: none;
background-color: transparent;
2015-02-08 15:38:38 +00:00
color: white;
padding: 0.5em;
cursor: pointer;
2015-07-07 15:27:47 +00:00
border-radius: 0.1em;
2015-02-08 15:38:38 +00:00
}
2015-02-17 11:48:53 +00:00
button:hover,
input[type=submit]:hover,
input[type=button]:hover
{
2015-07-23 15:58:48 +00:00
background-color: rgba(1, 1, 1, 0.1);
2015-02-17 11:48:53 +00:00
}
/* Flat button */
button.flat,
input.button
2015-01-31 01:05:12 +00:00
{
border: none;
border-radius: 0.1em;
box-shadow: 0 0.2em 0.2em #DDD;
2015-02-08 15:38:38 +00:00
background-color: #AD4;
color: black;
2015-01-31 01:05:12 +00:00
}
button.flat:hover,
input.button:hover
2015-01-31 01:05:12 +00:00
{
background-color: #9C3;
cursor: pointer;
}
2015-08-17 18:02:14 +00:00
button.flat:disabled,
input.button:disabled
{
color: gray;
}
2015-01-31 01:05:12 +00:00
/* Thin button */
button.thin
{
background-color: transparent;
border: none;
color: #008D77;
2015-07-07 15:27:47 +00:00
text-transform: uppercase;
}
button.thin:hover
{
background-color: rgba(1,1,1,0.1);
}
2015-08-17 18:02:14 +00:00
button.thin:disabled
{
color: gray;
}
2015-03-06 23:33:54 +00:00
/* Image */
img.editable
{
cursor: pointer;
}
/* Button */
.htk-button img
{
height: 1.5em;
}
2015-02-08 15:38:38 +00:00
/* Float */
2015-01-31 01:05:12 +00:00
2015-07-03 05:49:45 +00:00
.clear
2015-01-31 01:05:12 +00:00
{
2015-02-08 15:38:38 +00:00
clear: both;
2015-01-31 01:05:12 +00:00
}
/* Box */
2015-07-03 05:49:45 +00:00
.box
2015-01-31 01:05:12 +00:00
{
background-color: white;
margin: 0 auto;
border-radius: 0.1em;
box-shadow: 0 0.2em 0.2em #CCC;
}
2015-07-03 05:49:45 +00:00
.box .header
2015-01-31 01:05:12 +00:00
{
2015-02-08 15:38:38 +00:00
padding: 0.6em 0.8em;
margin: 0;
background-color: #009688;
2015-07-03 05:49:45 +00:00
color: white;
2015-01-31 01:05:12 +00:00
}
2015-07-03 05:49:45 +00:00
.box .header > h1
2015-01-31 01:05:12 +00:00
{
2015-07-03 05:49:45 +00:00
color: white;
2015-02-08 15:38:38 +00:00
text-align: left;
2015-02-17 11:48:53 +00:00
font-size: 1.6em;
line-height: 2em;
2015-02-08 15:38:38 +00:00
font-weight: normal;
display: inline;
2015-01-31 01:05:12 +00:00
}
2015-07-03 05:49:45 +00:00
.box .body
2015-01-31 01:05:12 +00:00
{
2015-02-08 15:38:38 +00:00
padding: 2em;
2015-02-01 03:21:54 +00:00
}
/* Form */
2015-07-03 05:49:45 +00:00
.form
{
margin: 0 auto;
}
2015-07-03 05:49:45 +00:00
.form-group
{
padding: 0.4em;
}
2015-07-03 05:49:45 +00:00
.form-group > label
{
display: block;
margin-bottom: 0.5em;
}
2015-07-03 05:49:45 +00:00
.form-group > input[type=text],
.form-group > input[type=password],
.form-group > select,
.form-group > textarea
{
margin: 0;
width: 100%;
}
2015-02-01 03:21:54 +00:00
/* Action bar */
2015-07-03 05:49:45 +00:00
.action-bar
2015-02-01 03:21:54 +00:00
{
float: right;
padding: 0;
margin-top: 0.3em;
2015-02-01 03:21:54 +00:00
}
2015-07-03 05:49:45 +00:00
.action-bar > *
2015-02-01 03:21:54 +00:00
{
float: left;
padding: 0.4em;
}
2015-07-03 05:49:45 +00:00
.action-bar > button
{
2015-02-08 15:38:38 +00:00
border-left: 1px solid white;
}
2015-07-03 05:49:45 +00:00
.action-bar > button:first-child
2015-02-08 15:38:38 +00:00
{
border-left: none;
2015-02-01 03:21:54 +00:00
}
2015-07-03 05:49:45 +00:00
.action-bar > button:hover
{
2015-07-03 05:49:45 +00:00
background-color: rgba(1, 1, 1, 0.2);
}
2015-07-03 05:49:45 +00:00
.action-bar > button > img
2015-02-01 03:21:54 +00:00
{
vertical-align: middle;
margin-right: 0.4em;
height: 1.4em;
2015-01-31 01:05:12 +00:00
}
2015-02-08 15:38:38 +00:00
/* 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;
}
/* Masonry */
.masonry
{
margin: 0 auto;
text-align: left;
}
.masonry-box
{
width: 100%;
display: inline-block;
vertical-align: top;
}
@media screen and (min-width: 1000px) and (max-width: 1399px)
{
.masonry-box
{
width: 50%;
display: block;
float: left;
2015-08-17 18:02:14 +00:00
clear: left;
}
.masonry-box:nth-child(2n+0)
{
float: right;
2015-08-17 18:02:14 +00:00
clear: right;
}
}
@media screen and (min-width: 1400px)
{
.masonry-box { width: 33.3%; }
}
@media screen and (min-width: 2000px)
{
.masonry-box { width: 25%; }
}
/* Grid */
2015-07-03 05:49:45 +00:00
.htk-grid
{
margin: auto;
border-collapse: collapse;
text-align: center;
}
2015-07-03 05:49:45 +00:00
.htk-grid > thead > tr,
.htk-grid > tfoot > tr
{
2015-03-15 12:44:57 +00:00
background-color: #009688;
vertical-align: middle;
text-align: center;
2015-02-08 15:38:38 +00:00
height: 3em;
}
2015-07-03 05:49:45 +00:00
.htk-grid > thead th
{
2015-07-03 05:49:45 +00:00
color: white;
cursor: pointer;
2015-02-08 15:38:38 +00:00
font-weight: normal;
2015-02-01 03:21:54 +00:00
padding: 0 0.4em;
}
2015-07-03 05:49:45 +00:00
.htk-grid > thead th:hover
{
2015-07-03 05:49:45 +00:00
background-color: rgba(1, 1, 1, 0.2);
}
2015-07-03 05:49:45 +00:00
.htk-grid tr
{
2015-01-31 01:05:12 +00:00
height: 3.5em;
}
2015-07-03 05:49:45 +00:00
.htk-grid > tfoot a,
.htk-grid > thead a
{
color: black;
}
2015-07-03 05:49:45 +00:00
.htk-grid tr.pair-row
{
background-color: transparent;
}
2015-07-03 05:49:45 +00:00
.htk-grid .message
{
2015-02-01 03:21:54 +00:00
height: 5em;
}
2015-07-03 05:49:45 +00:00
.htk-grid .message img
{
vertical-align: middle;
2015-02-01 03:21:54 +00:00
padding: 0.8em;
height: 1.8em;
}
2015-07-03 05:49:45 +00:00
.htk-grid > tbody tr
2015-02-08 15:38:38 +00:00
{
border-top: 1px solid #DDD;
}
2015-07-03 05:49:45 +00:00
.htk-grid > tbody tr:first-child
2015-02-08 15:38:38 +00:00
{
border-top: none;
}
2015-07-03 05:49:45 +00:00
.htk-grid > tbody td
{
margin: 0;
padding: 0 0.5em;
}
2015-07-03 05:49:45 +00:00
.htk-grid > tbody td:first-child,
.htk-grid > thead th:first-child
2015-02-08 15:38:38 +00:00
{
padding-left: 1em;
}
2015-07-03 05:49:45 +00:00
.htk-grid > tbody td:last-child,
.htk-grid > thead th:last-child
2015-02-08 15:38:38 +00:00
{
padding-right: 1em;
}
2015-07-07 15:27:47 +00:00
.cell-spin
{
2015-01-31 01:05:12 +00:00
width: 2.5em;
text-align: right;
}
2015-07-07 15:27:47 +00:00
.cell-button
{
2015-02-01 03:21:54 +00:00
margin: 0;
2015-07-03 05:49:45 +00:00
padding: 0.5em;
border: none;
background-color: transparent;
2015-07-03 05:49:45 +00:00
border-radius: 0.1em;
}
2015-07-07 15:27:47 +00:00
.cell-button:hover
2015-07-03 05:49:45 +00:00
{
background-color: rgba(1, 1, 1, 0.1);
}
2015-07-07 15:27:47 +00:00
.cell-button img
2015-01-31 01:05:12 +00:00
{
height: 1.5em;
display: block;
margin: auto;
2015-01-31 01:05:12 +00:00
}
2015-07-07 15:27:47 +00:00
.cell-image > img
{
2015-07-17 14:34:42 +00:00
max-width: 2.5em;
max-height: 2.5em;
display: block;
margin: auto;
2015-07-07 15:27:47 +00:00
}
2015-03-15 12:44:57 +00:00
/* Repater */
.htk-repeater > .message
{
2015-07-23 15:58:48 +00:00
padding: 1em 0;
text-align: center;
2015-03-15 12:44:57 +00:00
}
2015-07-23 15:58:48 +00:00
.htk-repeater > .message > *
2015-03-15 12:44:57 +00:00
{
vertical-align: middle;
2015-07-30 17:31:09 +00:00
}
.htk-repeater > .message > img
{
2015-03-15 12:44:57 +00:00
padding: 0.8em;
2015-07-30 17:31:09 +00:00
padding-left: 0;
2015-03-15 12:44:57 +00:00
height: 1.8em;
}
/* Calendar */
2015-03-06 23:33:54 +00:00
.htk-calendar
{
2015-01-31 01:05:12 +00:00
width: 20em;
background-color: white;
2015-03-06 23:33:54 +00:00
border: none;
}
2015-03-06 23:33:54 +00:00
.htk-calendar table
{
border-collapse: collapse;
}
2015-03-06 23:33:54 +00:00
.htk-calendar thead tr,
.htk-calendar tfoot tr
{
2015-03-06 23:33:54 +00:00
background-color: #009688;
2015-02-08 15:38:38 +00:00
color: white;
font-weight: normal;
vertical-align: middle;
text-align: center;
2015-01-31 01:05:12 +00:00
height: 3em;
}
2015-07-15 13:39:07 +00:00
.htk-calendar thead span
{
color: white;
}
2015-03-06 23:33:54 +00:00
.htk-calendar thead tr
{
2015-03-06 23:33:54 +00:00
border-bottom: none;
}
2015-03-06 23:33:54 +00:00
.htk-calendar tfoot tr
{
2015-03-06 23:33:54 +00:00
border-top: none;
}
2015-03-06 23:33:54 +00:00
.htk-calendar th.button:hover
2015-02-17 11:48:53 +00:00
{
cursor: pointer;
2015-07-15 13:39:07 +00:00
background-color: rgba(1, 1, 1, 0.2);
2015-02-17 11:48:53 +00:00
}
2015-03-06 23:33:54 +00:00
.htk-calendar col
{
width: 14.2%;
}
2015-03-06 23:33:54 +00:00
.htk-calendar tr
{
2015-01-31 01:05:12 +00:00
height: 2em;
}
2015-03-06 23:33:54 +00:00
.htk-calendar tbody td
{
text-align: right;
}
2015-07-15 13:39:07 +00:00
.htk-calendar tbody td > div
{
height: 2em;
width: 2em;
line-height: 2em;
text-align: center;
border-radius: 2em;
padding: 0.3em;
margin: 0 auto;
color: #555;
}
.htk-calendar div.disabled
{
color: #999;
}
.htk-calendar div.today
{
font-weight: bold;
color: black;
}
.htk-calendar div.selected
{
color: white;
background-color: #009688;
}
.htk-calendar div.enabled:hover
{
cursor: pointer;
2015-07-21 14:16:07 +00:00
background-color: #008678;
color: white;
2015-07-15 13:39:07 +00:00
}
/* Date chooser */
.htk-date-chooser > button
{
margin: 0.2em;
padding: 0.3em;
background-color: white;
color: black;
text-align: left;
min-width: 9em;
min-height: 2.3em;
border: 1px solid #CCD;
border-radius: 0.1em;
box-shadow: 0 0.1em 0.1em #CCC;
}
/* Full image */
2015-03-06 23:33:54 +00:00
.htk-full-image
{
2015-03-06 23:33:54 +00:00
z-index: 100;
position: fixed;
background-color: #FFF;
text-align: center;
border: 1px solid #999;
border-radius: 2px;
}
2015-03-06 23:33:54 +00:00
.htk-full-image-loader
{
2015-03-06 23:33:54 +00:00
z-index: 110;
position: fixed;
background-color: #FFF;
border: 1px solid #999;
2015-02-01 03:21:54 +00:00
border-radius: 0.1em;
}
2015-03-06 23:33:54 +00:00
.htk-full-image-loader img
{
2015-01-31 01:05:12 +00:00
padding: 1em;
}
2015-03-06 23:33:54 +00:00
/* Toast */
2015-03-06 23:33:54 +00:00
.htk-toast
{
2015-03-15 12:44:57 +00:00
z-index: 210;
2015-03-06 23:33:54 +00:00
display: block;
position: fixed;
left: 50%;
top: 4em;
2015-08-17 18:02:14 +00:00
width: 21em;
margin-left: -11em;
2015-03-06 23:33:54 +00:00
text-align: center;
2015-08-17 18:02:14 +00:00
overflow: auto;
max-height: 40em;
}
2015-08-17 18:02:14 +00:00
.htk-toast > div
{
padding: .5em 2%;
margin: .5em 2%;
border-radius: 0.1em;
box-shadow: 0 0 0.4em #666;
width: 92%;
}
.htk-toast > .message
2015-03-06 23:33:54 +00:00
{
background-color: #BFB;
}
2015-08-17 18:02:14 +00:00
.htk-toast > .warning
2015-03-06 23:33:54 +00:00
{
background-color: #FFB;
}
2015-08-17 18:02:14 +00:00
.htk-toast > .error
2015-03-06 23:33:54 +00:00
{
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;
}
2015-07-07 15:27:47 +00:00
.htk-background
{
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 190;
background-color: rgba(1, 1, 1, 0.7);
}
2015-03-06 23:33:54 +00:00
/* Image editor */
2015-02-17 11:48:53 +00:00
.htk-image-editor
{
2015-02-17 11:48:53 +00:00
width: 20em;
margin: 0 auto;
}
2015-02-17 11:48:53 +00:00
.htk-image-editor h2
{
2015-02-17 11:48:53 +00:00
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;
}
2015-02-17 11:48:53 +00:00
.htk-image-editor iframe
{
display: none;
}
2015-02-17 11:48:53 +00:00
.htk-image-editor form
{
2015-02-17 11:48:53 +00:00
padding: 1.5em;
}
2015-02-17 11:48:53 +00:00
.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;
2015-01-31 01:05:12 +00:00
padding-right: 1em;
}
2015-02-17 11:48:53 +00:00
.htk-image-editor .footer input
{
display: inline;
margin-left: 0.5em;
margin-right: 0.5em;
}
2015-07-03 05:49:45 +00:00
/* Assistant */
.htk-assistant > div
{
display: none;
margin-top: 1em;
margin-bottom: 4em;
}
.htk-assistant > div > h2
{
text-align: center;
font-style: italic;
font-weight: normal;
font-size: 1.5em;
margin: 0.5em;
margin-bottom: 1em;
}
.htk-assistant *
{
color: #555;
}
/* Assistant bar */
.htk-assistant-bar
{
margin: 0.5em auto;
max-width: 30em;
position: relative;
}
.htk-assistant-bar img
{
cursor: pointer;
}
.htk-assistant-bar > img
{
position: absolute;
width: 1.8em;
top: 0;
padding: 0.3em;
border-radius: 0.1em;
}
.htk-assistant-bar > img:hover
{
background-color: rgba(1,1,1,0.1);
}
.htk-assistant-bar > img.previous
{
left: 0;
}
.htk-assistant-bar > img.next
{
right: 0;
}
.htk-assistant-bar > div
{
margin: 0 auto;
padding-top: 0.2em;
}
.htk-assistant-bar > div > img
{
padding: 0.3em 0.2em;
width: 1.3em;
}
2015-07-15 13:39:07 +00:00
.htk-assistant-bar > div > img:hover
{
opacity: .7;
}
2015-07-03 05:49:45 +00:00