123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230 |
- /*
- * Copyright 2018-2022 Elyra Authors
- *
- * 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.
- */
- /* MetadataWidget CSS */
- .elyra-metadata {
- color: var(--jp-ui-font-color1);
- background: var(--jp-layout-color1);
- }
- .elyra-metadata a,
- .elyra-metadataEditor a {
- color: var(--jp-content-link-color);
- }
- .elyra-metadataHeader {
- font-weight: bold;
- padding: 8px 10px;
- display: flex;
- justify-content: space-between;
- }
- .elyra-metadataHeader p {
- font-weight: bold;
- }
- .elyra-metadataHeader-popper {
- z-index: 100;
- }
- .elyra-metadataHeader-button:hover {
- background-color: var(--jp-layout-color2);
- cursor: pointer;
- }
- .elyra-metadataHeader [fill] {
- fill: var(--jp-ui-font-color1);
- }
- .elyra-metadataHeader + div:first-of-type {
- overflow-y: auto;
- height: calc(100vh - 95px);
- }
- .elyra-metadata-item {
- border-bottom: var(--jp-border-width) solid var(--jp-border-color2);
- display: flex;
- flex-direction: column;
- margin: 0;
- padding: 0;
- }
- .elyra-metadata-item .elyra-expandableContainer-details-visible {
- background-color: var(--jp-cell-editor-background);
- resize: vertical;
- }
- .elyra-metadata-item .CodeMirror.cm-s-jupyter {
- background-color: inherit;
- border: none;
- font-family: var(--jp-code-font-family);
- font-size: var(--jp-code-font-size);
- line-height: var(--jp-code-line-height);
- }
- .elyra-metadata-item .cm-s-jupyter li .cm-string {
- word-break: normal;
- }
- /* Metadata Editor CSS (a lot of the style for the metadata editor is in
- * the ui-components package under formeditor.css
- */
- .elyra-metadataEditor {
- padding: 20px;
- display: flex;
- flex-wrap: wrap;
- height: 100%;
- align-content: flex-start;
- align-items: flex-start;
- justify-content: flex-start;
- color: var(--jp-ui-font-color1);
- }
- /* Code Snippet Filter CSS */
- .elyra-searchbar {
- margin: 0px 8px;
- }
- .elyra-filterTools {
- border-bottom: var(--jp-border-width) solid var(--jp-border-color1);
- }
- mark.elyra-search-bolding {
- background-color: transparent;
- font-weight: bold;
- color: var(--jp-ui-font-color0);
- }
- .elyra-filter {
- display: flex;
- flex-direction: column;
- align-items: center;
- margin: 10px 10px 0 10px;
- }
- .elyra-filter .elyra-filter-btn {
- align-self: flex-end;
- padding: 0px;
- margin-bottom: 5px;
- border-radius: 5px;
- border: none;
- background: none;
- cursor: pointer;
- }
- .elyra-filter .elyra-filter-btn:hover {
- background-color: var(--jp-layout-color2);
- }
- .elyra-filter-btn svg {
- display: block;
- width: 30px;
- height: 22px;
- }
- .elyra-filter-arrow-up.idle,
- .elyra-filter-option.idle {
- display: none;
- }
- .elyra-filter-arrow-up {
- position: absolute;
- margin-top: 16px;
- margin-right: 38px;
- align-self: flex-end;
- background-color: var(--jp-layout-color0);
- }
- .elyra-filter-option {
- border: var(--jp-border-width) solid var(--jp-border-color1);
- height: 140px;
- width: 100%;
- margin-bottom: 10px;
- padding-top: 5px;
- padding-bottom: 5px;
- overflow: auto;
- }
- .elyra-filter-tags {
- margin: 8px 8px;
- }
- .elyra-filter-tag {
- margin-left: 3px;
- margin-right: 3px;
- }
- button.elyra-filter-tag {
- height: 24px;
- padding: 0 12px;
- cursor: pointer;
- color: var(--jp-ui-font-color2);
- font-size: var(--jp-ui-font-size1);
- }
- button.elyra-filter-tag .elyra-filter-tag-label {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- button.elyra-filter-tag span,
- button.elyra-filter-tag svg {
- pointer-events: none;
- }
- .elyra-filter-empty {
- font-size: var(--jp-ui-font-size1);
- }
- .elyra-tools {
- border-bottom: var(--jp-border-width) solid var(--jp-border-color1);
- }
- .elyra-metadataEditor-saveButton button {
- background: none;
- border: 1px solid var(--jp-border-color1);
- border-radius: 3px;
- padding: 10px;
- font-size: var(--jp-content-font-size2);
- width: fit-content;
- color: var(--jp-content-font-color0);
- cursor: pointer;
- }
- .elyra-metadataEditor-saveButton button:hover {
- background: var(--jp-border-color3);
- }
- .elyra-metadataEditor-saveButton.errorForm {
- color: var(--jp-content-font-color3);
- }
- .elyra-metadataEditor-saveButton.errorForm button {
- border-color: var(--jp-content-font-color3);
- cursor: not-allowed;
- }
- .elyra-no-metadata-msg {
- padding-left: 8px;
- }
- #split-button-menu {
- color: var(--jp-ui-font-color1);
- background-color: var(--jp-layout-color1);
- border: var(--jp-border-width) solid var(--jp-border-color0);
- border-radius: 5px;
- }
|