@nu-art/ts-styles 0.200.68 → 0.200.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.scss +1 -1
- package/package.json +2 -2
- package/styles/consts.scss +1 -0
- package/styles/index.scss +6 -0
- package/styles/mouse-interaction/index.scss +1 -0
- package/styles/mouse-interaction/mouse-interactive-colors.scss +45 -0
- package/styles/palette/_palette.scss +12 -0
- package/styles/palette/index.scss +2 -0
- package/styles/{functions-and-mixins/_palette.scss → palette/palettes.scss} +14 -14
- package/styles/scroll-bar/custom-scroll-bar.scss +66 -0
- package/styles/scroll-bar/index.scss +1 -0
- package/styles/shapes/circles.scss +6 -0
- package/styles/shapes/index.scss +1 -0
- package/styles/text/index.scss +1 -0
- package/styles/text/text-wrapping.scss +5 -0
- package/styles/transitioning/color-transitions.scss +23 -0
- package/styles/transitioning/general.scss +6 -0
- package/styles/transitioning/index.scss +2 -0
- package/defaults.scss +0 -18
- package/styles/functions-and-mixins/_colors.scss +0 -27
- package/styles/functions-and-mixins/_fonts.scss +0 -0
- package/styles/functions-and-mixins/advisor.scss +0 -50
- package/styles/functions-and-mixins/buttons.scss +0 -14
- package/styles/functions-and-mixins/components.scss +0 -181
- package/styles/functions-and-mixins/icons.scss +0 -63
- package/styles/functions-and-mixins/index.scss +0 -11
- package/styles/functions-and-mixins/text.scss +0 -31
package/index.scss
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@forward "
|
|
1
|
+
@forward "styles";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nu-art/ts-styles",
|
|
3
|
-
"version": "0.200.
|
|
3
|
+
"version": "0.200.70",
|
|
4
4
|
"author": "nu-art",
|
|
5
5
|
"description": "Styles by Cipher",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"linkDirectory": true
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@nu-art/ts-common": "0.200.
|
|
16
|
+
"@nu-art/ts-common": "0.200.70",
|
|
17
17
|
"react": "^18.2.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$svg-prop-rules: fill, stroke;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "mouse-interactive-colors";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@use '../consts' as consts;
|
|
2
|
+
|
|
3
|
+
/// Sets backgrounds for element based on mouse interaction
|
|
4
|
+
///
|
|
5
|
+
/// @param $bg - base background
|
|
6
|
+
/// @param $bgh - background when mouse hover
|
|
7
|
+
/// @param $bga - background when mouse click
|
|
8
|
+
///
|
|
9
|
+
@mixin mouse-interactive-background($bg, $bg-h: $bg ,$bg-a: $bg-h) {
|
|
10
|
+
background: $bg;
|
|
11
|
+
&:hover {
|
|
12
|
+
background: $bg-h;
|
|
13
|
+
}
|
|
14
|
+
&:active {
|
|
15
|
+
background: $bg-a;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/// Sets color for vector elements based on mouse interaction
|
|
20
|
+
///
|
|
21
|
+
/// Will work on any vector element that doesn't have a corresponding "data-no-{rule}" attribute.
|
|
22
|
+
/// To avoid coloring the fill of the element set data-no-fill=true attribute
|
|
23
|
+
/// To avoid coloring the stroke of the element set data-no-stroke=true attribute
|
|
24
|
+
///
|
|
25
|
+
/// @param $bg - base background
|
|
26
|
+
/// @param $bgh - background when mouse hover
|
|
27
|
+
/// @param $bga - background when mouse click
|
|
28
|
+
///
|
|
29
|
+
@mixin mouse-interactive-icon($color, $color-h: $color, $color-a: $color-h) {
|
|
30
|
+
@each $rule in consts.$svg-prop-rules {
|
|
31
|
+
@include setIconProp($rule, $color);
|
|
32
|
+
&:hover {
|
|
33
|
+
@include setIconProp($rule, $color-h);
|
|
34
|
+
}
|
|
35
|
+
&:active {
|
|
36
|
+
@include setIconProp($rule, $color-a);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@mixin setIconProp($prop,$value) {
|
|
42
|
+
*:not([data-no-#{$prop}="true"]):not(g) {
|
|
43
|
+
#{$prop}: $value;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use 'sass:list';
|
|
3
|
+
|
|
4
|
+
@function paletteBuilder($baseColor,$steps:7) {
|
|
5
|
+
$colorsList: ();
|
|
6
|
+
@for $i from 0 to $steps {
|
|
7
|
+
$lightness: math.percentage(math.div($i, $steps));
|
|
8
|
+
$newColor: scale-color($baseColor, $lightness: $lightness);
|
|
9
|
+
$colorsList: list.append($colorsList, #{$newColor});
|
|
10
|
+
}
|
|
11
|
+
@return $colorsList
|
|
12
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
@use 'sass:list';
|
|
2
|
-
@use '
|
|
2
|
+
@use './_palette' as *;
|
|
3
3
|
|
|
4
4
|
$colorChunks: 7;
|
|
5
|
-
$_black:
|
|
6
|
-
$_gray-blue:
|
|
7
|
-
$_dark-blue:
|
|
8
|
-
$_dark-green:
|
|
9
|
-
$_purple:
|
|
10
|
-
$_pink:
|
|
11
|
-
$_ochre:
|
|
12
|
-
$_orange:
|
|
13
|
-
$_red:
|
|
14
|
-
$_gray:
|
|
15
|
-
$_light-gray:
|
|
16
|
-
$_monochromatic:
|
|
17
|
-
$_green:
|
|
5
|
+
$_black: paletteBuilder(#000000, $colorChunks);
|
|
6
|
+
$_gray-blue: paletteBuilder(#2C3541, $colorChunks);
|
|
7
|
+
$_dark-blue: paletteBuilder(#004A72, $colorChunks);
|
|
8
|
+
$_dark-green: paletteBuilder(#2E5651, $colorChunks);
|
|
9
|
+
$_purple: paletteBuilder(#401F5C, $colorChunks);
|
|
10
|
+
$_pink: paletteBuilder(#8F1657, $colorChunks);
|
|
11
|
+
$_ochre: paletteBuilder(#876019, $colorChunks);
|
|
12
|
+
$_orange: paletteBuilder(#B94804, $colorChunks);
|
|
13
|
+
$_red: paletteBuilder(#D8042E, $colorChunks);
|
|
14
|
+
$_gray: paletteBuilder(#808080, $colorChunks);
|
|
15
|
+
$_light-gray: paletteBuilder(#D3D3D3, $colorChunks);
|
|
16
|
+
$_monochromatic: paletteBuilder(#9CAEB7, $colorChunks);
|
|
17
|
+
$_green: paletteBuilder(#2AA10F, $colorChunks);
|
|
18
18
|
|
|
19
19
|
@function monochromatic($i) {
|
|
20
20
|
@return #{list.nth($_monochromatic,$i)}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
@use '../palette' as palette;
|
|
2
|
+
|
|
3
|
+
@mixin customScrollbar($direction,$showOnlyOnHover: false) {
|
|
4
|
+
$trackBG: palette.gray(7);
|
|
5
|
+
$thumbBG: palette.dark-blue(1);
|
|
6
|
+
//Scrollbar
|
|
7
|
+
&::-webkit-scrollbar {
|
|
8
|
+
background-color: $trackBG;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
//Scrollbar Handle
|
|
12
|
+
&::-webkit-scrollbar-thumb {
|
|
13
|
+
background-color: $thumbBG;
|
|
14
|
+
border: 2px solid $trackBG;
|
|
15
|
+
border-radius: 4px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//Direction Diff
|
|
19
|
+
@if $direction == 'horizontal' {
|
|
20
|
+
overflow-x: auto;
|
|
21
|
+
//noinspection ALL
|
|
22
|
+
@supports (overflow-x: overlay) {
|
|
23
|
+
overflow-x: overlay;
|
|
24
|
+
}
|
|
25
|
+
&::-webkit-scrollbar {
|
|
26
|
+
height: 12px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@if $direction == 'vertical' {
|
|
31
|
+
overflow-y: auto;
|
|
32
|
+
//noinspection ALL
|
|
33
|
+
@supports (overflow-y: overlay) {
|
|
34
|
+
overflow-y: overlay;
|
|
35
|
+
}
|
|
36
|
+
&::-webkit-scrollbar {
|
|
37
|
+
width: 9px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@if $direction == 'both' {
|
|
42
|
+
overflow: auto;
|
|
43
|
+
//noinspection ALL
|
|
44
|
+
@supports (overflow: overlay) {
|
|
45
|
+
overflow: overlay;
|
|
46
|
+
}
|
|
47
|
+
&::-webkit-scrollbar {
|
|
48
|
+
width: 9px;
|
|
49
|
+
height: 12px;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@if $showOnlyOnHover {
|
|
54
|
+
&::-webkit-scrollbar,
|
|
55
|
+
&::-webkit-scrollbar-thumb {
|
|
56
|
+
visibility: hidden;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&:hover {
|
|
60
|
+
&::-webkit-scrollbar,
|
|
61
|
+
&::-webkit-scrollbar-thumb {
|
|
62
|
+
visibility: visible;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "custom-scroll-bar";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "circles";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "text-wrapping";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@use 'sass:list';
|
|
2
|
+
@use '../consts' as consts;
|
|
3
|
+
@use './general' as general;
|
|
4
|
+
|
|
5
|
+
@function background-transition($time: 200, $style: ease-out) {
|
|
6
|
+
@return background #{$time}ms $style;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@function svg-color-transition($time:200 , $style: ease-out) {
|
|
10
|
+
$transitions: ();
|
|
11
|
+
@each $rule in consts.$svg-prop-rules {
|
|
12
|
+
$transitions: append($transitions, $rule #{$time}ms $style, comma);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@return $transitions;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@mixin set-svg-color-transition($time:200 , $style: ease-out) {
|
|
19
|
+
$transitions: svg-color-transition($time, $style);
|
|
20
|
+
*:not(g):not(svg) {
|
|
21
|
+
@include general.set-transitions($transitions)
|
|
22
|
+
}
|
|
23
|
+
}
|
package/defaults.scss
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
@import "./styles/components/TS_Dropdown/default";
|
|
2
|
-
@import "./styles/components/TS_Input/default";
|
|
3
|
-
@import "./styles/components/TS_Button/default";
|
|
4
|
-
@import "./styles/components/TS_TextArea/default";
|
|
5
|
-
@import "./styles/components/TS_Tabs/default";
|
|
6
|
-
@import "./styles/components/TS_Table/default";
|
|
7
|
-
@import "./styles/components/TS_Tooltip/default";
|
|
8
|
-
@import "./styles/components/Dialogs/default";
|
|
9
|
-
@import "./styles/components/TS_Radio/default";
|
|
10
|
-
@import "./styles/components/TS_BusyButton/default";
|
|
11
|
-
@import "./styles/components/TS_Checkbox/default";
|
|
12
|
-
@import "./styles/components/TS_Tree/default";
|
|
13
|
-
@import "./styles/components/TS_EditableText/default";
|
|
14
|
-
@import "./styles/components/TS_PropRenderer/default";
|
|
15
|
-
@import "./styles/components/QScrollWrapper/default";
|
|
16
|
-
@import "./styles/components/TS_Workspace/default";
|
|
17
|
-
@import "./styles/components/TS_Dialog/default";
|
|
18
|
-
@import "./styles/components/TS_Toast/default";
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use 'sass:list';
|
|
3
|
-
|
|
4
|
-
//(Dir en) Grey
|
|
5
|
-
$darker_grey: #504c4c;
|
|
6
|
-
$almost-pure-grey: #707070;
|
|
7
|
-
$sidewalk_grey: #8A959B;
|
|
8
|
-
$very-light-grey: #F7F7F7;
|
|
9
|
-
$scroll-track-background-grey: #eeeeee;
|
|
10
|
-
$scroll-thumb-grey: #cccccc;
|
|
11
|
-
|
|
12
|
-
//Others
|
|
13
|
-
$white: white;
|
|
14
|
-
$very_pastel_teal: #d2e0e2;
|
|
15
|
-
$very-light-cyan: #f2f8ff;
|
|
16
|
-
$near_white: #f0f0f0;
|
|
17
|
-
$very_pastel_grey: #e5e9ee;
|
|
18
|
-
|
|
19
|
-
//Uniques
|
|
20
|
-
$unique_light_blue: #88DFFF;
|
|
21
|
-
$unique_green: #4FC63C;
|
|
22
|
-
$unique_orange: #FFA808;
|
|
23
|
-
$unique_red: #F35B5B;
|
|
24
|
-
$unique_glowing_red: #FF3D64;
|
|
25
|
-
$unique_turquoise: #1DDBC6;
|
|
26
|
-
$unique_green_select: #D6EEF0;
|
|
27
|
-
$unique_light_blue_select: #F2F8FF;
|
|
File without changes
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
@use 'palette' as palette;
|
|
2
|
-
@use 'components' as components;
|
|
3
|
-
|
|
4
|
-
@mixin advisor-button-colors {
|
|
5
|
-
@include components.mouseInteractiveBackground(palette.gray(7), white);
|
|
6
|
-
border: 1px solid #CFD4D8;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@mixin advisor-rule-out-item {
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
width: 100%;
|
|
12
|
-
height: 26px;
|
|
13
|
-
background: #EDF1F3;
|
|
14
|
-
border: 1px solid #CFD4D8;
|
|
15
|
-
padding: 0 10px;
|
|
16
|
-
justify-content: space-between;
|
|
17
|
-
border-radius: 1px;
|
|
18
|
-
margin: 4px 0;
|
|
19
|
-
color: black;
|
|
20
|
-
|
|
21
|
-
.rule-out-action__name {
|
|
22
|
-
font: {
|
|
23
|
-
size: 14px;
|
|
24
|
-
family: Arial;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&:hover {
|
|
29
|
-
background: #F5F7F8;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&:active {
|
|
33
|
-
background: #D6DBDF;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&.pending {
|
|
37
|
-
box-shadow: inset 1px 1px 0px #00000029;
|
|
38
|
-
background: #F5F7F8;
|
|
39
|
-
|
|
40
|
-
.rule-out-action__name {
|
|
41
|
-
color: #001E95;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.icon--wrapper {
|
|
45
|
-
svg path {
|
|
46
|
-
fill: #001E95;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
@use 'palette' as palette;
|
|
2
|
-
@use 'sass:list';
|
|
3
|
-
|
|
4
|
-
@mixin customScrollbar($direction,$showOnlyOnHover: false) {
|
|
5
|
-
$trackBG: palette.gray(7);
|
|
6
|
-
$thumbBG: palette.dark-blue(1);
|
|
7
|
-
//Scrollbar
|
|
8
|
-
&::-webkit-scrollbar {
|
|
9
|
-
background-color: $trackBG;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
//Scrollbar Handle
|
|
13
|
-
&::-webkit-scrollbar-thumb {
|
|
14
|
-
background-color: $thumbBG;
|
|
15
|
-
border: 2px solid $trackBG;
|
|
16
|
-
border-radius: 4px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
//Direction Diff
|
|
20
|
-
@if $direction == 'horizontal' {
|
|
21
|
-
overflow-x: auto;
|
|
22
|
-
//noinspection ALL
|
|
23
|
-
@supports (overflow-x: overlay) {
|
|
24
|
-
overflow-x: overlay;
|
|
25
|
-
}
|
|
26
|
-
&::-webkit-scrollbar {
|
|
27
|
-
height: 12px;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@if $direction == 'vertical' {
|
|
32
|
-
overflow-y: auto;
|
|
33
|
-
//noinspection ALL
|
|
34
|
-
@supports (overflow-y: overlay) {
|
|
35
|
-
overflow-y: overlay;
|
|
36
|
-
}
|
|
37
|
-
&::-webkit-scrollbar {
|
|
38
|
-
width: 9px;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@if $direction == 'both' {
|
|
43
|
-
overflow: auto;
|
|
44
|
-
//noinspection ALL
|
|
45
|
-
@supports (overflow: overlay) {
|
|
46
|
-
overflow: overlay;
|
|
47
|
-
}
|
|
48
|
-
&::-webkit-scrollbar {
|
|
49
|
-
width: 9px;
|
|
50
|
-
height: 12px;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@if $showOnlyOnHover {
|
|
55
|
-
&::-webkit-scrollbar,
|
|
56
|
-
&::-webkit-scrollbar-thumb {
|
|
57
|
-
visibility: hidden;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&:hover {
|
|
61
|
-
&::-webkit-scrollbar,
|
|
62
|
-
&::-webkit-scrollbar-thumb {
|
|
63
|
-
visibility: visible;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
@mixin fancyDropDown {
|
|
70
|
-
.ts-overlay {
|
|
71
|
-
background: transparent;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.ts-dropdown__header {
|
|
75
|
-
border: 2px solid black;
|
|
76
|
-
border-radius: 10px;
|
|
77
|
-
position: relative;
|
|
78
|
-
|
|
79
|
-
.ts-input {
|
|
80
|
-
background: transparent;
|
|
81
|
-
padding: 0 5px;
|
|
82
|
-
border: none;
|
|
83
|
-
font: {
|
|
84
|
-
size: 13px;
|
|
85
|
-
weight: bold;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.ts-dropdown__items-container {
|
|
91
|
-
@include customScrollbar('both');
|
|
92
|
-
border: 2px solid black;
|
|
93
|
-
border-top: none;
|
|
94
|
-
padding-top: 18px;
|
|
95
|
-
transform: translateY(-18px);
|
|
96
|
-
|
|
97
|
-
.ts-dropdown__unselect-item {
|
|
98
|
-
font-size: 13px;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.ts-dropdown__items {
|
|
102
|
-
overflow-y: visible;
|
|
103
|
-
border: none
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.ts-tree__node {
|
|
107
|
-
.node-data {
|
|
108
|
-
font-size: 13px;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
&.inverted {
|
|
113
|
-
border-top: 2px solid black;
|
|
114
|
-
border-bottom: none;
|
|
115
|
-
padding-top: 0;
|
|
116
|
-
padding-bottom: 18px;
|
|
117
|
-
transform: translateY(18px);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
@mixin mouseInteractiveBackground($background,$hoverBackground: $background, $activeBackground: $hoverBackground) {
|
|
123
|
-
background: $background;
|
|
124
|
-
cursor: pointer;
|
|
125
|
-
|
|
126
|
-
&:hover {
|
|
127
|
-
background: $hoverBackground;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
&:active {
|
|
131
|
-
background: $activeBackground;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
@mixin setRule($rule,$value) {
|
|
136
|
-
$rule: $value;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
@mixin setIconProp($prop,$value) {
|
|
140
|
-
*:not([data-no-#{$prop}="true"]):not(g) {
|
|
141
|
-
#{$prop}: $value;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
@mixin mouseInteractiveIcon($color,$hoverColor:$color,$activeColor:$hoverColor,$transition: 0) {
|
|
146
|
-
$rules: fill, stroke;
|
|
147
|
-
cursor: pointer;
|
|
148
|
-
|
|
149
|
-
@if $transition != 0 {
|
|
150
|
-
$transitionRules: '';
|
|
151
|
-
@each $rule in $rules {
|
|
152
|
-
$i: index($rules, $rule);
|
|
153
|
-
$transitionRules: $transitionRules + #{$rule $transition};
|
|
154
|
-
@if $i != length($rules) {
|
|
155
|
-
$transitionRules: $transitionRules + ', ';
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
*:not(g) {
|
|
159
|
-
transition: #{$transitionRules};
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
@each $rule in $rules {
|
|
164
|
-
@include setIconProp($rule, $color);
|
|
165
|
-
&:hover {
|
|
166
|
-
@include setIconProp($rule, $hoverColor)
|
|
167
|
-
}
|
|
168
|
-
&:active {
|
|
169
|
-
@include setIconProp($rule, $activeColor)
|
|
170
|
-
}
|
|
171
|
-
//*:not([data-no-#{$rule}="true"]):not(g) {
|
|
172
|
-
// #{$rule}: $color;
|
|
173
|
-
//}
|
|
174
|
-
//&:hover *:not([data-no-#{$rule}="true"]):not(g) {
|
|
175
|
-
// #{$rule}: $hoverColor;
|
|
176
|
-
//}
|
|
177
|
-
//&:active *:not([data-no-#{$rule}="true"]):not(g) {
|
|
178
|
-
// #{$rule}: $activeColor;
|
|
179
|
-
//}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
@use 'palette' as palette;
|
|
2
|
-
|
|
3
|
-
@mixin categoryPathItem {
|
|
4
|
-
font-size: 12px;
|
|
5
|
-
font-weight: 600;
|
|
6
|
-
background: palette.dark-green(3);
|
|
7
|
-
color: white;
|
|
8
|
-
border-radius: 10px;
|
|
9
|
-
padding: 2px 10px;
|
|
10
|
-
width: 120px;
|
|
11
|
-
text-align: center;
|
|
12
|
-
text-overflow: ellipsis;
|
|
13
|
-
white-space: nowrap;
|
|
14
|
-
overflow: hidden;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@mixin disease-profile-initials-icon {
|
|
18
|
-
//Dimensions
|
|
19
|
-
height: 16px;
|
|
20
|
-
width: fit-content;
|
|
21
|
-
min-width: 16px;
|
|
22
|
-
max-width: 36px;
|
|
23
|
-
padding: 0 4px;
|
|
24
|
-
|
|
25
|
-
//Font
|
|
26
|
-
font-size: 10px !important;
|
|
27
|
-
font-weight: 400;
|
|
28
|
-
|
|
29
|
-
//Display
|
|
30
|
-
display: flex;
|
|
31
|
-
justify-content: center;
|
|
32
|
-
align-items: center;
|
|
33
|
-
border-radius: 3px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@mixin tag($lightColor,$darkColor) {
|
|
37
|
-
background: $lightColor;
|
|
38
|
-
border: 2px solid $darkColor;
|
|
39
|
-
border-radius: 10px;
|
|
40
|
-
min-width: 50px;
|
|
41
|
-
height: 28px;
|
|
42
|
-
padding: 0 10px;
|
|
43
|
-
flex-shrink: 0;
|
|
44
|
-
display: flex;
|
|
45
|
-
justify-content: center;
|
|
46
|
-
align-items: center;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
@mixin disease-value-count {
|
|
50
|
-
flex-shrink: 0;
|
|
51
|
-
font: {
|
|
52
|
-
size: var(--workspace__default-font-size);
|
|
53
|
-
weight: bold;
|
|
54
|
-
}
|
|
55
|
-
color: var(--color__background__general-panel);
|
|
56
|
-
background: var(--color__disease-value-count__background);
|
|
57
|
-
width: 25px;
|
|
58
|
-
height: 25px;
|
|
59
|
-
border-radius: 50%;
|
|
60
|
-
display: flex;
|
|
61
|
-
justify-content: center;
|
|
62
|
-
align-items: center;
|
|
63
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
@use 'palette' as palette;
|
|
2
|
-
|
|
3
|
-
@mixin text-ellipsis {
|
|
4
|
-
white-space: nowrap;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
text-overflow: ellipsis;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@mixin form-title {
|
|
10
|
-
font-size: 13px;
|
|
11
|
-
color: palette.gray-blue(3);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@mixin placeholderMessage {
|
|
15
|
-
width: 100%;
|
|
16
|
-
height: 100%;
|
|
17
|
-
display: flex;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
align-items: center;
|
|
20
|
-
|
|
21
|
-
font: {
|
|
22
|
-
size: 60px;
|
|
23
|
-
weight: 600;
|
|
24
|
-
}
|
|
25
|
-
white-space: pre-wrap;
|
|
26
|
-
text-align: center;
|
|
27
|
-
|
|
28
|
-
color: #616161;
|
|
29
|
-
background: #bababa;
|
|
30
|
-
text-shadow: #e0e0e0 1px 1px 0;
|
|
31
|
-
}
|