| /* |
| * 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. |
| */ |
| |
| .form-field .terminal-color-scheme-field { |
| max-width: 320px; |
| } |
| |
| .form-field .terminal-color-scheme-field select { |
| width: 100%; |
| } |
| |
| .form-field .terminal-color-scheme-field .custom-color-scheme { |
| background: #EEE; |
| padding: 0.5em; |
| border: 1px solid silver; |
| border-spacing: 0; |
| margin-top: -2px; |
| width: 100%; |
| } |
| |
| .form-field .terminal-color-scheme-field .custom-color-scheme th { |
| text-align: left; |
| font-weight: normal; |
| vertical-align: top; |
| width: 0; |
| } |
| |
| .form-field .terminal-color-scheme-field .custom-color-scheme td { |
| width: 100%; |
| margin: 0; |
| padding: 0; |
| } |
| |
| .form-field .terminal-color-scheme-field .custom-color-scheme .palette-group { |
| display: flex; |
| flex-wrap: wrap; |
| flex: 1; |
| } |
| |
| .form-field .terminal-color-scheme-field .custom-color-scheme .guac-input-color { |
| display: block; |
| margin: 2px; |
| flex: 1; |
| width: 1.5em; |
| height: 1.5em; |
| min-width: 1.25em; |
| border-radius: 0.15em; |
| line-height: 1.5em; |
| text-align: center; |
| font-size: 0.75em; |
| cursor: pointer; |
| } |
| |
| /* |
| * Color button font colors |
| */ |
| |
| .form-field .terminal-color-scheme-field .custom-color-scheme .guac-input-color { |
| color: black; |
| } |
| |
| .form-field .terminal-color-scheme-field .custom-color-scheme .guac-input-color.dark { |
| color: white; |
| } |
| |
| .form-field .terminal-color-scheme-field .custom-color-scheme .palette .guac-input-color { |
| font-weight: bold; |
| } |
| |
| /* Hide palette numbers unless color scheme details are visible */ |
| .form-field .terminal-color-scheme-field.custom-color-scheme-details-hidden .custom-color-scheme .palette .guac-input-color { |
| color: transparent; |
| } |
| |
| /* |
| * Custom color scheme details header |
| */ |
| |
| .form-field .terminal-color-scheme-field .custom-color-scheme-details-header { |
| font-size: 0.8em; |
| margin: 0.5em 0; |
| padding: 0; |
| } |
| |
| .form-field .terminal-color-scheme-field .custom-color-scheme-details-header::before { |
| content: '▸ '; |
| } |
| |
| .form-field .terminal-color-scheme-field.custom-color-scheme-details-visible .custom-color-scheme-details-header::before { |
| content: '▾ '; |
| } |
| |
| /* |
| * Details show/hide link |
| */ |
| |
| /* Render show/hide as a link */ |
| .form-field .terminal-color-scheme-field .custom-color-scheme-hide-details, |
| .form-field .terminal-color-scheme-field .custom-color-scheme-show-details { |
| color: blue; |
| text-decoration: underline; |
| cursor: pointer; |
| margin: 0 0.25em; |
| font-weight: normal; |
| } |
| |
| .form-field .terminal-color-scheme-field .custom-color-scheme-hide-details { |
| display: none; |
| } |
| |
| .form-field .terminal-color-scheme-field.custom-color-scheme-details-visible .custom-color-scheme-hide-details { |
| display: inline; |
| } |
| |
| .form-field .terminal-color-scheme-field.custom-color-scheme-details-visible .custom-color-scheme-show-details { |
| display: none; |
| } |
| |
| /* |
| * Color scheme details |
| */ |
| |
| .form-field .terminal-color-scheme-field .custom-color-scheme-details { |
| display: none; |
| } |
| |
| .form-field .terminal-color-scheme-field.custom-color-scheme-details-visible .custom-color-scheme-details { |
| display: block; |
| width: 100%; |
| margin: 0.5em 0; |
| } |
| |
| /* |
| * Color picker |
| */ |
| |
| /* Increase width of color picker to allow two even rows of eight color |
| * swatches */ |
| .guac-input-color-picker[data-theme="monolith"] { |
| width: 16.25em; |
| } |
| |
| /* Remove Guacamole-specific styles inherited from the generic button rules */ |
| .guac-input-color-picker[data-theme="monolith"] button { |
| min-width: 0; |
| padding: 0; |
| margin: 0; |
| box-shadow: none; |
| } |