iguazio.dashboard-react-controls 1.9.2 → 1.9.3
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/dist/scss/borders.scss +6 -0
- package/dist/scss/mixins.scss +32 -0
- package/package.json +1 -1
package/dist/scss/borders.scss
CHANGED
|
@@ -18,3 +18,9 @@ $labelEditBorder: 1px solid rgba($amethyst, 0.34);
|
|
|
18
18
|
$applyBtnBorder: 4px solid $brightTurquoise;
|
|
19
19
|
$focusBorder: 1px solid $topaz;
|
|
20
20
|
$tableRowBorder: 1px solid $titanWhite;
|
|
21
|
+
|
|
22
|
+
// stats borders
|
|
23
|
+
$runningBorder: 2px solid $pictonBlue;
|
|
24
|
+
$totalBorder: 2px solid rgba($black, 0.2);
|
|
25
|
+
$failedBorder: 2px solid $amaranth;
|
|
26
|
+
$completedBorder: 2px solid $brightTurquoise;
|
package/dist/scss/mixins.scss
CHANGED
|
@@ -976,6 +976,38 @@
|
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
978
|
|
|
979
|
+
@mixin statsAddBorderAndTextColor($border, $textColor) {
|
|
980
|
+
&.selected {
|
|
981
|
+
border: $border;
|
|
982
|
+
|
|
983
|
+
.stats__counter {
|
|
984
|
+
color: $textColor;
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
&:hover {
|
|
989
|
+
border: $border;
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
@mixin stats() {
|
|
994
|
+
&_total {
|
|
995
|
+
@include statsAddBorderAndTextColor($totalBorder, $black)
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
&_running {
|
|
999
|
+
@include statsAddBorderAndTextColor($runningBorder, $pictonBlue)
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
&_failed {
|
|
1003
|
+
@include statsAddBorderAndTextColor($failedBorder, $amaranth)
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
&_completed {
|
|
1007
|
+
@include statsAddBorderAndTextColor($completedBorder, $brightTurquoise)
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
|
|
979
1011
|
@mixin gradient($type) {
|
|
980
1012
|
@if $type == 'card' {
|
|
981
1013
|
background: linear-gradient(180deg, $brightTurquoise 4px, $white 4px);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iguazio.dashboard-react-controls",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.3",
|
|
4
4
|
"description": "Collection of resources (such as CSS styles, fonts and images) and ReactJS 17.x components to share among different Iguazio React repos.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|