hswidget
Version:
Helpful Scripts UI widgets
544 lines • 10.3 kB
CSS
.hs_right {
text-align: right;
}
.hs_center {
text-align: center;
}
.hs_nowrap {
white-space: nowrap;
}
.hs_scrolly {
overflow-x: hidden;
overflow-y: scroll;
}
.hs_menu.hs_option_buttons {
border-radius: 0;
}
.hs_menu.hs_option_buttons > .hs_button {
border-radius: 0;
}
.hs_menu.hs_option_buttons .state0 {
color: #666;
background-color: #eee;
}
.hs_menu.hs_option_buttons .state1 {
color: #000;
font-weight: bold;
background-color: #fff;
box-shadow: none;
}
.hs_collapsible_arrow {
width: 0;
height: 0;
display: inline-block;
}
.hs_collapsible {
position: relative;
}
.hs_collapsible .hs_collapsible_title div {
display: inline-block;
padding-left: 5px;
}
.hs_collapsible .hs_collapsible_title div.hs_collapsible_pre {
padding-left: 0px;
position: absolute;
margin-right: auto;
left: 3px;
}
.hs_collapsible .hs_collapsible_title div.hs_collapsible_pre + div {
margin-left: 12px;
}
.hs_collapsible .hs_collapsible_title div.hs_collapsible_post {
padding-left: 0px;
position: absolute;
margin-left: auto;
right: 3px;
top: 3px;
}
.hs_collapsible .hs_collapsible_content {
position: relative;
overflow-x: hidden;
}
.hs_collapsible .hs_collapsible_arrow_right {
width: 0;
height: 0;
display: inline-block;
border-left: 6px solid #666;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
padding-right: 3px;
top: 3px;
}
.hs_collapsible .hs_collapsible_arrow_down {
width: 0;
height: 0;
display: inline-block;
border-left: 6px solid #666;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
padding-right: 3px;
top: 3px;
transform: rotate(90deg);
top: 6px;
}
.hs_collapsible .hs_collapsible_arrow_up {
width: 0;
height: 0;
display: inline-block;
border-left: 6px solid #666;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
padding-right: 3px;
top: 3px;
transform: rotate(-90deg);
}
.hs_collapsible .hs_collapsible_arrow_left {
width: 0;
height: 0;
display: inline-block;
border-left: 6px solid #666;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
padding-right: 3px;
top: 3px;
transform: rotate(180deg);
}
.hs_dropover {
position: relative;
}
.hs_dropover_content {
left: 5px;
position: relative;
transition: all 0.3s ease-in-out;
overflow: hidden;
max-height: 0%;
}
.hs_dropover_content.hs_dropover_expanded {
max-height: 100%;
}
.hs_corner_button {
position: absolute;
top: 0;
right: 0;
font-size: 16pt;
line-height: 20px;
width: auto;
height: 20px;
border-bottom-left-radius: 5px;
border-top-right-radius: 10px;
text-align: right;
vertical-align: middle;
}
.hs_popup {
position: fixed;
padding: 3px 5px;
z-index: 999;
background-color: #eee;
border-radius: 5px;
border: 1px solid #aaf;
width: auto;
height: auto;
font-size: 14px;
}
.hs_popup.idle {
border: none;
width: 0;
height: 0;
top: -100px;
}
.hs_form {
position: relative;
}
.hs_typeahead_input {
width: 100%;
box-shadow: 0 0 5px 0px #ccc;
border: 1px solid #ccf;
border-radius: 4px;
padding: 4px;
font-size: 16px;
}
.hs_typeahead_input.hs_typeahead_value {
color: #66f;
}
.hs_typeahead_input.hs_typeahead_placeholder {
color: #ccc;
}
.hs_typeahead_list {
position: absolute;
overflow-x: visible;
z-index: 9999;
left: 20px;
width: 200px;
border: 1px solid #aaf;
box-shadow: 0 0 5px 0px #ccc inset;
background-color: white;
}
.hs_typeahead_list div {
padding: 5px;
}
.hs_typeahead_list div:hover {
text-shadow: 0 0 3px #88f;
}
.hs_typeahead_list span {
overflow-x: visible;
}
.hs_label {
position: relative;
margin: 0px;
box-sizing: border-box;
text-align: center;
vertical-align: middle;
margin-left: 5px;
margin-right: 5px;
line-height: 30px;
}
.hs_slider {
display: block;
position: relative;
margin: 0;
padding: 0;
width: 100%;
height: 40px;
}
.hs_slider .hs_slider_slot {
position: absolute;
height: 10px;
left: 10px;
right: 10px;
margin-top: 10px;
margin-bottom: 20px;
background-color: #eee;
border: 1px solid #ccc;
border-radius: 5px;
}
.hs_slider .hs_slider_slot .hs_slider_markers {
position: absolute;
top: 0;
left: 0px;
right: 2px;
}
.hs_slider .hs_slider_slot .hs_slider_markers .hs_slider_marker {
position: absolute;
height: 5px;
width: 0px;
top: 10px;
border: 1px solid #aaa;
}
.hs_slider .hs_slider_slot .hs_slider_markers .hs_slider_marker .hs_slider_label {
font-size: 10px;
margin-top: 5px;
position: absolute;
text-align: center;
transform: translateX(-50%);
}
.hs_slider .hs_slider_slot .hs_slider_handle {
top: 5px;
position: absolute;
border: 1px solid #aaa;
border-radius: 10px;
height: 20px;
width: 20px;
transform: translate(-50%, -50%);
background-color: #88f;
}
.hsedit_label {
padding: 0 0 0 7px;
line-height: 1.5em;
display: inline-block;
width: 100%;
border: 0;
border-top-width: 2px;
}
input.hsedit_label {
width: 80%;
border: 0;
margin: 0;
padding-top: 0;
padding-bottom: 0;
font-family: inherit;
font-size: inherit;
padding-top: 5px;
}
.hsedit_label.default {
color: #aaa;
font-style: italic;
}
.hs_edit_list .header {
width: 100%;
height: 20px;
background-color: #aca;
font-weight: bold;
}
.hs_edit_list .content {
height: auto;
background-color: #cdc;
}
.hs_edit_list .row {
min-height: 20px;
overflow-x: hidden;
height: auto;
}
.hs_edit_checkbox {
height: 30px;
}
.hs_edit_checkbox input {
background-color: #eee;
border: 1px solid #88c;
width: 30px;
height: 100%;
border-radius: 15px;
}
.hs_edit_checkbox label {
display: inline-block;
vertical-align: middle;
height: 100%;
}
.hsedit_select {
border: 0;
background-color: rgba(0, 0, 0, 0.1);
font-family: inherit;
font-size: inherit;
}
.hs_edit_textarea {
border: none;
font: inherit;
padding-top: 0px;
padding-left: 7px;
line-height: 1.5em;
width: 100%;
}
textarea.hs_edit_textarea {
width: 80%;
}
.hs_edit_textarea p {
margin: 0;
height: 1.5em;
}
.hs_edit_textarea.default {
color: #aaa;
font-style: italic;
width: 100px;
}
.hs_edit_textarea > ul {
margin: 0;
padding-left: 10px;
}
.hs_pivot {
width: 100%;
border-bottom: 5px solid white;
}
.hs_pivot .mon_header {
height: 1.4em;
background-color: #66a;
color: white;
}
.hs_pivot .row {
width: 100%;
padding: 0;
height: 1.4em;
}
.hs_pivot span {
display: inline-block;
width: 20%;
font-size: 80%;
}
.hs_pivot span.name {
width: 10%;
white-space: nowrap;
padding-top: 3px;
padding-left: 4px;
}
.hs_pivot .mon0 {
background-color: #99b;
color: white;
}
.hs_pivot .mon1 {
background-color: #bbd;
color: black;
}
.hs_pivot .mon2 {
background-color: #ddf;
color: black;
}
.hs_pivot .mon3 {
background-color: #eee;
color: black;
}
.hs_pivot .mon4 {
background-color: #fff;
color: black;
}
.hs_icon {
height: 1.5em;
fill: #443;
stroke: #443;
}
.hs_icon .info {
fill: blue;
stroke-width: 0;
}
.hs_icon .warn {
fill: yellow;
stroke: #cccc00;
stroke-width: 0;
}
.hs_icon .stop {
fill: red;
stroke-width: 0;
}
.hs_icon .hs_icon_content {
padding-left: 5px;
height: 100%;
line-height: 100%;
position: relative;
bottom: 50%;
display: inline-block;
translate: 0 0.35em;
vertical-align: baseline;
}
.hs_abstract_button_group {
user-select: none;
display: grid;
font-size: 1rem;
height: 2rem;
margin: 0px;
box-sizing: border-box;
align-items: center;
justify-items: center;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 6px;
}
.hs_button {
user-select: none;
display: grid;
font-size: 1rem;
height: 2rem;
margin: 0px;
box-sizing: border-box;
align-items: center;
justify-items: center;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 6px;
padding: 0 10px;
color: white;
background-color: #48f;
}
.hs_button:hover {
filter: brightness(95%);
}
.hs_button.hs_pressed {
filter: brightness(80%);
}
.hs_button span {
vertical-align: middle;
}
.hs_disabled {
filter: grayscale(1) contrast(50%) brightness(120%);
}
.hs_onoff_button.state0 {
background-color: #dde;
color: #443;
}
.hs_onoff_button.state1 {
background-color: #48f;
}
.hs_icon_button {
padding: 0;
border: 1px solid #888;
border-radius: 3px;
width: 30px;
height: 30px;
}
.hs_icon_button .hs_icon {
fill: inherit;
stroke: inherit;
}
.hs_icon_button.state0 {
background-color: #dde;
fill: #443;
stroke: #443;
}
.hs_icon_button.state1 {
background-color: #9999cc;
fill: #fff;
stroke: #fff;
}
.hs_option_buttons {
user-select: none;
display: grid;
font-size: 1rem;
height: 2rem;
margin: 0px;
box-sizing: border-box;
align-items: center;
justify-items: center;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 6px;
gap: 0;
background-color: rgba(0, 0, 0, 0);
}
.hs_option_buttons > .hs_button {
border-left: none;
border-right: 1px solid white;
border-radius: 0;
width: 100%;
box-shadow: none;
}
.hs_option_buttons > :first-child {
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
}
.hs_option_buttons > :last-child {
border-right: none;
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
}
.hs_icon_buttons {
width: 0;
}
.hs_modal_background {
position: fixed;
left: 0%;
right: 0%;
top: 0%;
bottom: 0%;
background-color: rgba(16, 16, 16, 0.6);
z-index: 998;
}
.hs_modal_foreground {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 10px;
background-color: white;
border-radius: 10px;
z-index: 999;
width: auto;
height: auto;
}
.hs_grid {
display: grid;
box-sizing: border-box;
place-items: stretch;
place-content: stretch;
min-height: 0;
/* NEW */
min-width: 0;
/* NEW; needed for Firefox */
}
.hs_grid.hs_grid_col {
grid-auto-flow: column;
width: 100%;
}
.hs_grid.hs_grid_row {
grid-auto-flow: row;
height: 100%;
}
.hs_grid > * {
min-height: 0;
/* NEW */
min-width: 0;
/* NEW; needed for Firefox */
}
/*# sourceMappingURL=hsWidget.css.map */