jsoneditor/dist/jsoneditor.css

1928 lines
39 KiB
CSS
Raw Normal View History

2016-04-10 03:00:33 +08:00
/* reset styling (prevent conflicts with bootstrap, materialize.css, etc.) */
2017-01-07 03:58:19 +08:00
div.jsoneditor .jsoneditor-search input {
2016-04-10 03:00:33 +08:00
height: auto;
border: inherit;
}
2017-01-07 03:58:19 +08:00
div.jsoneditor .jsoneditor-search input:focus {
2016-04-10 03:00:33 +08:00
border: none !important;
box-shadow: none !important;
}
div.jsoneditor table {
border-collapse: collapse;
width: auto;
}
div.jsoneditor td,
div.jsoneditor th {
padding: 0;
display: table-cell;
text-align: left;
vertical-align: inherit;
border-radius: inherit;
}
2016-06-16 01:35:28 +08:00
2015-12-31 05:21:02 +08:00
div.jsoneditor-field,
div.jsoneditor-value,
div.jsoneditor-readonly {
border: 1px solid transparent;
min-height: 16px;
min-width: 32px;
padding: 2px;
margin: 1px;
word-wrap: break-word;
float: left;
}
/* adjust margin of p elements inside editable divs, needed for Opera, IE */
2015-12-31 05:21:02 +08:00
div.jsoneditor-field p,
div.jsoneditor-value p {
margin: 0;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-value {
word-break: break-word;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-readonly {
min-width: 16px;
2018-05-23 15:50:53 +08:00
color: #808080;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-empty {
2018-05-23 15:50:53 +08:00
border-color: #d3d3d3;
border-style: dashed;
border-radius: 2px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-field.jsoneditor-empty::after,
div.jsoneditor-value.jsoneditor-empty::after {
2015-12-28 03:27:35 +08:00
pointer-events: none;
2018-05-23 15:50:53 +08:00
color: #d3d3d3;
2015-12-28 03:27:35 +08:00
font-size: 8pt;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-field.jsoneditor-empty::after {
2015-12-28 03:27:35 +08:00
content: "field";
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-value.jsoneditor-empty::after {
2015-12-28 03:27:35 +08:00
content: "value";
}
2016-03-21 01:19:13 +08:00
div.jsoneditor-value.jsoneditor-url,
a.jsoneditor-value.jsoneditor-url {
color: green;
text-decoration: underline;
}
2016-03-21 01:19:13 +08:00
a.jsoneditor-value.jsoneditor-url {
display: inline-block;
padding: 2px;
margin: 2px;
}
2015-12-31 05:21:02 +08:00
a.jsoneditor-value.jsoneditor-url:hover,
a.jsoneditor-value.jsoneditor-url:focus {
2015-12-28 03:27:35 +08:00
color: #ee422e;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor td.jsoneditor-separator {
padding: 3px 0;
vertical-align: top;
2018-05-23 15:50:53 +08:00
color: #808080;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-field[contenteditable=true]:focus,
div.jsoneditor-field[contenteditable=true]:hover,
div.jsoneditor-value[contenteditable=true]:focus,
div.jsoneditor-value[contenteditable=true]:hover,
div.jsoneditor-field.jsoneditor-highlight,
div.jsoneditor-value.jsoneditor-highlight {
background-color: #FFFFAB;
border: 1px solid yellow;
border-radius: 2px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-field.jsoneditor-highlight-active,
div.jsoneditor-field.jsoneditor-highlight-active:focus,
div.jsoneditor-field.jsoneditor-highlight-active:hover,
div.jsoneditor-value.jsoneditor-highlight-active,
div.jsoneditor-value.jsoneditor-highlight-active:focus,
div.jsoneditor-value.jsoneditor-highlight-active:hover {
background-color: #ffee00;
border: 1px solid #ffc700;
border-radius: 2px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-value.jsoneditor-string {
2015-12-28 03:27:35 +08:00
color: #008000;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-value.jsoneditor-object,
div.jsoneditor-value.jsoneditor-array {
2015-12-28 03:27:35 +08:00
min-width: 16px;
color: #808080;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-value.jsoneditor-number {
2015-12-28 03:27:35 +08:00
color: #ee422e;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-value.jsoneditor-boolean {
2015-12-28 03:27:35 +08:00
color: #ff8c00;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-value.jsoneditor-null {
2015-12-28 03:27:35 +08:00
color: #004ED0;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-value.jsoneditor-invalid {
2015-12-28 03:27:35 +08:00
color: #000000;
}
2018-08-23 03:19:11 +08:00
div.jsoneditor-tree button.jsoneditor-button {
width: 24px;
height: 24px;
padding: 0;
margin: 0;
border: none;
cursor: pointer;
2015-12-28 03:27:35 +08:00
background: transparent url("img/jsoneditor-icons.svg");
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-mode-view tr.jsoneditor-expandable td.jsoneditor-tree,
div.jsoneditor-mode-form tr.jsoneditor-expandable td.jsoneditor-tree {
2015-12-28 03:27:35 +08:00
cursor: pointer;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-tree button.jsoneditor-collapsed {
background-position: 0 -48px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-tree button.jsoneditor-expanded {
background-position: 0 -72px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-tree button.jsoneditor-contextmenu {
background-position: -48px -72px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-tree button.jsoneditor-contextmenu:hover,
div.jsoneditor-tree button.jsoneditor-contextmenu:focus,
2015-12-31 20:38:43 +08:00
div.jsoneditor-tree button.jsoneditor-contextmenu.jsoneditor-selected,
2015-12-31 05:21:02 +08:00
tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-contextmenu {
background-position: -48px -48px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-tree *:focus {
outline: none;
}
2018-08-23 03:19:11 +08:00
div.jsoneditor-tree button.jsoneditor-button:focus {
/* TODO: nice outline for buttons with focus
outline: #97B0F8 solid 2px;
box-shadow: 0 0 8px #97B0F8;
*/
background-color: #f5f5f5;
outline: #e5e5e5 solid 1px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-tree button.jsoneditor-invisible {
visibility: hidden;
background: none;
}
2018-05-23 15:50:53 +08:00
div.jsoneditor-tree div.jsoneditor-show-more {
display: inline-block;
padding: 3px 4px;
margin: 2px 0;
background-color: #e5e5e5;
border-radius: 3px;
color: #808080;
font-family: arial, sans-serif;
font-size: 10pt;
}
div.jsoneditor-tree div.jsoneditor-show-more a {
display: inline-block;
color: #808080;
}
div.jsoneditor-tree div.jsoneditor-show-more a:hover,
div.jsoneditor-tree div.jsoneditor-show-more a:focus {
color: #ee422e;
}
2018-08-23 03:19:11 +08:00
div.jsoneditor-tree div.jsoneditor-color {
display: inline-block;
width: 12px;
height: 12px;
margin: 4px;
border: 1px solid #808080;
cursor: pointer;
}
div.jsoneditor div.jsoneditor-anchor .picker_wrapper.popup.popup_bottom {
2018-08-23 03:19:11 +08:00
top: 28px;
left: -10px;
}
div.jsoneditor-tree div.jsoneditor-date {
background: #a1a1a1;
color: white;
font-family: arial, sans-serif;
border-radius: 3px;
display: inline-block;
padding: 3px;
margin: 0 3px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor {
color: #1A1A1A;
2015-12-28 03:27:35 +08:00
border: 1px solid #3883fa;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
height: 100%;
position: relative;
padding: 0;
line-height: 100%;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-tree table.jsoneditor-tree {
border-collapse: collapse;
border-spacing: 0;
width: 100%;
2018-07-28 21:34:18 +08:00
}
div.jsoneditor-tree div.jsoneditor-tree-inner {
padding-bottom: 300px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-outer {
2017-01-07 03:58:19 +08:00
position: static;
width: 100%;
height: 100%;
margin: -35px 0 0 0;
padding: 35px 0 0 0;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
2017-11-15 18:00:02 +08:00
div.jsoneditor-outer.has-nav-bar {
margin: -61px 0 0 0;
padding: 61px 0 0 0;
}
div.jsoneditor-outer.has-status-bar {
2017-11-15 18:52:35 +08:00
margin: -35px 0 -26px 0;
padding: 35px 0 26px 0;
2017-11-15 18:00:02 +08:00
}
2016-06-16 01:35:28 +08:00
textarea.jsoneditor-text,
.ace-jsoneditor {
min-height: 150px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-tree {
width: 100%;
height: 100%;
position: relative;
overflow: auto;
}
2015-12-31 05:21:02 +08:00
textarea.jsoneditor-text {
width: 100%;
height: 100%;
margin: 0;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
2015-12-28 03:27:35 +08:00
outline-width: 0;
border: none;
background-color: white;
resize: none;
}
2015-12-31 05:21:02 +08:00
tr.jsoneditor-highlight,
tr.jsoneditor-selected {
2017-11-15 18:52:35 +08:00
background-color: #d3d3d3;
2015-12-31 05:21:02 +08:00
}
tr.jsoneditor-selected button.jsoneditor-dragarea,
tr.jsoneditor-selected button.jsoneditor-contextmenu {
visibility: hidden;
}
tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-dragarea,
tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-contextmenu {
visibility: visible;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-tree button.jsoneditor-dragarea {
2015-12-28 03:27:35 +08:00
background: url("img/jsoneditor-icons.svg") -72px -72px;
cursor: move;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-tree button.jsoneditor-dragarea:hover,
div.jsoneditor-tree button.jsoneditor-dragarea:focus,
tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-dragarea {
background-position: -72px -48px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor tr,
div.jsoneditor th,
div.jsoneditor td {
padding: 0;
margin: 0;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor td {
vertical-align: top;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor td.jsoneditor-tree {
vertical-align: top;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-field,
div.jsoneditor-value,
div.jsoneditor td,
div.jsoneditor th,
2016-01-15 04:26:39 +08:00
div.jsoneditor textarea,
.jsoneditor-schema-error {
2018-01-19 03:48:31 +08:00
font-family: "dejavu sans mono", "droid sans mono", consolas, monaco, "lucida console", "courier new", courier, monospace, sans-serif;
font-size: 10pt;
color: #1A1A1A;
}
2016-01-15 04:26:39 +08:00
/* popover */
.jsoneditor-schema-error {
cursor: default;
display: inline-block;
/*font-family: arial, sans-serif;*/
height: 24px;
line-height: 24px;
position: relative;
text-align: center;
width: 24px;
}
2018-08-23 03:19:11 +08:00
div.jsoneditor-tree .jsoneditor-button.jsoneditor-schema-error {
2016-01-15 04:26:39 +08:00
width: 24px;
height: 24px;
padding: 0;
margin: 0 4px 0 0;
background: url("img/jsoneditor-icons.svg") -168px -48px;
}
2018-08-28 01:56:01 +08:00
.jsoneditor-text-errors tr.jump-to-line:hover {
text-decoration: underline;
cursor: pointer;
}
2016-01-15 04:26:39 +08:00
.jsoneditor-schema-error .jsoneditor-popover {
background-color: #4c4c4c;
border-radius: 3px;
box-shadow: 0 0 5px rgba(0,0,0,0.4);
color: #fff;
display: none;
padding: 7px 10px;
position: absolute;
width: 200px;
z-index: 4;
}
.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-above {
bottom: 32px;
left: -98px;
}
.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-below {
top: 32px;
left: -98px;
}
.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-left {
top: -7px;
right: 32px;
}
.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-right {
top: -7px;
left: 32px;
}
.jsoneditor-schema-error .jsoneditor-popover:before {
border-right: 7px solid transparent;
border-left: 7px solid transparent;
content: '';
display: block;
left: 50%;
margin-left: -7px;
position: absolute;
}
.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-above:before {
border-top: 7px solid #4c4c4c;
bottom: -7px;
}
.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-below:before {
border-bottom: 7px solid #4c4c4c;
top: -7px;
}
.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-left:before {
border-left: 7px solid #4c4c4c;
border-top: 7px solid transparent;
border-bottom: 7px solid transparent;
content: '';
top: 19px;
right: -14px;
left: inherit;
margin-left: inherit;
margin-top: -7px;
position: absolute;
}
.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-right:before {
border-right: 7px solid #4c4c4c;
border-top: 7px solid transparent;
border-bottom: 7px solid transparent;
content: '';
top: 19px;
left: -14px;
margin-left: inherit;
margin-top: -7px;
position: absolute;
}
.jsoneditor-schema-error:hover .jsoneditor-popover,
.jsoneditor-schema-error:focus .jsoneditor-popover {
display: block;
-webkit-animation: fade-in .3s linear 1, move-up .3s linear 1;
-moz-animation: fade-in .3s linear 1, move-up .3s linear 1;
-ms-animation: fade-in .3s linear 1, move-up .3s linear 1;
}
@-webkit-keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@-moz-keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@-ms-keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/*@-webkit-keyframes move-up {*/
/*from { bottom: 24px; }*/
/*to { bottom: 32px; }*/
/*}*/
/*@-moz-keyframes move-up {*/
/*from { bottom: 24px; }*/
/*to { bottom: 32px; }*/
/*}*/
/*@-ms-keyframes move-up {*/
/*from { bottom: 24px; }*/
/*to { bottom: 32px; }*/
/*}*/
/* JSON schema errors displayed at the bottom of the editor in mode text and code */
2018-08-12 19:10:20 +08:00
.jsoneditor .jsoneditor-validation-errors-container {
max-height: 130px;
overflow-y: auto;
}
.jsoneditor .jsoneditor-additional-errors {
position: absolute;
margin: auto;
bottom: 31px;
left: calc(50% - 92px);
color: #808080;
background-color: #ebebeb;
padding: 7px 15px;
border-radius: 8px;
}
.jsoneditor .jsoneditor-additional-errors.visible {
visibility: visible;
opacity: 1;
transition: opacity 2s linear;
}
.jsoneditor .jsoneditor-additional-errors.hidden {
visibility: hidden;
opacity: 0;
transition: visibility 0s 2s, opacity 2s linear;
}
2016-01-15 04:26:39 +08:00
.jsoneditor .jsoneditor-text-errors {
width: 100%;
border-collapse: collapse;
border-top: 1px solid #ffd700;
}
.jsoneditor .jsoneditor-text-errors td {
padding: 3px 6px;
vertical-align: middle;
}
2018-08-28 01:56:01 +08:00
.jsoneditor .jsoneditor-text-errors tr {
background-color: #ffef8b;
}
.jsoneditor .jsoneditor-text-errors tr.parse-error {
background-color: #ee2e2e70;
}
2016-01-15 04:26:39 +08:00
.jsoneditor-text-errors .jsoneditor-schema-error {
border: none;
width: 24px;
height: 24px;
padding: 0;
margin: 0 4px 0 0;
2018-08-28 01:56:01 +08:00
cursor: pointer;
}
.jsoneditor-text-errors tr .jsoneditor-schema-error {
2016-01-15 04:26:39 +08:00
background: url("img/jsoneditor-icons.svg") -168px -48px;
}
2018-08-12 19:10:20 +08:00
2018-08-28 01:56:01 +08:00
.jsoneditor-text-errors tr.parse-error .jsoneditor-schema-error {
background: url("img/jsoneditor-icons.svg") -25px 0px;
}
2018-08-12 19:10:20 +08:00
.fadein {
-webkit-animation: fadein .3s;
animation: fadein .3s;
-moz-animation: fadein .3s;
-o-animation: fadein .3s;
}
@-webkit-keyframes fadein {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@-moz-keyframes fadein {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes fadein {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@-o-keyframes fadein {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
/* ContextMenu - main menu */
2015-12-31 20:38:43 +08:00
div.jsoneditor-contextmenu-root {
position: relative;
width: 0;
height: 0;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu {
2013-12-07 22:30:11 +08:00
position: absolute;
2016-04-10 03:00:33 +08:00
box-sizing: content-box;
z-index: 99999;
}
2016-04-16 16:43:43 +08:00
div.jsoneditor-contextmenu ul,
div.jsoneditor-contextmenu li {
box-sizing: content-box;
2017-07-24 17:56:21 +08:00
position: relative;
2016-04-16 16:43:43 +08:00
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu ul {
position: relative;
left: 0;
top: 0;
2017-07-24 17:56:21 +08:00
width: 128px;
background: white;
border: 1px solid #d3d3d3;
box-shadow: 2px 2px 12px rgba(128, 128, 128, 0.3);
list-style: none;
margin: 0;
padding: 0;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu ul li button {
2017-07-24 17:56:21 +08:00
position: relative;
padding: 0 4px 0 0;
margin: 0;
2017-07-24 17:56:21 +08:00
width: 128px;
height: auto;
border: none;
cursor: pointer;
color: #4d4d4d;
background: transparent;
2016-03-21 01:19:13 +08:00
font-size: 10pt;
font-family: arial, sans-serif;
box-sizing: border-box;
text-align: left;
}
/* Fix button padding in firefox */
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu ul li button::-moz-focus-inner {
padding: 0;
border: 0;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu ul li button:hover,
div.jsoneditor-contextmenu ul li button:focus {
color: #1a1a1a;
background-color: #f5f5f5;
outline: none;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu ul li button.jsoneditor-default {
2017-07-24 17:56:21 +08:00
width: 96px;
/* 128px - 32px */
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu ul li button.jsoneditor-expand {
float: right;
width: 32px;
height: 24px;
border-left: 1px solid #e5e5e5;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu div.jsoneditor-icon {
2017-07-24 17:56:21 +08:00
position: absolute;
top: 0;
left: 0;
width: 24px;
height: 24px;
border: none;
padding: 0;
margin: 0;
2015-12-28 03:27:35 +08:00
background-image: url("img/jsoneditor-icons.svg");
}
2017-07-24 17:56:21 +08:00
div.jsoneditor-contextmenu ul li ul div.jsoneditor-icon {
margin-left: 24px;
}
div.jsoneditor-contextmenu div.jsoneditor-text {
padding: 4px 0 4px 24px;
word-wrap: break-word;
}
div.jsoneditor-contextmenu div.jsoneditor-text.jsoneditor-right-margin {
padding-right: 24px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu ul li button div.jsoneditor-expand {
2017-07-24 17:56:21 +08:00
position: absolute;
top: 0;
right: 0;
width: 24px;
height: 24px;
padding: 0;
margin: 0 4px 0 0;
2015-12-28 03:27:35 +08:00
background: url("img/jsoneditor-icons.svg") 0 -72px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu div.jsoneditor-separator {
height: 0;
border-top: 1px solid #e5e5e5;
padding-top: 5px;
margin-top: 5px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu button.jsoneditor-remove > div.jsoneditor-icon {
background-position: -24px 0;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu button.jsoneditor-append > div.jsoneditor-icon {
background-position: 0 0;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu button.jsoneditor-insert > div.jsoneditor-icon {
background-position: 0 0;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu button.jsoneditor-duplicate > div.jsoneditor-icon {
background-position: -48px 0;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu button.jsoneditor-sort-asc > div.jsoneditor-icon {
background-position: -168px 0;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu button.jsoneditor-sort-desc > div.jsoneditor-icon {
background-position: -192px 0;
}
2018-06-27 18:30:46 +08:00
div.jsoneditor-contextmenu button.jsoneditor-transform > div.jsoneditor-icon {
background-position: -216px 0;
}
/* ContextMenu - sub menu */
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu ul li button.jsoneditor-selected,
div.jsoneditor-contextmenu ul li button.jsoneditor-selected:hover,
div.jsoneditor-contextmenu ul li button.jsoneditor-selected:focus {
2015-12-28 03:27:35 +08:00
color: white;
background-color: #ee422e;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu ul li {
overflow: hidden;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu ul li ul {
display: none;
position: relative;
left: -10px;
top: 0;
border: none;
box-shadow: inset 0 0 10px rgba(128, 128, 128, 0.5);
padding: 0 10px;
/* TODO: transition is not supported on IE8-9 */
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu ul li ul li button {
padding-left: 24px;
2015-12-28 03:27:35 +08:00
animation: all ease-in-out 1s;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu ul li ul li button:hover,
div.jsoneditor-contextmenu ul li ul li button:focus {
background-color: #f5f5f5;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu button.jsoneditor-type-string > div.jsoneditor-icon {
background-position: -144px 0;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu button.jsoneditor-type-auto > div.jsoneditor-icon {
background-position: -120px 0;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu button.jsoneditor-type-object > div.jsoneditor-icon {
background-position: -72px 0;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu button.jsoneditor-type-array > div.jsoneditor-icon {
background-position: -96px 0;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-contextmenu button.jsoneditor-type-modes > div.jsoneditor-icon {
background-image: none;
width: 6px;
2013-08-28 04:50:20 +08:00
}
2018-06-03 21:21:18 +08:00
/* pico modal styling */
.jsoneditor-modal-overlay {
position: absolute !important;
background: rgb(1,1,1) !important;
opacity: 0.3 !important;
}
.jsoneditor-modal {
position: absolute !important;
2018-07-11 19:11:41 +08:00
max-width: 95% !important;
width: auto !important;
2018-06-03 21:21:18 +08:00
border-radius: 2px !important;
padding: 45px 15px 15px 15px !important;
box-shadow: 2px 2px 12px rgba(128, 128, 128, 0.3) !important;
2018-06-27 18:30:46 +08:00
color: #4d4d4d;
line-height: 1.3em;
2018-06-03 21:21:18 +08:00
}
2018-07-11 19:11:41 +08:00
.jsoneditor-modal.jsoneditor-modal-transform {
width: 600px !important;
}
2018-06-03 21:21:18 +08:00
.jsoneditor-modal .pico-modal-header {
position: absolute;
box-sizing: border-box;
top: 0;
left: 0;
width: 100%;
padding: 0 10px;
height: 30px;
line-height: 30px;
font-family: arial, sans-serif;
font-size: 11pt;
background: #3883fa;
color: white;
}
2018-07-11 19:11:41 +08:00
.jsoneditor-modal table {
width: 100%;
}
2018-06-27 18:30:46 +08:00
.jsoneditor-modal table th,
2018-06-03 21:21:18 +08:00
.jsoneditor-modal table td {
2018-06-27 18:30:46 +08:00
padding: 5px 20px 5px 0;
2018-06-03 21:21:18 +08:00
text-align: left;
2018-06-27 18:30:46 +08:00
vertical-align: top;
font-weight: normal;
2018-06-03 21:21:18 +08:00
color: #4d4d4d;
2018-06-27 18:30:46 +08:00
line-height: 32px;
}
.jsoneditor-modal p:first-child {
margin-top: 0;
}
.jsoneditor-modal a {
color: #3883fa;
2018-06-03 21:21:18 +08:00
}
.jsoneditor-modal table td.jsoneditor-modal-input {
text-align: right;
padding-right: 0;
white-space: nowrap;
}
.jsoneditor-modal table td.jsoneditor-modal-actions {
padding-top: 15px;
}
.jsoneditor-modal .pico-close {
background: none !important;
font-size: 24px !important;
top: 7px !important;
right: 7px !important;
color: white;
}
.jsoneditor-modal select,
2018-06-27 18:30:46 +08:00
.jsoneditor-modal textarea,
.jsoneditor-modal input,
.jsoneditor-modal #query {
background: #ffffff;
2018-06-03 21:21:18 +08:00
border: 1px solid #d3d3d3;
color: #4d4d4d;
border-radius: 3px;
2018-06-27 18:30:46 +08:00
padding: 4px;
2018-07-11 19:11:41 +08:00
}
.jsoneditor-modal,
.jsoneditor-modal table td,
.jsoneditor-modal table th,
.jsoneditor-modal select,
.jsoneditor-modal option,
.jsoneditor-modal textarea,
.jsoneditor-modal input,
.jsoneditor-modal #query {
2018-06-27 18:30:46 +08:00
font-size: 10.5pt;
font-family: arial, sans-serif;
}
2018-07-11 19:11:41 +08:00
.jsoneditor-modal #query,
.jsoneditor-modal .jsoneditor-transform-preview {
font-family: "dejavu sans mono", "droid sans mono", consolas, monaco, "lucida console", "courier new", courier, monospace, sans-serif;
font-size: 10pt;
}
2018-06-27 18:30:46 +08:00
.jsoneditor-modal input[type="button"],
.jsoneditor-modal input[type="submit"] {
background: #f5f5f5;
padding: 4px 20px;
}
.jsoneditor-modal select,
.jsoneditor-modal input {
2018-06-03 21:21:18 +08:00
cursor: pointer;
}
2018-06-27 18:30:46 +08:00
.jsoneditor-modal input {
padding: 4px;
}
.jsoneditor-modal input[type="text"] {
cursor: inherit;
}
.jsoneditor-modal input[disabled] {
background: #d3d3d3;
color: #808080;
}
2018-06-03 21:21:18 +08:00
.jsoneditor-modal .jsoneditor-select-wrapper {
position: relative;
2018-06-27 18:30:46 +08:00
display: inline-block;
2018-06-03 21:21:18 +08:00
}
.jsoneditor-modal .jsoneditor-select-wrapper:after {
content: "";
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 6px solid #666;
position: absolute;
right: 8px;
2018-07-11 19:11:41 +08:00
top: 14px;
2018-06-03 21:21:18 +08:00
pointer-events: none;
}
.jsoneditor-modal select {
padding: 3px 24px 3px 10px;
2018-07-11 19:11:41 +08:00
min-width: 180px;
max-width: 350px;
2018-06-03 21:21:18 +08:00
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
text-indent: 0;
text-overflow: "";
2018-06-27 18:30:46 +08:00
font-size: 10pt;
2018-07-11 19:11:41 +08:00
line-height: 1.5em;
2018-06-03 21:21:18 +08:00
}
.jsoneditor-modal select::-ms-expand {
display: none;
}
.jsoneditor-modal .jsoneditor-button-group input {
padding: 4px 10px;
margin: 0;
border-radius: 0;
border-left-style: none;
}
.jsoneditor-modal .jsoneditor-button-group input.jsoneditor-button-first {
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
border-left-style: solid;
}
.jsoneditor-modal .jsoneditor-button-group input.jsoneditor-button-last {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.jsoneditor-modal .jsoneditor-button-group.jsoneditor-button-group-value-asc input.jsoneditor-button-asc,
.jsoneditor-modal .jsoneditor-button-group.jsoneditor-button-group-value-desc input.jsoneditor-button-desc {
background: #3883fa;
border-color: #3883fa;
color: white;
}
2018-06-27 18:30:46 +08:00
.jsoneditor-modal #query,
.jsoneditor-modal .jsoneditor-transform-preview {
2018-07-11 19:11:41 +08:00
width: 100%;
box-sizing: border-box;
2018-06-27 18:30:46 +08:00
}
.jsoneditor-modal .jsoneditor-transform-preview {
background: #f5f5f5;
height: 200px;
}
.jsoneditor-modal .jsoneditor-transform-preview.jsoneditor-error {
color: #ee422e;
}
.jsoneditor-modal .jsoneditor-jmespath-wizard {
line-height: 1.2em;
width: 100%;
background: #ffffe0;
border: 1px solid #ffe99a;
padding: 0 10px 10px;
border-radius: 3px;
}
.jsoneditor-modal .jsoneditor-jmespath-wizard-label {
font-style: italic;
margin: 4px 0 2px 0;
}
2018-07-11 19:11:41 +08:00
.jsoneditor-modal .jsoneditor-inline {
position: relative;
display: inline-block;
width: 100%;
padding: 2px;
}
.jsoneditor-modal .jsoneditor-jmespath-filter {
display: flex;
flex-wrap: wrap;
}
2018-06-27 18:30:46 +08:00
.jsoneditor-modal .jsoneditor-jmespath-filter-field {
2018-07-11 19:11:41 +08:00
width: 170px;
2018-06-27 18:30:46 +08:00
}
.jsoneditor-modal .jsoneditor-jmespath-filter-relation {
2018-07-11 19:11:41 +08:00
width: 100px;
2018-06-27 18:30:46 +08:00
}
.jsoneditor-modal .jsoneditor-jmespath-filter-value {
2018-07-11 19:11:41 +08:00
min-width: 100px;
flex: 1;
2018-06-27 18:30:46 +08:00
}
.jsoneditor-modal .jsoneditor-jmespath-sort-field {
2018-07-11 19:11:41 +08:00
width: 170px;
2018-06-27 18:30:46 +08:00
}
.jsoneditor-modal .jsoneditor-jmespath-sort-order {
2018-07-11 19:11:41 +08:00
width: 150px;
2018-06-27 18:30:46 +08:00
}
.jsoneditor-modal .jsoneditor-jmespath-select-fields {
2018-07-11 19:11:41 +08:00
width: 100%;
}
.jsoneditor-modal .selectr-selected {
border-color: #d3d3d3;
padding: 4px 28px 4px 8px;
}
.jsoneditor-modal .selectr-selected .selectr-tag {
background-color: #3883fa;
border-radius: 5px;
2018-06-03 21:21:18 +08:00
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-menu {
width: 100%;
height: 35px;
padding: 2px;
margin: 0;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
2015-12-28 03:27:35 +08:00
color: white;
background-color: #3883fa;
border-bottom: 1px solid #3883fa;
}
2015-12-31 20:38:43 +08:00
div.jsoneditor-menu > button,
div.jsoneditor-menu > div.jsoneditor-modes > button {
width: 26px;
height: 26px;
margin: 2px;
padding: 0;
border-radius: 2px;
2015-12-28 03:27:35 +08:00
border: 1px solid transparent;
background: transparent url("img/jsoneditor-icons.svg");
color: white;
opacity: 0.8;
font-family: arial, sans-serif;
font-size: 10pt;
float: left;
}
2015-12-31 20:38:43 +08:00
div.jsoneditor-menu > button:hover,
div.jsoneditor-menu > div.jsoneditor-modes > button:hover {
2015-12-28 03:27:35 +08:00
background-color: rgba(255,255,255,0.2);
border: 1px solid rgba(255,255,255,0.4);
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-menu > button:focus,
2015-12-31 20:38:43 +08:00
div.jsoneditor-menu > button:active,
div.jsoneditor-menu > div.jsoneditor-modes > button:focus,
div.jsoneditor-menu > div.jsoneditor-modes > button:active {
2015-12-28 03:27:35 +08:00
background-color: rgba(255,255,255,0.3);
}
2015-12-31 20:38:43 +08:00
div.jsoneditor-menu > button:disabled,
div.jsoneditor-menu > div.jsoneditor-modes > button:disabled {
2015-12-28 03:27:35 +08:00
opacity: 0.5;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-menu > button.jsoneditor-collapse-all {
background-position: 0 -96px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-menu > button.jsoneditor-expand-all {
background-position: 0 -120px;
}
2018-07-11 19:11:41 +08:00
div.jsoneditor-menu > button.jsoneditor-sort {
background-position: -120px -96px;
}
div.jsoneditor-menu > button.jsoneditor-transform {
background-position: -144px -96px;
}
2018-08-10 19:27:32 +08:00
div.jsoneditor.jsoneditor-mode-view > div.jsoneditor-menu > button.jsoneditor-sort,
div.jsoneditor.jsoneditor-mode-form > div.jsoneditor-menu > button.jsoneditor-sort,
div.jsoneditor.jsoneditor-mode-view > div.jsoneditor-menu > button.jsoneditor-transform,
div.jsoneditor.jsoneditor-mode-form > div.jsoneditor-menu > button.jsoneditor-transform {
display: none;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-menu > button.jsoneditor-undo {
background-position: -24px -96px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-menu > button.jsoneditor-undo:disabled {
background-position: -24px -120px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-menu > button.jsoneditor-redo {
background-position: -48px -96px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-menu > button.jsoneditor-redo:disabled {
background-position: -48px -120px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-menu > button.jsoneditor-compact {
background-position: -72px -96px;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-menu > button.jsoneditor-format {
background-position: -72px -120px;
}
2017-11-15 18:00:02 +08:00
div.jsoneditor-menu > button.jsoneditor-repair {
background-position: -96px -96px;
}
2015-12-31 20:38:43 +08:00
div.jsoneditor-menu > div.jsoneditor-modes {
display: inline-block;
float: left;
}
div.jsoneditor-menu > div.jsoneditor-modes > button {
background-image: none;
width: auto;
padding-left: 6px;
padding-right: 6px;
2013-08-28 04:50:20 +08:00
}
2015-12-31 20:38:43 +08:00
div.jsoneditor-menu > button.jsoneditor-separator,
div.jsoneditor-menu > div.jsoneditor-modes > button.jsoneditor-separator {
margin-left: 10px;
2013-08-28 04:50:20 +08:00
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-menu a {
font-family: arial, sans-serif;
font-size: 10pt;
2015-12-28 03:27:35 +08:00
color: white;
opacity: 0.8;
vertical-align: middle;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-menu a:hover {
2015-12-28 03:27:35 +08:00
opacity: 1;
}
2015-12-31 05:21:02 +08:00
div.jsoneditor-menu a.jsoneditor-poweredBy {
font-size: 8pt;
position: absolute;
right: 0;
top: 0;
padding: 10px;
}
2015-12-31 05:21:02 +08:00
table.jsoneditor-search input,
table.jsoneditor-search div.jsoneditor-results {
font-family: arial, sans-serif;
font-size: 10pt;
color: #1A1A1A;
background: transparent;
/* For Firefox */
}
2016-03-21 01:19:13 +08:00
table.jsoneditor-search div.jsoneditor-results {
color: white;
padding-right: 5px;
line-height: 24px;
2018-08-10 19:27:32 +08:00
padding-top: 2px;
2016-03-21 01:19:13 +08:00
}
2015-12-31 05:21:02 +08:00
table.jsoneditor-search {
position: absolute;
2016-03-21 01:19:13 +08:00
right: 4px;
top: 4px;
border-collapse: collapse;
border-spacing: 0;
}
2015-12-31 05:21:02 +08:00
table.jsoneditor-search div.jsoneditor-frame {
2015-12-28 03:27:35 +08:00
border: 1px solid transparent;
background-color: white;
padding: 0 2px;
margin: 0;
}
2015-12-31 05:21:02 +08:00
table.jsoneditor-search div.jsoneditor-frame table {
border-collapse: collapse;
}
2015-12-31 05:21:02 +08:00
table.jsoneditor-search input {
width: 120px;
border: none;
outline: none;
margin: 1px;
2015-12-28 03:27:35 +08:00
line-height: 20px;
}
2015-12-31 05:21:02 +08:00
table.jsoneditor-search button {
width: 16px;
height: 24px;
padding: 0;
margin: 0;
border: none;
2015-12-28 03:27:35 +08:00
background: url("img/jsoneditor-icons.svg");
vertical-align: top;
}
2015-12-31 05:21:02 +08:00
table.jsoneditor-search button:hover {
background-color: transparent;
}
2015-12-31 05:21:02 +08:00
table.jsoneditor-search button.jsoneditor-refresh {
width: 18px;
background-position: -99px -73px;
}
2015-12-31 05:21:02 +08:00
table.jsoneditor-search button.jsoneditor-next {
cursor: pointer;
background-position: -124px -73px;
}
2015-12-31 05:21:02 +08:00
table.jsoneditor-search button.jsoneditor-next:hover {
background-position: -124px -49px;
}
2015-12-31 05:21:02 +08:00
table.jsoneditor-search button.jsoneditor-previous {
cursor: pointer;
background-position: -148px -73px;
margin-right: 2px;
}
2015-12-31 05:21:02 +08:00
table.jsoneditor-search button.jsoneditor-previous:hover {
background-position: -148px -49px;
2017-07-02 20:32:00 +08:00
}
div.jsoneditor div.autocomplete.dropdown {
position: absolute;
background: white;
box-shadow: 2px 2px 12px rgba(128, 128, 128, 0.3);
border: 1px solid #d3d3d3;
z-index: 100;
overflow-x: hidden;
overflow-y: auto;
cursor: default;
margin: 0;
padding-left: 2pt;
padding-right: 5pt;
text-align: left;
outline: 0;
2018-01-19 03:48:31 +08:00
font-family: "dejavu sans mono", "droid sans mono", consolas, monaco, "lucida console", "courier new", courier, monospace, sans-serif;
2017-07-02 20:32:00 +08:00
font-size: 10pt;
}
div.jsoneditor div.autocomplete.dropdown .item {
color: #333;
}
div.jsoneditor div.autocomplete.dropdown .item.hover {
background-color: #ddd;
}
div.jsoneditor div.autocomplete.hint {
color: #aaa;
top: 4px;
left: 4px;
2017-11-15 18:00:02 +08:00
}
div.jsoneditor-treepath {
2017-11-15 18:52:35 +08:00
padding: 0 5px;
2017-11-15 18:00:02 +08:00
overflow: hidden;
}
div.jsoneditor-treepath div.jsoneditor-contextmenu-root {
position: absolute;
left: 0;
}
div.jsoneditor-treepath span.jsoneditor-treepath-element {
margin: 1px;
font-family: arial, sans-serif;
font-size: 10pt;
}
div.jsoneditor-treepath span.jsoneditor-treepath-seperator {
margin: 2px;
font-size: 9pt;
font-family: arial, sans-serif;
}
div.jsoneditor-treepath span.jsoneditor-treepath-element:hover,
div.jsoneditor-treepath span.jsoneditor-treepath-seperator:hover {
cursor: pointer;
text-decoration: underline;
}
div.jsoneditor-statusbar {
2017-11-15 18:52:35 +08:00
line-height: 26px;
height: 26px;
2018-02-07 19:17:32 +08:00
margin-top: -1px;
2017-11-15 18:00:02 +08:00
color: #808080;
2017-11-15 18:52:35 +08:00
background-color: #ebebeb;
border-top: 1px solid #d3d3d3;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: 10pt;
2017-11-15 18:00:02 +08:00
}
div.jsoneditor-statusbar > .jsoneditor-curserinfo-label {
margin: 0 2px 0 4px;
}
div.jsoneditor-statusbar > .jsoneditor-curserinfo-val {
2017-11-15 18:52:35 +08:00
margin-right: 12px;
2017-11-15 18:00:02 +08:00
}
div.jsoneditor-statusbar > .jsoneditor-curserinfo-count {
margin-left: 4px;
}
2018-08-12 19:10:20 +08:00
div.jsoneditor-statusbar > .jsoneditor-validation-error-icon {
float: right;
width: 24px;
height: 24px;
padding: 0;
margin-top: 1px;
background: url("img/jsoneditor-icons.svg") -168px -48px;
}
div.jsoneditor-statusbar > .jsoneditor-validation-error-count {
float: right;
margin: 0 4px 0 0;
}
2018-08-28 01:56:01 +08:00
div.jsoneditor-statusbar > .jsoneditor-parse-error-icon {
float: right;
width: 24px;
height: 24px;
padding: 0;
margin: 1px;
background: url("img/jsoneditor-icons.svg") -25px 0px;
}
2017-11-15 18:00:02 +08:00
div.jsoneditor-navigation-bar {
width: 100%;
height: 26px;
2017-11-15 18:52:35 +08:00
line-height: 26px;
padding: 0;
2017-11-15 18:00:02 +08:00
margin: 0;
2017-11-15 18:52:35 +08:00
border-bottom: 1px solid #d3d3d3;
2017-11-15 18:00:02 +08:00
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #808080;
2017-11-15 18:52:35 +08:00
background-color: #ebebeb;
2018-06-03 21:21:18 +08:00
overflow: hidden;
font-family: arial, sans-serif;
2017-11-15 18:52:35 +08:00
font-size: 10pt;
2018-07-11 19:11:41 +08:00
}
/*!
* Selectr 2.4.0
* https://github.com/Mobius1/Selectr
*
* Released under the MIT license
*/
.selectr-container {
position: relative;
}
.selectr-container li {
list-style: none;
}
.selectr-hidden {
position: absolute;
overflow: hidden;
clip: rect(0px, 0px, 0px, 0px);
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
border: 0 none;
}
.selectr-visible {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
opacity: 0;
z-index: 11;
}
.selectr-desktop.multiple .selectr-visible {
display: none;
}
.selectr-desktop.multiple.native-open .selectr-visible {
top: 100%;
min-height: 200px !important;
height: auto;
opacity: 1;
display: block;
}
.selectr-container.multiple.selectr-mobile .selectr-selected {
z-index: 0;
}
.selectr-selected {
position: relative;
z-index: 1;
box-sizing: border-box;
width: 100%;
padding: 7px 28px 7px 14px;
cursor: pointer;
border: 1px solid #999;
border-radius: 3px;
background-color: #fff;
}
.selectr-selected::before {
position: absolute;
top: 50%;
right: 10px;
width: 0;
height: 0;
content: '';
-o-transform: rotate(0deg) translate3d(0px, -50%, 0px);
-ms-transform: rotate(0deg) translate3d(0px, -50%, 0px);
-moz-transform: rotate(0deg) translate3d(0px, -50%, 0px);
-webkit-transform: rotate(0deg) translate3d(0px, -50%, 0px);
transform: rotate(0deg) translate3d(0px, -50%, 0px);
border-width: 4px 4px 0 4px;
border-style: solid;
border-color: #6c7a86 transparent transparent;
}
.selectr-container.open .selectr-selected::before,
.selectr-container.native-open .selectr-selected::before {
border-width: 0 4px 4px 4px;
border-style: solid;
border-color: transparent transparent #6c7a86;
}
.selectr-label {
display: none;
overflow: hidden;
width: 100%;
white-space: nowrap;
text-overflow: ellipsis;
}
.selectr-placeholder {
color: #6c7a86;
}
.selectr-tags {
margin: 0;
padding: 0;
white-space: normal;
}
.has-selected .selectr-tags {
margin: 0 0 -2px;
}
.selectr-tag {
list-style: none;
position: relative;
float: left;
padding: 2px 25px 2px 8px;
margin: 0 2px 2px 0;
cursor: default;
color: #fff;
border: medium none;
border-radius: 10px;
background: #acb7bf none repeat scroll 0 0;
}
.selectr-container.multiple.has-selected .selectr-selected {
padding: 5px 28px 5px 5px;
}
.selectr-options-container {
position: absolute;
z-index: 10000;
top: calc(100% - 1px);
left: 0;
display: none;
box-sizing: border-box;
width: 100%;
border-width: 0 1px 1px;
border-style: solid;
border-color: transparent #999 #999;
border-radius: 0 0 3px 3px;
background-color: #fff;
}
.selectr-container.open .selectr-options-container {
display: block;
}
.selectr-input-container {
position: relative;
display: none;
}
.selectr-clear,
.selectr-input-clear,
.selectr-tag-remove {
position: absolute;
top: 50%;
right: 22px;
width: 20px;
height: 20px;
padding: 0;
cursor: pointer;
-o-transform: translate3d(0px, -50%, 0px);
-ms-transform: translate3d(0px, -50%, 0px);
-moz-transform: translate3d(0px, -50%, 0px);
-webkit-transform: translate3d(0px, -50%, 0px);
transform: translate3d(0px, -50%, 0px);
border: medium none;
background-color: transparent;
z-index: 11;
}
.selectr-clear,
.selectr-input-clear {
display: none;
}
.selectr-container.has-selected .selectr-clear,
.selectr-input-container.active .selectr-input-clear {
display: block;
}
.selectr-selected .selectr-tag-remove {
right: 2px;
}
.selectr-clear::before,
.selectr-clear::after,
.selectr-input-clear::before,
.selectr-input-clear::after,
.selectr-tag-remove::before,
.selectr-tag-remove::after {
position: absolute;
top: 5px;
left: 9px;
width: 2px;
height: 10px;
content: ' ';
background-color: #6c7a86;
}
.selectr-tag-remove::before,
.selectr-tag-remove::after {
top: 4px;
width: 3px;
height: 12px;
background-color: #fff;
}
.selectr-clear:before,
.selectr-input-clear::before,
.selectr-tag-remove::before {
-o-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.selectr-clear:after,
.selectr-input-clear::after,
.selectr-tag-remove::after {
-o-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.selectr-input-container.active,
.selectr-input-container.active .selectr-clear {
display: block;
}
.selectr-input {
top: 5px;
left: 5px;
box-sizing: border-box;
width: calc(100% - 30px);
margin: 10px 15px;
padding: 7px 30px 7px 9px;
border: 1px solid #999;
border-radius: 3px;
}
.selectr-notice {
display: none;
box-sizing: border-box;
width: 100%;
padding: 8px 16px;
border-top: 1px solid #999;
border-radius: 0 0 3px 3px;
background-color: #fff;
}
.selectr-container.notice .selectr-notice {
display: block;
}
.selectr-container.notice .selectr-selected {
border-radius: 3px 3px 0 0;
}
.selectr-options {
position: relative;
top: calc(100% + 2px);
display: none;
overflow-x: auto;
overflow-y: scroll;
max-height: 200px;
margin: 0;
padding: 0;
}
.selectr-container.open .selectr-options,
.selectr-container.open .selectr-input-container,
.selectr-container.notice .selectr-options-container {
display: block;
}
.selectr-option {
position: relative;
display: block;
padding: 5px 20px;
list-style: outside none none;
cursor: pointer;
font-weight: normal;
}
.selectr-options.optgroups > .selectr-option {
padding-left: 25px;
}
.selectr-optgroup {
font-weight: bold;
padding: 0;
}
.selectr-optgroup--label {
font-weight: bold;
margin-top: 10px;
padding: 5px 15px;
}
.selectr-match {
text-decoration: underline;
}
.selectr-option.selected {
background-color: #ddd;
}
.selectr-option.active {
color: #fff;
background-color: #5897fb;
}
.selectr-option.disabled {
opacity: 0.4;
}
.selectr-option.excluded {
display: none;
}
.selectr-container.open .selectr-selected {
border-color: #999 #999 transparent #999;
border-radius: 3px 3px 0 0;
}
.selectr-container.open .selectr-selected::after {
-o-transform: rotate(180deg) translate3d(0px, 50%, 0px);
-ms-transform: rotate(180deg) translate3d(0px, 50%, 0px);
-moz-transform: rotate(180deg) translate3d(0px, 50%, 0px);
-webkit-transform: rotate(180deg) translate3d(0px, 50%, 0px);
transform: rotate(180deg) translate3d(0px, 50%, 0px);
}
.selectr-disabled {
opacity: .6;
}
.selectr-empty,
.has-selected .selectr-placeholder {
display: none;
}
.has-selected .selectr-label {
display: block;
}
/* TAGGABLE */
.taggable .selectr-selected {
padding: 4px 28px 4px 4px;
}
.taggable .selectr-selected::after {
display: table;
content: " ";
clear: both;
}
.taggable .selectr-label {
width: auto;
}
.taggable .selectr-tags {
float: left;
display: block;
}
.taggable .selectr-placeholder {
display: none;
}
.input-tag {
float: left;
min-width: 90px;
width: auto;
}
.selectr-tag-input {
border: medium none;
padding: 3px 10px;
width: 100%;
font-family: inherit;
font-weight: inherit;
font-size: inherit;
}
.selectr-input-container.loading::after {
position: absolute;
top: 50%;
right: 20px;
width: 20px;
height: 20px;
content: '';
-o-transform: translate3d(0px, -50%, 0px);
-ms-transform: translate3d(0px, -50%, 0px);
-moz-transform: translate3d(0px, -50%, 0px);
-webkit-transform: translate3d(0px, -50%, 0px);
transform: translate3d(0px, -50%, 0px);
-o-transform-origin: 50% 0 0;
-ms-transform-origin: 50% 0 0;
-moz-transform-origin: 50% 0 0;
-webkit-transform-origin: 50% 0 0;
transform-origin: 50% 0 0;
-moz-animation: 500ms linear 0s normal forwards infinite running spin;
-webkit-animation: 500ms linear 0s normal forwards infinite running spin;
animation: 500ms linear 0s normal forwards infinite running spin;
border-width: 3px;
border-style: solid;
border-color: #aaa #ddd #ddd;
border-radius: 50%;
}
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg) translate3d(0px, -50%, 0px);
transform: rotate(0deg) translate3d(0px, -50%, 0px);
}
100% {
-webkit-transform: rotate(360deg) translate3d(0px, -50%, 0px);
transform: rotate(360deg) translate3d(0px, -50%, 0px);
}
}
@keyframes spin {
0% {
-webkit-transform: rotate(0deg) translate3d(0px, -50%, 0px);
transform: rotate(0deg) translate3d(0px, -50%, 0px);
}
100% {
-webkit-transform: rotate(360deg) translate3d(0px, -50%, 0px);
transform: rotate(360deg) translate3d(0px, -50%, 0px);
}
}
.selectr-container.open.inverted .selectr-selected {
border-color: transparent #999 #999;
border-radius: 0 0 3px 3px;
}
.selectr-container.inverted .selectr-options-container {
border-width: 1px 1px 0;
border-color: #999 #999 transparent;
border-radius: 3px 3px 0 0;
background-color: #fff;
}
.selectr-container.inverted .selectr-options-container {
top: auto;
bottom: calc(100% - 1px);
}
.selectr-container ::-webkit-input-placeholder {
color: #6c7a86;
opacity: 1;
}
.selectr-container ::-moz-placeholder {
color: #6c7a86;
opacity: 1;
}
.selectr-container :-ms-input-placeholder {
color: #6c7a86;
opacity: 1;
}
.selectr-container ::placeholder {
color: #6c7a86;
opacity: 1;
}