2016-03-01 20:39:13 +02:00
|
|
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
//
|
2023-03-01 16:00:34 +01:00
|
|
|
// Copyright (c) KALEIDOS INC
|
2016-03-01 20:39:13 +02:00
|
|
|
|
2024-06-20 11:56:41 +02:00
|
|
|
// TODO: Legacy sass vars. We should use DS tokens.
|
2024-06-20 12:44:23 +02:00
|
|
|
$color-gray-50: #303236;
|
2024-06-20 11:56:41 +02:00
|
|
|
$fs12: 0.75rem;
|
2024-06-20 14:58:19 +02:00
|
|
|
$fs14: 0.875rem;
|
2024-06-20 11:56:41 +02:00
|
|
|
$fs18: 1.125rem;
|
|
|
|
$fs24: 1.5rem;
|
|
|
|
$fs34: 2.125rem;
|
|
|
|
$fs44: 2.75rem;
|
|
|
|
$fw300: 300;
|
|
|
|
$fw500: 500;
|
|
|
|
$lh-115: 1.15;
|
|
|
|
$lh-133: 1.33;
|
2024-06-20 14:58:19 +02:00
|
|
|
$size-4: 1rem;
|
2024-06-20 11:56:41 +02:00
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
body {
|
2024-07-12 11:52:31 +02:00
|
|
|
background-color: var(--color-background-primary);
|
|
|
|
color: var(--color-foreground-primary);
|
2015-06-18 19:35:50 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-07-04 12:37:53 +02:00
|
|
|
font-family: "worksans", "vazirmatn", sans-serif;
|
2022-01-26 15:16:21 +01:00
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
#app {
|
|
|
|
width: 100vw;
|
2020-07-21 13:11:50 +02:00
|
|
|
height: 100vh;
|
2015-12-15 13:23:26 +01:00
|
|
|
overflow: hidden;
|
2023-04-27 12:44:11 +02:00
|
|
|
position: relative;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
2016-02-20 22:26:07 +01:00
|
|
|
box-sizing: border-box;
|
2024-05-21 13:25:49 +02:00
|
|
|
scrollbar-width: thin;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
2024-06-20 14:58:19 +02:00
|
|
|
// Firefox-only hack
|
2024-05-21 13:25:49 +02:00
|
|
|
@-moz-document url-prefix() {
|
|
|
|
* {
|
|
|
|
scrollbar-width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
img {
|
|
|
|
height: auto;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
* {
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2016-05-28 16:31:49 +03:00
|
|
|
cursor: pointer;
|
2023-02-22 13:52:45 +01:00
|
|
|
font-weight: $fw500;
|
2022-11-28 08:44:19 +01:00
|
|
|
color: $color-gray-50;
|
2015-06-18 19:35:50 +02:00
|
|
|
|
|
|
|
&:hover {
|
2022-11-28 08:44:19 +01:00
|
|
|
text-decoration: underline;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-12-27 08:54:34 +01:00
|
|
|
button {
|
2024-07-03 07:30:05 +02:00
|
|
|
font-family: "worksans", "vazirmatn", sans-serif;
|
2022-12-27 08:54:34 +01:00
|
|
|
}
|
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
p {
|
2021-10-05 12:59:00 +02:00
|
|
|
font-size: $fs12;
|
2015-06-18 19:35:50 +02:00
|
|
|
margin-bottom: 1rem;
|
2023-02-24 14:26:44 +01:00
|
|
|
line-height: $lh-133;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
2023-02-24 14:26:44 +01:00
|
|
|
line-height: $lh-133;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: $fs34;
|
2023-02-22 13:52:45 +01:00
|
|
|
font-weight: $fw500;
|
2023-02-24 14:26:44 +01:00
|
|
|
line-height: $lh-115;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
2024-06-20 14:58:19 +02:00
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
h2 {
|
|
|
|
font-size: $fs24;
|
2023-02-22 13:52:45 +01:00
|
|
|
font-weight: $fw300;
|
2023-02-24 14:26:44 +01:00
|
|
|
line-height: $lh-115;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: $fs24;
|
2023-02-22 13:52:45 +01:00
|
|
|
font-weight: $fw300;
|
2022-01-12 11:27:43 +01:00
|
|
|
padding: 0.5rem 0;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: $fs18;
|
2023-02-22 13:52:45 +01:00
|
|
|
font-weight: $fw300;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
2024-07-23 13:07:01 +02:00
|
|
|
border-top: solid 1px var(--color-background-primary);
|
2015-06-18 19:35:50 +02:00
|
|
|
border-right: 0;
|
|
|
|
border-left: 0;
|
|
|
|
border-bottom: 0;
|
|
|
|
margin: 1rem 0;
|
|
|
|
}
|
|
|
|
|
2022-01-12 11:27:43 +01:00
|
|
|
input[type="number"]::-webkit-inner-spin-button,
|
|
|
|
input[type="number"]::-webkit-outer-spin-button {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
margin: 0;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
2020-06-03 08:48:21 +02:00
|
|
|
|
2022-01-12 11:27:43 +01:00
|
|
|
input[type="number"] {
|
2020-06-03 08:48:21 +02:00
|
|
|
-moz-appearance: textfield;
|
|
|
|
}
|
2020-11-30 17:59:39 +01:00
|
|
|
|
|
|
|
[contenteditable] {
|
2022-01-12 11:27:43 +01:00
|
|
|
-webkit-user-select: text;
|
|
|
|
user-select: text;
|
2020-11-30 17:59:39 +01:00
|
|
|
}
|
2023-09-04 11:20:11 +02:00
|
|
|
|
2024-06-20 14:58:19 +02:00
|
|
|
input,
|
|
|
|
select {
|
|
|
|
box-sizing: border-box;
|
2024-07-03 07:30:05 +02:00
|
|
|
font-family: "worksans", "vazirmatn", sans-serif;
|
2024-06-20 14:58:19 +02:00
|
|
|
font-size: $fs14;
|
|
|
|
margin-bottom: $size-4;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
[draggable] {
|
|
|
|
-moz-user-select: none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
/* Required to make elements draggable in old WebKit */
|
|
|
|
-khtml-user-drag: element;
|
|
|
|
-webkit-user-drag: element;
|
2023-09-04 11:20:11 +02:00
|
|
|
}
|