439 lines
5.8 KiB
CSS
Executable File
439 lines
5.8 KiB
CSS
Executable File
|
|
/* Grid */
|
|
|
|
.htk-grid
|
|
{
|
|
margin: auto;
|
|
border-collapse: collapse;
|
|
text-align: center;
|
|
}
|
|
.htk-grid > thead > tr,
|
|
.htk-grid > tfoot > tr
|
|
{
|
|
background-color: #009688;
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
height: 3em;
|
|
}
|
|
.htk-grid > thead th
|
|
{
|
|
color: white;
|
|
cursor: pointer;
|
|
font-weight: normal;
|
|
padding: 0 0.4em;
|
|
}
|
|
.htk-grid > thead th:hover
|
|
{
|
|
background-color: rgba(1, 1, 1, 0.2);
|
|
}
|
|
.htk-grid tr
|
|
{
|
|
height: 3.5em;
|
|
}
|
|
.htk-grid > tfoot a,
|
|
.htk-grid > thead a
|
|
{
|
|
color: black;
|
|
}
|
|
.htk-grid tr.pair-row
|
|
{
|
|
background-color: transparent;
|
|
}
|
|
.htk-grid .message
|
|
{
|
|
height: 5em;
|
|
}
|
|
.htk-grid .message img
|
|
{
|
|
vertical-align: middle;
|
|
padding: 0.8em;
|
|
height: 1.8em;
|
|
}
|
|
.htk-grid > tbody tr
|
|
{
|
|
border-top: 1px solid #DDD;
|
|
}
|
|
.htk-grid > tbody tr:first-child
|
|
{
|
|
border-top: none;
|
|
}
|
|
.htk-grid > tbody td
|
|
{
|
|
margin: 0;
|
|
padding: 0 0.5em;
|
|
}
|
|
.htk-grid > tbody td:first-child,
|
|
.htk-grid > thead th:first-child
|
|
{
|
|
padding-left: 1em;
|
|
}
|
|
.htk-grid > tbody td:last-child,
|
|
.htk-grid > thead th:last-child
|
|
{
|
|
padding-right: 1em;
|
|
}
|
|
.htk-grid .cell-spin
|
|
{
|
|
width: 2.5em;
|
|
text-align: right;
|
|
}
|
|
.htk-grid .cell-button
|
|
{
|
|
margin: 0;
|
|
padding: 0.5em;
|
|
border: none;
|
|
background-color: transparent;
|
|
border-radius: 0.1em;
|
|
}
|
|
.htk-grid .cell-button:hover
|
|
{
|
|
background-color: rgba(1, 1, 1, 0.1);
|
|
}
|
|
.htk-grid .cell-button img
|
|
{
|
|
height: 1.5em;
|
|
display: block;
|
|
margin: auto;
|
|
}
|
|
.htk-grid .cell-image > img
|
|
{
|
|
max-width: 2.5em;
|
|
max-height: 2.5em;
|
|
display: block;
|
|
margin: auto;
|
|
}
|
|
|
|
/* Button */
|
|
|
|
.htk-button > span
|
|
{
|
|
margin-left: .5em;
|
|
}
|
|
|
|
/* Repater */
|
|
|
|
.htk-repeater > .message
|
|
{
|
|
padding: 1em;
|
|
text-align: center;
|
|
}
|
|
.htk-repeater > .message > *
|
|
{
|
|
vertical-align: middle;
|
|
}
|
|
.htk-repeater > .message > img
|
|
{
|
|
padding: 0.8em;
|
|
padding-left: 0;
|
|
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 span
|
|
{
|
|
color: white;
|
|
}
|
|
.htk-calendar thead tr
|
|
{
|
|
border-bottom: none;
|
|
}
|
|
.htk-calendar tfoot tr
|
|
{
|
|
border-top: none;
|
|
}
|
|
.htk-calendar th.button:hover
|
|
{
|
|
cursor: pointer;
|
|
background-color: rgba(1, 1, 1, 0.2);
|
|
}
|
|
.htk-calendar col
|
|
{
|
|
width: 14.2%;
|
|
}
|
|
.htk-calendar tr
|
|
{
|
|
height: 2em;
|
|
}
|
|
.htk-calendar tbody td
|
|
{
|
|
text-align: right;
|
|
}
|
|
.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;
|
|
background-color: #008678;
|
|
color: white;
|
|
}
|
|
|
|
/* 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 */
|
|
|
|
.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;
|
|
left: 50%;
|
|
top: 4em;
|
|
width: 21em;
|
|
margin-left: -11em;
|
|
text-align: center;
|
|
overflow: auto;
|
|
max-height: 40em;
|
|
}
|
|
.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
|
|
{
|
|
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;
|
|
}
|
|
.htk-background
|
|
{
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
z-index: 190;
|
|
background-color: rgba(1, 1, 1, 0.7);
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
.htk-assistant-bar > div > img:hover
|
|
{
|
|
opacity: .7;
|
|
}
|
|
|