packages/chrome-extension/resources/style.css (164 lines of code) (raw):

/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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. */ .kogito-iframe.fullscreen { width: 100vw; height: 100vh; border: 0; } .kogito-iframe.not-fullscreen { width: 100%; height: 600px; border: 1px solid lightgrey; border-radius: 4px; } .kogito-iframe-fullscreen-toolbar { background-color: #0066cc; border-radius: 3px; width: 136px; height: 36px; position: absolute; left: 0; right: 0; margin: 0 auto; z-index: 1000; text-align: center; } .kogito-iframe-fullscreen-toolbar:hover { pointer-events: visible; background-color: #004080; } .kogito-iframe-fullscreen-toolbar a { color: white; font-weight: 400; font-size: 1rem; line-height: 1.5; padding: 0.375rem 0; display: block; width: 100%; height: 100%; } .kogito-iframe-fullscreen-toolbar a:hover { text-decoration: none; } .kogito-iframe-container.edit { margin: 16px; } .kogito-iframe-container.view { margin: -1px 0 0 0; } .kogito-toolbar-container.view { margin: 16px 0 16px 0; flex-direction: row-reverse !important; justify-content: space-between; } .kogito-toolbar-container.edit { flex-direction: row-reverse !important; justify-content: space-between; } .kogito-iframe-fullscreen-container { width: 100vw; height: 100vh; position: absolute; top: 0; z-index: 999; border: none; overflow: hidden; } .kogito-button { margin-left: 4px; float: right; } .hidden { display: none; } .breadcrumb { align-items: flex-end !important; } .kogito-menu-icon { cursor: pointer; margin-left: 16px; height: 20px; filter: grayscale(1); } .kogito-menu-icon.authenticated { filter: none; } .kogito-menu-icon.authenticated:hover { filter: brightness(1.5); } .kogito-github-token-input { margin-right: 6px; width: 320px; font-family: monospace; font-weight: 100; } .kogito-github-token-input.authenticated { color: #959595; } .kogito-github-action-alert { background-color: #1f1f1f; color: #ffffff; text-align: center; padding: 3px 10px; font-size: 12px; line-height: 20px; } .kogito-github-action-alert:after { border-bottom-color: #1f1f1f; } .info-icon-container { margin-left: -9px !important; font-size: 0.8em; padding: 0.25em; border-radius: 50px; border: 2px solid #3f92f9 !important; font-family: monospace; text-align: center; color: #3f92f9 !important; margin-top: 2px; } .info-icon-container:hover { filter: brightness(1.5); } .info-popover > h3 { color: #105fa5; } .info-popover { position: absolute; margin-left: -9px; z-index: 9999; top: 30px; width: 413px; border: 1px solid darkgray; border-radius: 3px; background-color: white !important; color: black !important; padding: 8px; font-size: 1em; filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.2)); } /* icons */ b.icon { position: absolute; top: 7px; right: 10px; width: 1em; height: 1em; display: flex; align-items: center; justify-content: space-between; } b.icon.tick:before { content: "✔"; font-size: 0.8em; filter: brightness(1.5) invert(0.7) sepia(0.5) hue-rotate(100deg) saturate(5); /*that turns black into green*/ } b.icon.cross:before { content: "❌"; font-size: 0.6em; } .kogito-open-repo-in-external-editor-container-container a { display: flex !important; align-items: center; } .kogito-open-repo-in-external-editor-container-container a img { height: 1em; margin-right: 8px; }