2021-08-04 23:31:54 +00:00
|
|
|
//
|
|
|
|
// Copyright © 2021 Anticrm Platform Contributors.
|
|
|
|
//
|
|
|
|
// Licensed under the Eclipse Public 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 https://www.eclipse.org/legal/epl-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 "./_colors.scss";
|
2021-08-14 11:42:31 +00:00
|
|
|
@import "./_layouts.scss";
|
2022-02-02 09:05:33 +00:00
|
|
|
@import "./common.scss";
|
2023-07-06 07:01:27 +00:00
|
|
|
@import "./button.scss";
|
2022-01-21 09:07:24 +00:00
|
|
|
@import "./components.scss";
|
2022-02-07 09:39:23 +00:00
|
|
|
@import "./dialogs.scss";
|
2022-02-02 09:05:33 +00:00
|
|
|
@import "./popups.scss";
|
2021-09-07 07:48:41 +00:00
|
|
|
@import "./mixins.scss";
|
2022-04-05 04:15:14 +00:00
|
|
|
@import "./panel.scss";
|
2022-11-11 06:40:04 +00:00
|
|
|
@import "./prose.scss";
|
2023-05-27 15:49:14 +00:00
|
|
|
@import "./_text-editor.scss";
|
2021-08-04 23:31:54 +00:00
|
|
|
|
2023-06-07 14:05:59 +00:00
|
|
|
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;1,400;1,500&display=swap');
|
|
|
|
|
2021-08-04 23:31:54 +00:00
|
|
|
@font-face {
|
|
|
|
font-family: 'IBM Plex Sans';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
|
|
|
src: local('IBM Plex Sans'),
|
|
|
|
local('IBMPlexSans'),
|
|
|
|
url('../fonts/complete/woff2/IBMPlexSans-Regular.woff2') format('woff2'),
|
|
|
|
url('../fonts/complete/woff/IBMPlexSans-Regular.woff') format('woff');
|
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-family: 'IBM Plex Sans';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 500;
|
|
|
|
src: local('IBM Plex Sans Medium'),
|
|
|
|
local('IBMPlexSans-Medium'),
|
|
|
|
url('../fonts/complete/woff2/IBMPlexSans-Medium.woff2') format('woff2'),
|
|
|
|
url('../fonts/complete/woff/IBMPlexSans-Medium.woff') format('woff');
|
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-family: 'IBM Plex Sans';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 600;
|
|
|
|
src: local('IBM Plex Sans SemiBold'),
|
|
|
|
local('IBMPlexSans-SemiBold'),
|
|
|
|
url('../fonts/complete/woff2/IBMPlexSans-SemiBold.woff2') format('woff2'),
|
|
|
|
url('../fonts/complete/woff/IBMPlexSans-SemiBold.woff') format('woff');
|
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-family: 'IBM Plex Sans';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 700;
|
|
|
|
src: local('IBM Plex Sans Bold'),
|
|
|
|
local('IBMPlexSans-Bold'),
|
|
|
|
url('../fonts/complete/woff2/IBMPlexSans-Bold.woff2') format('woff2'),
|
|
|
|
url('../fonts/complete/woff/IBMPlexSans-Bold.woff') format('woff');
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
2022-10-20 02:43:05 +00:00
|
|
|
touch-action: manipulation;
|
2023-07-10 08:01:59 +00:00
|
|
|
scrollbar-color: var(--theme-comp-header-color) var(--theme-back-color);
|
2022-10-27 03:56:21 +00:00
|
|
|
scrollbar-width: none;
|
2022-12-07 05:02:03 +00:00
|
|
|
--body-font-size: .875rem;
|
2023-05-11 07:18:33 +00:00
|
|
|
--panel-aside-width: 25rem; // 20rem;
|
2022-04-08 18:17:04 +00:00
|
|
|
--font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto;
|
2023-06-07 14:05:59 +00:00
|
|
|
--mono-font: 'IBM Plex Mono', monospace;
|
2022-04-13 04:25:59 +00:00
|
|
|
--timing-shadow: cubic-bezier(0,.65,.35,1);
|
2022-05-22 04:30:59 +00:00
|
|
|
--timing-main: cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
2022-12-12 04:39:03 +00:00
|
|
|
--timing-rotate: cubic-bezier(.28,1.92,.39,.56);
|
2022-05-22 04:30:59 +00:00
|
|
|
// transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
2023-05-05 05:21:40 +00:00
|
|
|
|
|
|
|
&::after,
|
|
|
|
&::before { box-sizing: border-box; }
|
2021-08-04 23:31:54 +00:00
|
|
|
}
|
2022-10-11 06:40:09 +00:00
|
|
|
:root {
|
|
|
|
--app-height: 100%;
|
|
|
|
}
|
2021-08-04 23:31:54 +00:00
|
|
|
|
|
|
|
::-webkit-scrollbar {
|
|
|
|
width: 6px;
|
|
|
|
}
|
|
|
|
::-webkit-scrollbar:horizontal {
|
|
|
|
height: 6px;
|
|
|
|
}
|
2021-09-07 07:48:41 +00:00
|
|
|
::-webkit-scrollbar-track, .panel-container .scroll .scroll::-webkit-scrollbar-track {
|
2021-08-04 23:31:54 +00:00
|
|
|
margin: 6px;
|
2023-03-10 00:08:04 +00:00
|
|
|
// background-color: var(--scrollbar-bar-color);
|
2021-08-04 23:31:54 +00:00
|
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
2023-03-10 00:08:04 +00:00
|
|
|
background-color: var(--scrollbar-bar-color);
|
2021-08-17 14:46:06 +00:00
|
|
|
border-radius: .25rem;
|
2021-08-04 23:31:54 +00:00
|
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
2023-03-10 00:08:04 +00:00
|
|
|
background-color: var(--scrollbar-bar-hover);
|
2021-08-17 14:46:06 +00:00
|
|
|
border-radius: .25rem;
|
2021-08-04 23:31:54 +00:00
|
|
|
}
|
|
|
|
::-webkit-scrollbar-corner {
|
2023-03-10 00:08:04 +00:00
|
|
|
background-color: var(--scrollbar-bar-color);
|
2021-08-17 14:46:06 +00:00
|
|
|
border-radius: .25rem;
|
2021-08-04 23:31:54 +00:00
|
|
|
}
|
2021-09-06 16:00:43 +00:00
|
|
|
.kanban-container .scroll::-webkit-scrollbar-track {
|
|
|
|
margin: 2.5rem;
|
|
|
|
}
|
2021-08-04 23:31:54 +00:00
|
|
|
|
2021-08-14 11:42:31 +00:00
|
|
|
.normal-font { font-size: 16px; }
|
|
|
|
.small-font { font-size: 14px; }
|
2021-08-10 08:30:01 +00:00
|
|
|
|
2021-08-04 23:31:54 +00:00
|
|
|
body {
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
|
2022-04-08 18:17:04 +00:00
|
|
|
font-family: var(--font-family);
|
2023-03-29 09:35:00 +00:00
|
|
|
font-style: normal;
|
2021-08-04 23:31:54 +00:00
|
|
|
font-weight: 400;
|
2022-12-07 05:02:03 +00:00
|
|
|
font-size: var(--body-font-size);
|
2022-04-02 04:06:48 +00:00
|
|
|
color: var(--content-color);
|
2023-04-23 17:37:24 +00:00
|
|
|
background-color: var(--theme-bg-color);
|
2022-04-02 04:06:48 +00:00
|
|
|
user-select: none;
|
2021-08-04 23:31:54 +00:00
|
|
|
}
|
2022-10-11 06:40:09 +00:00
|
|
|
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
height: var(--app-height);
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
2022-10-20 02:43:05 +00:00
|
|
|
touch-action: none;
|
2022-10-11 06:40:09 +00:00
|
|
|
}
|