ui-modules/utils/logbook/logbook.less (105 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. */ br-logbook { @warning-log-color: @brand-warning; @error-log-color: @brand-danger; @debug-log-color: @brand-info; display: block; position: relative; input.logbook { width: 90px; margin: 5px; display: inline-block; } input:invalid { background-color: lighten(@brand-danger, 30%); } #level{ width: 150px; display: inline-block; } input[type=checkbox]{ margin-left: 20px; margin-right: 5px; } .logbook-text { padding: 5px; min-width: 100%; height: 500px; &.word-wrap { white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; } } .logbook-item { all: revert; margin: 0; background: @gray; color: @gray-lighter; .monospace(); &:hover { background: @gray-light; color: @gray-lighter; width: auto; } &.pinned { background: @gray-lighter; color: @gray; } white-space: inherit; word-wrap: inherit; } pre[level=WARN] { color: @warning-log-color; } pre[level=DEBUG] { color: @debug-log-color; } pre[level=ERROR] { color: @error-log-color; } pre[level=FATAL] { color: @error-log-color; } pre { min-height: 4em; background: @gray; color: @gray-lighter; .monospace(); padding: 0.8em 0.8em 1.2em; } .log-action { @base-color: lighten(@brand-primary, 20%); cursor: pointer; .fa { color: white; } } .dropdown-menu { cursor: pointer; } .tooltip-inner { min-width: 150px; } .tooltip-inner { min-width: 150px; } .icon-include-subtasks { left:0; top:0; width: 100%; height: 100%; position: absolute; padding: 7px; } .icon-inactive { color: grey; } .btn-logbook { width: 40px; height: inherit; } .btn-group { height: 34px; } }