@senx/discovery-code
Version:
Discovery Code Editor
31 lines • 1.24 kB
CSS
/*
* Copyright 2022-2023 SenX S.A.S.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
:host, discovery-code-image-result {
height: 100%;
display: block;
}
:host .wrapper-result, discovery-code-image-result .wrapper-result {
padding: 10px;
}
:host img, discovery-code-image-result img {
border-style: solid;
border-color: var(--warp-view-image-border-color, #404040);
border-width: 1.1px;
background-color: #fff;
background-image: linear-gradient(45deg, #efefef 25%, transparent 25%, transparent 75%, #efefef 75%, #efefef), linear-gradient(45deg, #efefef 25%, transparent 25%, transparent 75%, #efefef 75%, #efefef);
background-position: 0 0, 10px 10px;
background-size: 21px 21px;
}