wed
Version:
Wed is a schema-aware editor for XML documents.
411 lines (410 loc) • 8.78 kB
CSS
.wed-context-menu .dropdown-menu li > div {
display: block;
padding: 3px 20px;
clear: both;
font-weight: normal;
line-height: 1.42857143;
color: #333;
white-space: nowrap;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-o-box-sizing: border-box;
box-sizing: border-box;
}
.container {
max-width: none;
}
.modal-dialog:not(.modal-sm) {
width: auto;
}
.wed-context-menu-backdrop,
.wed-typeahead-popup-backdrop {
position: fixed;
z-index: 2;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
background-color: white;
opacity: 0;
}
.wed-context-menu {
position: fixed;
z-index: 3;
}
.wed-context-menu .dropdown-menu {
overflow-y: auto;
}
.wed-context-menu .dropdown-menu .btn-group > .btn {
float: none;
}
.wed-context-menu .fa-times,
.wed-context-menu .fa-caret-square-o-up,
.wed-context-menu .fa-exclamation {
color: red;
}
.wed-context-menu .fa-plus,
.wed-context-menu .fa-caret-square-o-down {
color: green;
}
.wed-typeahead-popup {
position: absolute;
z-index: 3;
background-color: white;
}
.wed-typeahead-popup .twitter-typeahead {
font-size: 18px;
width: 100%;
}
.wed-typeahead-popup .twitter-typeahead .form-control {
font-size: 18px;
}
.wed-typeahead-popup .twitter-typeahead .tt-menu {
background-color: white;
width: 100%;
overflow: auto;
font-size: 18px;
}
.wed-typeahead-popup .twitter-typeahead .tt-menu > div {
padding-left: 3px;
}
.wed-typeahead-popup .twitter-typeahead .tt-menu .tt-suggestion {
margin: 0px;
padding-top: 0px;
padding-bottom: 0px;
}
.wed-typeahead-popup .twitter-typeahead .tt-hint {
color: #999;
}
.wed-typeahead-popup .spinner {
position: absolute;
top: 0.5em;
left: 0.5em;
}
.wed-cut-buffer {
position: fixed;
top: -1000px;
left: -1000px;
width: 1px;
height: 1px;
}
.wed-build-info {
font-size: 12px;
}
.wed-widget {
font-size: 24px;
line-height: 1.2em;
}
.wed-widget .wed-validation-error {
color: red;
opacity: 0.7;
border-style: solid;
border-top-width: 2px;
border-bottom-width: 2px;
width: 1px;
display: inline-block;
vertical-align: middle;
}
.wed-widget .wed-validation-error.selected {
animation: blink 1s infinite;
-webkit-animation: blink 1s infinite;
}
.wed-widget .wed-sidebar-panel {
margin: 0px;
}
.wed-widget .wed-sidebar-panel .panel {
overflow: visible;
}
.wed-widget .wed-sidebar-panel .panel .panel-body {
overflow-y: auto;
padding: 0;
}
.wed-widget .wed-sidebar-panel .panel .panel-body .wed-errorlist li.selected {
animation: blink 1s infinite;
-webkit-animation: blink 1s infinite;
}
.wed-widget .nav > li > a {
padding: 0px;
}
.wed-widget .fa-times {
color: red;
}
.wed-widget .fa-plus {
color: green;
}
.wed-widget .wed-toolbar .wed-toolbar-divider {
height: 1em;
margin: 0 0.1em;
padding: 0 0.05em;
border-left: 2px solid black;
border-right: 2px solid black;
}
div.wed-document-constrainer {
position: relative;
overflow: hidden;
}
div.wed-document-constrainer .wed-comp-field {
position: absolute;
z-index: -10;
top: 0px;
left: 0px;
width: 1em;
}
div.wed-document-constrainer .wed-caret-layer {
position: absolute;
z-index: 1;
background-color: white;
pointer-events: none;
mix-blend-mode: multiply;
}
div.wed-document-constrainer .wed-caret-layer ._wed_caret {
position: absolute;
background-color: black;
white-space: pre;
border-style: none;
display: inline-block;
max-width: 1px;
min-height: 100%;
animation: caret 1s linear infinite;
-webkit-animation: caret 1s linear infinite;
}
div.wed-document-constrainer .wed-caret-layer ._wed_highlight {
position: absolute;
background-color: yellow;
mix-blend-mode: multiply;
}
div.wed-document-constrainer .wed-scroller {
overflow-y: auto;
border-style: solid;
border-width: 1px;
background-color: white;
position: relative;
}
div.wed-document-constrainer .wed-scroller .wed-error-layer {
position: relative;
z-index: 2;
background-color: white;
pointer-events: none;
}
div.wed-document-constrainer .wed-scroller .wed-error-layer * {
pointer-events: auto;
position: absolute;
}
div.wed-frame ._gui._label > span {
display: inline-block;
line-height: 1;
margin: 0.25em 0em;
}
div.wed-frame ._gui._label {
text-indent: 0em;
/* This restores the bootstrap 2 style. */
font-size: 16px;
display: inline-block;
background-color: #3a87ad;
color: white;
line-height: 1;
text-align: center;
white-space: nowrap;
vertical-align: middle;
border-radius: .25em;
border-style: none;
}
div.wed-frame ._gui._invisible {
display: none;
}
div.wed-frame div.wed-document.inhibit_attribute_hiding ._gui._label ._attribute._shown_when_caret_in_label {
display: initial;
}
div.wed-frame div.wed-document.inhibit_attribute_hiding ._gui._label._autohidden_attributes ._greater_than::before {
display: none;
}
div.wed-frame div.wed-document ._gui._label._autohidden_attributes ._greater_than::before {
content: "\00a0...\00a0";
font-weight: bold;
}
div.wed-frame div.wed-document ._gui._label ._attribute_value {
color: black;
background-color: white;
}
div.wed-frame div.wed-document ._gui._label ._attribute._readonly ._attribute_value {
background-color: #ff8566;
}
div.wed-frame div.wed-document ._gui._label ._attribute._shown_when_caret_in_label {
display: none;
}
div.wed-frame div.wed-document ._gui._label._label_clicked {
background-color: #f0ad4e;
}
div.wed-frame div.wed-document ._gui._label._with_caret ._attribute._shown_when_caret_in_label {
display: initial;
}
div.wed-frame div.wed-document ._gui._label._with_caret._autohidden_attributes ._greater_than::before {
display: none;
}
div.wed-frame div.wed-document div {
word-wrap: normal;
}
div.wed-frame div.wed-document div._phantom {
background-color: #C0C0C0;
white-space: normal;
}
div.wed-frame div.wed-document div._phantom._gui {
background-color: white;
}
div.wed-frame div.wed-document div._phantom._text {
display: inline;
}
div.wed-frame div.wed-document div._phantom._decoration_text {
display: inline;
}
div.wed-frame div.wed-document div._real {
display: block;
background-color: transparent;
white-space: normal;
margin-left: 1em;
}
div.wed-frame div.wed-document div._real._inline {
display: inline;
margin-left: 0em;
}
div.wed-frame div.wed-document div._real._owns_caret {
background-color: #FFFFCC;
background-image: none;
}
div.wed-frame div.wed-document div._real._readonly {
background-color: #ff8566;
}
div.wed-frame div.wed-document ._placeholder {
text-indent: 0px;
border-style: solid;
white-space: pre;
}
div.wed-frame div.wed-document ._placeholder._owns_caret {
background-color: #C0C0C0;
animation: blink 1s infinite;
-webkit-animation: blink 1s infinite;
}
div.wed-frame div.wed-location-bar {
border: black 1px solid;
padding-left: 0.5ex;
}
div.wed-frame div.wed-minibuffer {
display: flex;
border: black 1px solid;
}
div.wed-frame div.wed-minibuffer input {
flex: 2;
}
@keyframes blink {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@-webkit-keyframes blink {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@keyframes caret {
0% {
opacity: 0;
}
49% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 1;
}
}
@-webkit-keyframes caret {
0% {
opacity: 0;
}
49% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 1;
}
}
/* Bootstrap styling */
.tooltip {
font-size: 16px;
line-height: 1.2em;
white-space: normal;
font-weight: normal;
}
.tooltip-inner {
background-color: #FFEF93;
color: black;
text-indent: 0em;
}
.wed-sidebar {
font-size: 16px;
}
.label {
text-indent: 0em;
/* This restores the bootstrap 2 style. */
font-size: 12px;
font-weight: bold;
display: inline-block;
}
.label-info {
/* This restores the bootstrap 2 style. */
background-color: #3a87ad;
}
.dropdown-menu > li > a,
.wed-context-menu .dropdown-menu li > div {
/* This restores the bootstrap 2 style. */
line-height: 1;
}
.modal {
position: absolute;
}
.modal .modal-body {
/* See https://github.com/twitter/bootstrap/issues/6344 if there are
issues with typeaheads */
overflow-y: auto;
}
#validation-progress {
-webkit-transition: width 0 ease 0;
-moz-transition: width 0 ease 0;
-o-transition: width 0 ease 0;
transition: width 0 ease 0;
}
.progress {
margin-bottom: inherit;
height: 28px;
/* The next stylings are to allow text over progress bars */
/* Styling to allow text over progress bars ends here */
}
.progress span {
position: absolute;
left: 0;
color: black;
z-index: 2;
font-size: 16px;
text-align: center;
width: 100%;
}