0
1
Fork 0
hedera-web-mindshore/js/htk/style.css

659 lines
8.9 KiB
CSS
Raw Normal View History

/* Grid */
.htk-grid
{
margin: auto;
border-collapse: collapse;
}
.htk-grid > thead > tr,
.htk-grid > tfoot > tr
{
background-color: #009688;
vertical-align: middle;
height: 3em;
}
.htk-grid th
{
color: white;
cursor: pointer;
font-weight: normal;
padding: 0 0.4em;
}
.htk-grid 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 > 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 th,
.htk-grid td
{
text-align: left;
}
.htk-grid td:first-child,
.htk-grid th:first-child
{
padding-left: 1em;
}
.htk-grid td:last-child,
.htk-grid th:last-child
{
padding-right: 1em;
}
.htk-grid .message
{
padding: 1.5em;
text-align: center;
}
.htk-grid .message > *
{
display: inline-block;
vertical-align: middle;
padding-right: 0.8em;
}
.htk-grid .message > img
{
height: 1.8em;
}
/* Grid cells */
th.cell-spin
{
text-align: right;
}
td.cell-spin
{
width: 2.5em;
text-align: right;
}
th.cell-check,
th.cell-radio
{
text-align: center;
}
td.cell-button
{
max-width: 1em;
text-align: center;
}
td.cell-button > button,
td.cell-button > a
{
display: inline-block;
margin: 0 auto;
padding: .5em;
border: none;
background-color: transparent;
border-radius: .1em;
box-sizing: border-box;
}
td.cell-button > button:hover,
td.cell-button > a:hover
{
background-color: rgba(1, 1, 1, 0.1);
}
td.cell-button img
{
height: 1.5em;
width: 1.5em;
display: block;
margin: auto;
padding: 0;
}
td.cell-image
{
text-align: center;
}
2016-05-02 13:05:49 +00:00
td.cell-image .htk-image
{
max-width: 2.5em;
max-height: 2.5em;
display: block;
margin: auto;
}
/* Select */
2015-10-14 11:51:43 +00:00
.htk-select
2015-10-14 11:51:43 +00:00
{
width: 100%;
height: 2em;
text-align: left;
}
.htk-select-menu
{
height: 100%;
max-height: 80em;
overflow: auto;
min-width: 14em;
}
.htk-select-menu tbody > tr
{
border-top: none;
height: 2.5em;
}
.htk-select-menu td.message
{
padding: 1em;
}
.htk-select-menu tr:hover
{
background-color: rgba(1, 1, 1, 0.1);
cursor: pointer;
}
.htk-select-menu td
{
max-width: 11em;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
2015-10-14 11:51:43 +00:00
}
2015-09-16 16:11:15 +00:00
/* Button */
.htk-button > span
{
margin-left: .5em;
}
/* Repater */
.htk-repeater > .message
{
2015-11-19 13:57:23 +00:00
padding: 1.5em;
text-align: center;
}
.htk-repeater > .message > *
{
vertical-align: middle;
}
2015-11-19 13:57:23 +00:00
.htk-repeater > .message > img,
.htk-repeater > .message > .htk-spinner
{
2015-11-19 13:57:23 +00:00
display: inline-block;
padding-right: .8em;
height: 1.8em;
}
/* Calendar */
.htk-calendar
{
width: 20em;
background-color: white;
border: none;
2022-05-05 13:54:53 +00:00
border-radius: .5em;
}
.htk-calendar table
{
border-collapse: collapse;
}
.htk-calendar thead tr,
.htk-calendar tfoot tr
{
2022-05-05 13:54:53 +00:00
background-color: #8cc63f;
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;
}
2020-05-03 20:35:24 +00:00
.htk-calendar th.button
{
display: table-cell;
}
.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;
}
2015-12-10 13:48:43 +00:00
/* Image */
2016-05-02 13:05:49 +00:00
.htk-image
{
position: relative;
overflow: hidden;
}
.htk-image.clickable:hover
2015-12-10 13:48:43 +00:00
{
cursor: pointer;
opacity: 0.85;
}
2016-05-02 13:05:49 +00:00
.htk-image > img
{
display: block;
height: 100%;
width: 100%;
}
.htk-image > button
{
position: absolute;
top: 0;
left: 0;
margin: 0;
padding: .15em;
display: none;
}
.htk-image:hover > button
{
display: block;
}
.htk-image > button > img
{
display: block;
height: 1.2em;
height: 1.2em;
}
2015-12-10 13:48:43 +00:00
/* Full image */
2016-05-02 13:05:49 +00:00
.htk-full-image img
{
2016-05-02 13:05:49 +00:00
display: block;
cursor: pointer;
}
2016-05-02 13:05:49 +00:00
.htk-full-image .htk-spinner
{
background-color: #FFF;
2016-05-02 13:05:49 +00:00
margin: .6em;
display: block;
}
/* Image editor */
.htk-image-editor
{
width: 18em;
2016-05-02 13:05:49 +00:00
margin: 0 auto;
padding: 1.5em;
2016-05-02 13:05:49 +00:00
}
.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 .footer
{
margin-top: 2em;
}
.htk-image-editor .footer > .htk-spinner
{
padding-right: 1.2em;
height: 1.3em;
width: 1.3em;
}
.htk-image-editor .footer > .htk-spinner,
.htk-image-editor .footer > input
{
float: right;
}
/* Toast */
.htk-toast
{
z-index: 210;
display: block;
position: fixed;
left: 50%;
top: 4em;
width: 21em;
2016-10-16 14:16:08 +00:00
margin-left: -10.5em;
text-align: center;
overflow: auto;
max-height: 40em;
2016-05-04 14:36:51 +00:00
overflow: visible;
}
.htk-toast > div
{
2016-05-04 14:36:51 +00:00
margin: .5em 0;
padding: .5em 2%;
border-radius: 0.1em;
2016-05-04 14:36:51 +00:00
box-shadow: 0 0 0.4em rgba(1, 1, 1, 0.6);
width: 96%;
2016-10-30 22:48:18 +00:00
opacity: 0;
transform: translateZ(0) translateY(-1em);
-webkit-transform: translateZ(0) translateY(-1em);
transition-property: opacity, transform;
transition-duration: 200ms;
transition-timing-function: ease-out;
}
.htk-toast > div.show
{
opacity: 1;
transform: translateZ(0) translateY(0em);
-webkit-transform: translateZ(0) translateY(0em);
}
.htk-toast > .message
{
2016-05-04 14:36:51 +00:00
background-color: #BBFFBB;
color: #363;
}
.htk-toast > .warning
{
background-color: #FFE0B2;
color: #C30;
}
.htk-toast > .error
{
background-color: #FFCDD2;
color: #A00;
}
/* Popup */
.htk-background
{
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 190;
background-color: rgba(1, 1, 1, 0.7);
opacity: 0;
transition: opacity 200ms ease-in-out;
}
.htk-popup
{
z-index: 200;
display: block;
position: fixed;
overflow: hidden;
background-color: white;
border-radius: 0.15em;
box-shadow: 0 0 0.4em rgba(1, 1, 1, 0.6);
box-sizing: content-box;
}
.htk-popup.modal
2016-05-04 14:36:51 +00:00
{
position: absolute;
2016-05-04 14:36:51 +00:00
font-size: 1.2em;
top: 50%;
left: 50%;
}
.htk-popup > *
{
border-radius: 0.1em;
2016-05-04 14:36:51 +00:00
}
/* Dialog */
.htk-dialog
{
padding: 1.5em;
max-width: 20em;
font-weight: normal;
color: #555;
}
.htk-dialog p
{
margin: 0;
}
.htk-dialog img
{
float: left;
height: 3em;
margin-top: 0;
margin-right: 1em;
}
.htk-dialog p
{
padding: 0;
}
.htk-dialog .button-bar > button
{
float: right;
margin-left: 1em;
margin-top: .5em;
}
/* Assistant */
.htk-assistant > div
{
display: none;
}
.htk-assistant > div > h2
{
text-align: center;
font-weight: normal;
font-size: 1.5em;
margin: 0;
padding: 0;
margin-bottom: 1em;
2022-05-05 13:54:53 +00:00
font-weight: bold;
}
/* Assistant bar */
.htk-assistant-bar
{
position: relative;
2018-05-17 08:52:27 +00:00
padding: .8em;
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
width: 100%;
}
2018-05-17 08:52:27 +00:00
.htk-assistant-bar > button
{
2018-05-17 08:52:27 +00:00
border-radius: 50%;
padding: 0;
margin: 0;
}
2018-05-17 08:52:27 +00:00
.htk-assistant-bar > .end
{
2018-05-17 08:52:27 +00:00
display: none;
}
2018-05-17 08:52:27 +00:00
.htk-assistant-bar > button > img
{
2018-05-17 08:52:27 +00:00
display: block;
width: 1.8em;
padding: .5em;
}
2018-05-17 08:52:27 +00:00
.htk-assistant-bar > .steps
{
2018-05-17 08:52:27 +00:00
display: flex;
align-items: center;
}
2018-05-17 08:52:27 +00:00
.htk-assistant-bar > .steps > div {
background-color: #AAA;
width: .5em;
height: .5em;
cursor: pointer;
border-radius: 50%;
margin: .5em;
transition-property: width, height;
transition-duration: 100ms;
transition-timing-function: ease-in-out;
}
2018-05-17 08:52:27 +00:00
.htk-assistant-bar > .steps > div.selected {
background-color: #666;
width: 1em;
height: 1em;
}
2018-05-17 08:52:27 +00:00
.htk-assistant-bar > .steps > div:hover {
opacity: .7;
}
.htk-assistant-bar > .steps > img
{
width: 1.3em;
2018-05-17 08:52:27 +00:00
margin: 0 .2em;
cursor: pointer;
}
2018-05-17 08:52:27 +00:00
.htk-assistant-bar > .steps > img:hover
{
opacity: .7;
}
2015-11-19 13:57:23 +00:00
/* Search entry */
.htk-search-entry
{
background-color: white;
height: 2.2em;
}
2015-12-10 13:48:43 +00:00
.htk-search-entry > *
{
display: inline-block;
vertical-align: middle;
}
2015-11-19 13:57:23 +00:00
.htk-search-entry > img
{
margin: 0;
height: 1.5em;
2015-12-10 13:48:43 +00:00
margin: 0 .4em;
2015-11-19 13:57:23 +00:00
}
.htk-search-entry > .entry
{
margin: 0;
border: none;
width: 8em;
box-shadow: none;
}
.htk-search-entry > .entry:focus
{
background-color: initial;
}
2018-01-16 16:26:37 +00:00
/* Spinner */
2015-11-19 13:57:23 +00:00
.htk-spinner
{
2016-05-02 13:05:49 +00:00
width: 1.8em;
height: 1.8em;
2015-11-19 13:57:23 +00:00
position: relative;
display: inline-block;
}
.htk-spinner > .spinner
{
left: 0;
2016-05-02 13:05:49 +00:00
position: absolute;
width: inherit;
height: inherit;
box-sizing: border-box;
2015-11-19 13:57:23 +00:00
border-radius: 50%;
border: .3em solid transparent;
border-top-color: #666;
border-left-color: #666;
animation: spinner 1s linear infinite;
-webkit-animation: spinner 1s linear infinite;
}
2016-05-02 13:05:49 +00:00
.htk-spinner.dark > .spinner
2015-11-19 13:57:23 +00:00
{
border-top-color: white;
border-left-color: white;
}
@keyframes spinner
{
to {transform: rotate(360deg);}
}
@-webkit-keyframes spinner
{
to {-webkit-transform: rotate(360deg);}
}
2018-01-16 16:26:37 +00:00
/* Loader */
.htk-loader > .spinner
{
text-align: center;
}