/*
 * Copyright (c) 2021 SQLines
 *
 * 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.
 */

.root {
    -fx-font-family: 'sans-serif';
}

.menu-bar {
    -fx-background-color: #EFEFEF;
}

.menu-bar .menu {
    -fx-border-radius: 7 7 7 7;
    -fx-background-radius: 7 7 7 7;
}

.menu-bar .menu .menu-item {
    -fx-font-size: 12px;
    -fx-padding: 7 7 7 7;
    -fx-spacing: 6px;
    -fx-border-radius: 8 8 8 8;
    -fx-background-radius: 8 8 8 8;
}

.tab-header-area .tab {
    -fx-padding: 2 10 2 10;
    -fx-border-radius: 7 7 0 0;
    -fx-background-radius: 7 7 0 0;
    -fx-focus-color: transparent;
    -fx-faint-focus-color: transparent;
}

.choice-box {
    -fx-padding: 0 2 0 2;
    -fx-border-radius: 7 7 7 7;
    -fx-background-radius: 7 7 7 7;
    -fx-faint-focus-color: transparent;
}

.context-menu {
    -fx-border-radius:8 8 8 8;
    -fx-background-radius: 8 8 8 8;
}

.context-menu .menu-item {
    -fx-font-size: 13px;
    -fx-padding: 5 5 5 5;
    -fx-spacing: 4px;
    -fx-border-radius: 7 7 7 7;
    -fx-background-radius: 7 7 7 7;
}

.button {
    -fx-border-radius: 7 7 7 7;
    -fx-background-radius: 7 7 7 7;
    -fx-border-width: 1px;
    -fx-focus-color: transparent;
    -fx-faint-focus-color: transparent;
}

.code-area {
    -fx-background-color: #FFFFFFFF;
    -fx-font-size: 13px;
}

.code-area .selection {
    -fx-fill: #92d0ec;
}

.code-area .paragraph-box {
    -fx-background-color: #FFFFFFFF;
}

.code-area .paragraph-box:has-caret {
    -fx-background-color: #eff8ff;
}

.code-area:read-only .text {
    -fx-fill: #404040;
}

.lineno {
    -fx-background-color: #FFFFFFFF;
    -fx-border-width: 0 0 0 0;
    -fx-border-color: #D3D3D3FF;
    -fx-padding: 1 15 0 7;
    -fx-font-size: 13px;
}

.virtualized-scroll-pane {
    -fx-background-color: #FFFFFFFF;
}

.virtualized-scroll-pane .scroll-bar:horizontal .track,
.virtualized-scroll-pane .scroll-bar:vertical .track {
    -fx-background-color: #FFFFFFFF;
    -fx-border-color: #FFFFFFFF;
}

.virtualized-scroll-pane .scroll-bar:horizontal .increment-button,
.virtualized-scroll-pane .scroll-bar:horizontal .decrement-button {
    -fx-background-color: #FFFFFFFF;
    -fx-background-radius: 0.0em;
    -fx-padding: 0.0 0.0 10.0 0.0;
}

.virtualized-scroll-pane .scroll-bar:vertical .increment-button,
.virtualized-scroll-pane .scroll-bar:vertical .decrement-button {
    -fx-background-color: #FFFFFFFF;
    -fx-background-radius: 0.0em;
    -fx-padding: 0.0 10.0 0.0 0.0;
}

.virtualized-scroll-pane .scroll-bar .increment-arrow,
.virtualized-scroll-pane .scroll-bar .decrement-arrow {
    -fx-background-color: #FFFFFFFF;
    -fx-padding: 0.15em 0.0;
}

.virtualized-scroll-pane .scroll-bar:vertical .increment-arrow,
.virtualized-scroll-pane .scroll-bar:vertical .decrement-arrow {
    -fx-background-color: #FFFFFFFF;
    -fx-padding: 0.0 0.15em;
}

.virtualized-scroll-pane .scroll-bar:horizontal .thumb,
.virtualized-scroll-pane .scroll-bar:vertical .thumb {
    -fx-background-color: #D3D3D3FF;
    -fx-background-insets: 2.0, 0.0, 0.0;
    -fx-background-radius: 2.0em;
}

.virtualized-scroll-pane .scroll-bar:horizontal .thumb:hover,
.virtualized-scroll-pane .scroll-bar:vertical .thumb:hover {
    -fx-background-color: #9b9a9a;
    -fx-background-insets: 2.0, 0.0, 0.0;
    -fx-background-radius: 2.0em;
}

.keyword {
    -fx-fill: #800080FF;
    -fx-font-weight: bold;
}

.digit {
    -fx-fill: #B22222FF;
    -fx-font-weight: bold;
}

.char {
    -fx-fill: #006400FF;
    -fx-font-weight: bold;
}

.string {
    -fx-fill: #0000FFFF;
}

.comment {
    -fx-fill: #5F9EA0FF;
}
