Files
ragflow/web/src/global.less
Jin Hai cb3de6ae98 TS: add apache license (#18064)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-08-11 11:15:45 +08:00

80 lines
1.5 KiB
Plaintext

/*
* Copyright 2026 The InfiniFlow Authors. All Rights Reserved.
*
* 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.
*/
@import url(./inter.less);
:root {
--font-sans: 'Inter';
}
@supports (font-variation-settings: normal) {
:root {
--font-sans: 'InterVariable';
}
}
html,
body,
#root {
width: 100vw;
width: 100dvw;
height: 100vh;
height: 100dvh;
overflow: hidden;
margin: 0;
padding: 0;
}
.vue-office-excel {
height: 100%;
}
/* Scroll bar stylings */
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
/* Track */
::-webkit-scrollbar-track {
background: rgb(219, 218, 218);
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #aaaaaa;
border-radius: 5px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #888;
}
.Highlight--scrolledTo .Highlight__part {
background: rgb(var(--accent-primary) / 0.5) !important;
}
.Highlight__part {
background: rgb(var(--accent-primary) / 0.1) !important;
}
.x-spreadsheet-scrollbar {
scrollbar-width: thin;
scrollbar-color: initial;
}