310 lines
6.0 KiB
Plaintext
310 lines
6.0 KiB
Plaintext
/*
|
||
|
||
Copyright 2010, Google Inc.
|
||
All rights reserved.
|
||
|
||
Redistribution and use in source and binary forms, with or without
|
||
modification, are permitted provided that the following conditions are
|
||
met:
|
||
|
||
* Redistributions of source code must retain the above copyright
|
||
notice, this list of conditions and the following disclaimer.
|
||
* Redistributions in binary form must reproduce the above
|
||
copyright notice, this list of conditions and the following disclaimer
|
||
in the documentation and/or other materials provided with the
|
||
distribution.
|
||
* Neither the name of Google Inc. nor the names of its
|
||
contributors may be used to endorse or promote products derived from
|
||
this software without specific prior written permission.
|
||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||
|
||
*/
|
||
|
||
@import-less url("../theme.less");
|
||
|
||
.schema-alignment-dialog-canvas {
|
||
padding: 0px
|
||
margin-top: 3px;
|
||
background: white;
|
||
}
|
||
|
||
.schema-alignment-dialog-statements-area {
|
||
padding: 10px;
|
||
max-height: 350px;
|
||
min-height: 250px;
|
||
overflow-y: scroll;
|
||
}
|
||
|
||
.schema-alignment-dialog-columns-area {
|
||
border: 1px solid #bcf;
|
||
padding: 5px;
|
||
max-height: 100px;
|
||
overflow-y: scroll;
|
||
}
|
||
|
||
.wbs-draggable-column {
|
||
border: 1px solid #aaa;
|
||
padding: 2px;
|
||
margin: 2px;
|
||
background-color: #eee;
|
||
display: inline-block;
|
||
padding-bottom: 3px;
|
||
}
|
||
|
||
.wbs-reconciled-column {
|
||
border-bottom: 3px solid #282;
|
||
padding-bottom: 1px;
|
||
}
|
||
|
||
.wbs-accepting-input {
|
||
box-shadow: inset 0 0 10px #a7cdff;
|
||
}
|
||
|
||
.wbs-item-input, .wbs-prop-input, .wbs-target-input {
|
||
width: 160px;
|
||
height: 20px;
|
||
/* border: 1px solid #a2a9b1; */
|
||
display: inline-block;
|
||
/* background: white; */
|
||
margin: 5px;
|
||
}
|
||
|
||
.wbs-prop-input {
|
||
width: 120px;
|
||
}
|
||
|
||
.wbs-qualifier .wbs-prop-input {
|
||
width: 85px;
|
||
}
|
||
|
||
.wbs-item-input input, .wbs-prop-input input, .wbs-target-input input {
|
||
width: 100%;
|
||
}
|
||
|
||
.wbs-draggable-column img {
|
||
float: right;
|
||
}
|
||
|
||
.wbs-toolbar {
|
||
float: right;
|
||
width: 100px;
|
||
padding: 2px;
|
||
}
|
||
|
||
.wbs-add-item, .wbs-add-statement-group, .wbs-add-statement,
|
||
.wbs-add-qualifier, .wbs-add-reference, .wbs-add-namedesc {
|
||
color: #0645ad !important;
|
||
font-size: 0.9em;
|
||
}
|
||
|
||
.wbs-statement-group-container, .wbs-statement-container, .wbs-qualifier-container, .wbs-reference-container {
|
||
width: 100%;
|
||
display: block;
|
||
overflow: auto;
|
||
}
|
||
|
||
.wbs-item, .wbs-statement-group, .wbs-statement, .wbs-qualifier, .wbs-reference {
|
||
display: block;
|
||
overflow: auto;
|
||
}
|
||
|
||
.wbs-statement-group {
|
||
background: #eaecf0;
|
||
margin-bottom: 5px;
|
||
}
|
||
|
||
.wbs-statement {
|
||
background: white;
|
||
}
|
||
|
||
.wbs-right {
|
||
float: right;
|
||
width: 75%;
|
||
}
|
||
|
||
.wbs-statement-group .wbs-right {
|
||
width: 70%;
|
||
}
|
||
|
||
.wbs-statement .wbs-right {
|
||
width: 90%;
|
||
}
|
||
|
||
.wbs-qualifier, .wbs-reference {
|
||
position: relative;
|
||
overflow-x: hidden;
|
||
}
|
||
|
||
.wbs-qualifier .wbs-right {
|
||
width: 71%;
|
||
position: absolute;
|
||
top: 0px;
|
||
margin-left: 100px;
|
||
}
|
||
|
||
.wbs-reference > .wbs-right {
|
||
width: 100%;
|
||
}
|
||
|
||
.wbs-references-toggle {
|
||
width: 12em;
|
||
margin: 5px;
|
||
}
|
||
|
||
.wbs-references-toggle a {
|
||
color: #0645ad !important;
|
||
}
|
||
|
||
.wbs-qualifier .wbs-target-input {
|
||
width: 90px;
|
||
}
|
||
|
||
.wbs-qualifier .wbs-statement {
|
||
overflow: hidden;
|
||
}
|
||
|
||
.wbs-monolingual-container {
|
||
display: inline-block;
|
||
}
|
||
|
||
.wbs-reference-header {
|
||
height: 20px;
|
||
overflow: auto;
|
||
display: block;
|
||
background-color: #b6c8ec;
|
||
}
|
||
|
||
.wbs-reference {
|
||
background-color: #eaf3ff;
|
||
margin-bottom: 5px;
|
||
}
|
||
|
||
.wbs-reference .wbs-statement {
|
||
background-color: #eaf3ff;
|
||
}
|
||
|
||
.wbs-namedesc {
|
||
background-color: #eaecf0;
|
||
padding: 5px;
|
||
}
|
||
|
||
.wbs-namedesc-type, .wbs-namedesc-value {
|
||
display: inline-block;
|
||
}
|
||
|
||
.wbs-namedesc-value {
|
||
padding-left: 71px;
|
||
width: 200px;
|
||
}
|
||
|
||
.wbs-language-input {
|
||
width: 100%;
|
||
}
|
||
|
||
.schema-alignment-columns-header {
|
||
margin-bottom: 0.3em;
|
||
}
|
||
|
||
/*** Warnings rendering ****/
|
||
|
||
.schema-alignment-dialog-warnings h1 {
|
||
font-size: 1.2em;
|
||
}
|
||
|
||
.schema-alignment-dialog-warnings table {
|
||
width: 100%;
|
||
}
|
||
|
||
tr.wb-warning:nth-of-type(odd) {
|
||
background-color: #f2f2f2;
|
||
}
|
||
|
||
.wb-warning-count span {
|
||
color: white;
|
||
background-color: #777;
|
||
padding: 0px 5px;
|
||
border-radius: 0.5em;
|
||
}
|
||
|
||
.wb-warning-severity {
|
||
width: 60px;
|
||
height: 60px;
|
||
background-repeat: no-repeat;
|
||
background-position: center;
|
||
}
|
||
|
||
.wb-warning-severity-INFO {
|
||
background-image: url('../../images/Information.png');
|
||
}
|
||
|
||
.wb-warning-severity-WARNING {
|
||
background-image: url('../../images/Warning.png');
|
||
}
|
||
|
||
.wb-warning-severity-IMPORTANT {
|
||
background-image: url('../../images/Important.png');
|
||
}
|
||
|
||
.wb-warning-severity-CRITICAL {
|
||
background-image: url('../../images/Critical.png');
|
||
}
|
||
|
||
.wb-warning-body {
|
||
padding: 5px;
|
||
vertical-align: top;
|
||
}
|
||
|
||
.wb-warning-count {
|
||
padding: 5px;
|
||
vertical-align: middle;
|
||
text-align: center;
|
||
}
|
||
|
||
.wb-warning-end {
|
||
float: clear;
|
||
}
|
||
|
||
div.schema-alignment-dialog-warnings {
|
||
min-height: 340px;
|
||
max-height: 400px;
|
||
overflow-x: hidden;
|
||
overflow-y: scroll;
|
||
}
|
||
|
||
.wb-issue-preformat {
|
||
border: 1px solid #eaecf0;
|
||
background-color: #f8f9fa;
|
||
padding: 1px 3px;
|
||
border-radius: 2px;
|
||
font-family: monospace;
|
||
}
|
||
|
||
.wb-preview-new-entity {
|
||
color: #11c;
|
||
}
|
||
|
||
/*** QuickStatements Preview ***/
|
||
|
||
div.schema-alignment-dialog-preview {
|
||
min-height: 340px;
|
||
max-height: 400px;
|
||
overflow: auto;
|
||
background: white;
|
||
padding: 10px;
|
||
margin-top: 3px;
|
||
white-space: pre;
|
||
font-family: monospace;
|
||
font-size: 9pt;
|
||
}
|