@festo-ui/web-essentials 5.0.0 → 5.1.0-dev.162

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.
Files changed (47) hide show
  1. package/dist/css/festo-web-essentials.css +756 -58
  2. package/dist/css/festo-web-essentials.css.map +1 -1
  3. package/dist/css/festo-web-essentials.min.css +2 -2
  4. package/dist/css/festo-web-essentials.min.css.map +1 -1
  5. package/dist/css/organisms/festo-web-essentials-organisms.css +62 -33
  6. package/dist/css/organisms/festo-web-essentials-organisms.css.map +1 -1
  7. package/dist/css/organisms/festo-web-essentials-organisms.min.css +1 -1
  8. package/dist/css/organisms/festo-web-essentials-organisms.min.css.map +1 -1
  9. package/dist/css/themes/flatpickr/festo.css +1 -1
  10. package/dist/css/themes/flatpickr/festo.css.map +1 -1
  11. package/dist/css/themes/flatpickr/festo.min.css +1 -1
  12. package/dist/scss/_checkbox.scss +4 -0
  13. package/dist/scss/_fonts.scss +27 -0
  14. package/dist/scss/_grid.scss +10 -0
  15. package/dist/scss/_misc.scss +47 -0
  16. package/dist/scss/_mixins.scss +18 -15
  17. package/dist/scss/_navbar.scss +5 -0
  18. package/dist/scss/_radio.scss +22 -2
  19. package/dist/scss/_root.scss +0 -1
  20. package/dist/scss/_scroll.scss +1 -1
  21. package/dist/scss/_sidebar-overlay.scss +39 -0
  22. package/dist/scss/_table.scss +2 -2
  23. package/dist/scss/_tree.scss +1 -1
  24. package/dist/scss/_variables.scss +0 -1
  25. package/dist/scss/festo-web-essentials.scss +3 -1
  26. package/dist/scss/organisms/_image-gallery.scss +14 -13
  27. package/dist/scss/organisms/_side-menu.scss +34 -20
  28. package/dist/scss/organisms/festo-web-essentials-organisms.scss +1 -0
  29. package/dist/scss/themes/flatpickr/festo.scss +1 -1
  30. package/package.json +21 -20
  31. package/scss/_checkbox.scss +4 -0
  32. package/scss/_fonts.scss +27 -0
  33. package/scss/_grid.scss +10 -0
  34. package/scss/_misc.scss +47 -0
  35. package/scss/_mixins.scss +18 -15
  36. package/scss/_navbar.scss +5 -0
  37. package/scss/_radio.scss +22 -2
  38. package/scss/_root.scss +0 -1
  39. package/scss/_scroll.scss +1 -1
  40. package/scss/_sidebar-overlay.scss +39 -0
  41. package/scss/_table.scss +2 -2
  42. package/scss/_tree.scss +1 -1
  43. package/scss/_variables.scss +0 -1
  44. package/scss/festo-web-essentials.scss +2 -0
  45. package/scss/organisms/_image-gallery.scss +14 -13
  46. package/scss/organisms/_side-menu.scss +34 -20
  47. package/scss/organisms/festo-web-essentials-organisms.scss +1 -0
@@ -3,11 +3,14 @@
3
3
  width: 240px;
4
4
  display: flex;
5
5
  flex-direction: column;
6
- border-left: 1px solid $border;
7
6
  .fwe-side-menu-item {
7
+ border-left: 1px solid $border;
8
+ line-height: 1.2;
9
+ display: flex;
10
+ align-items: center;
11
+ height: 42px;
8
12
  cursor: pointer;
9
13
  margin-left: -1px;
10
- line-height: 42px;
11
14
  color: $text;
12
15
  padding: 0px 8px 0px 16px;
13
16
  position: relative;
@@ -15,11 +18,11 @@
15
18
  position: absolute;
16
19
  content: "";
17
20
  top: 0px;
18
- left: 0px;
21
+ left: -1px;
19
22
  bottom: 0px;
20
23
  width: 0px;
21
24
  background: $hero;
22
- transition: width 0.2s;
25
+ transition: width 0.2s, height 0.2s;
23
26
  }
24
27
  &.fwe-active {
25
28
  color: $hero;
@@ -32,23 +35,34 @@
32
35
  @media (max-width: 900px) {
33
36
  width: 190px;
34
37
  }
35
- }
36
38
 
37
- .fwe-side-menu-layout {
38
- margin-top: 64px;
39
- display: flex;
40
- align-items: flex-start;
41
- .fwe-content-container {
42
- max-width: 600px;
43
- flex-shrink: 1;
44
- flex-grow: 1;
45
- @media (max-width: 750px) {
46
- max-width: unset;
47
- margin-top: 32px;
39
+ &--horizontal {
40
+ @include custom-scrollbar;
41
+ display: flex;
42
+ flex-direction: row;
43
+ width: 100%;
44
+ overflow-y: hidden;
45
+ overflow-x: auto;
46
+
47
+ .fwe-side-menu-item {
48
+ border: unset;
49
+ height: 48px;
50
+ padding: 0px 16px;
51
+ margin: 0px;
52
+ white-space: nowrap;
53
+ &::before {
54
+ top: unset;
55
+ right: 16px;
56
+ left: 16px;
57
+ width: unset;
58
+ height: 0px;
59
+ }
60
+ &.fwe-active {
61
+ &::before {
62
+ width: unset;
63
+ height: 4px;
64
+ }
65
+ }
48
66
  }
49
67
  }
50
- @media (max-width: 750px) {
51
- flex-direction: column;
52
- margin-top: 32px;
53
- }
54
68
  }
@@ -5,6 +5,7 @@
5
5
  */
6
6
 
7
7
  @import "../variables";
8
+ @import "../mixins";
8
9
 
9
10
  @import "footer";
10
11
  @import "teaser";
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Festo UI - Web Essentials v5.0.0 (https://storybook.festo.design/)
2
+ * Festo UI - Web Essentials v5.1.0-dev.162 (https://storybook.festo.design/)
3
3
  * Copyright 2022 Festo SE & Co. KG
4
4
  * Licensed under Apache-2.0
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@festo-ui/web-essentials",
3
- "version": "5.0.0",
3
+ "version": "5.1.0-dev.162",
4
4
  "description": "CSS framework and utils to build FESTO web applications",
5
5
  "keywords": [
6
6
  "css",
@@ -21,8 +21,8 @@
21
21
  "scss"
22
22
  ],
23
23
  "scripts": {
24
- "storybook": "start-storybook -p 6006",
25
- "build-storybook": "build-storybook",
24
+ "storybook": "storybook dev -p 6006",
25
+ "build-storybook": "storybook build",
26
26
  "fwe:build": "npm-run-all fwe:css fwe:copy",
27
27
  "fwe:css:version": "node build/change-version.js",
28
28
  "fwe:css": "npm-run-all fwe:css:lint fwe:css:build fwe:css:minify fwe:css:minify:flatpickr fwe:css:minify:organisms",
@@ -43,23 +43,23 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@babel/core": "^7.20.12",
46
- "@storybook/addon-actions": "^6.5.15",
47
- "@storybook/addon-docs": "6.5.12",
48
- "@storybook/addon-essentials": "^6.5.15",
49
- "@storybook/addon-interactions": "^6.5.15",
50
- "@storybook/addon-links": "^6.5.15",
51
- "@storybook/addons": "6.5.12",
52
- "@storybook/builder-webpack4": "^6.5.15",
53
- "@storybook/builder-webpack5": "6.5.12",
54
- "@storybook/cli": "^6.5.15",
55
- "@storybook/core-server": "6.5.12",
56
- "@storybook/html": "^6.5.15",
57
- "@storybook/manager-webpack4": "^6.5.15",
58
- "@storybook/manager-webpack5": "6.5.12",
46
+ "@babel/preset-env": "^7.22.14",
47
+ "@babel/preset-typescript": "^7.22.11",
48
+ "@storybook/addon-actions": "^7.4.0",
49
+ "@storybook/addon-docs": "7.4.0",
50
+ "@storybook/addon-essentials": "^7.4.0",
51
+ "@storybook/addon-interactions": "^7.4.0",
52
+ "@storybook/addon-links": "^7.4.0",
53
+ "@storybook/addon-mdx-gfm": "^7.4.0",
54
+ "@storybook/addons": "7.4.0",
55
+ "@storybook/cli": "^7.4.0",
56
+ "@storybook/core-server": "7.4.0",
57
+ "@storybook/html": "^7.4.0",
58
+ "@storybook/html-webpack5": "^7.4.0",
59
59
  "@storybook/preset-scss": "^1.0.3",
60
- "@storybook/react": "6.5.12",
61
- "@storybook/testing-library": "^0.0.13",
62
- "@storybook/theming": "6.5.12",
60
+ "@storybook/react": "7.4.0",
61
+ "@storybook/testing-library": "^0.2.0",
62
+ "@storybook/theming": "7.4.0",
63
63
  "autoprefixer": "10.4.8",
64
64
  "babel-jest": "27.5.1",
65
65
  "babel-loader": "^8.3.0",
@@ -78,7 +78,7 @@
78
78
  "eslint-plugin-prefer-arrow": "^1.2.2",
79
79
  "eslint-plugin-react": "7.30.1",
80
80
  "eslint-plugin-react-hooks": "4.6.0",
81
- "eslint-plugin-storybook": "^0.6.4",
81
+ "eslint-plugin-storybook": "^0.6.13",
82
82
  "globby": "^13.1.3",
83
83
  "html-webpack-plugin": "^5.3.2",
84
84
  "ng-packagr": "14.1.0",
@@ -95,6 +95,7 @@
95
95
  "sass": "^1.57.1",
96
96
  "sass-loader": "12.6.0",
97
97
  "sort-package-json": "^2.1.0",
98
+ "storybook": "^7.4.0",
98
99
  "style-loader": "^3.2.1",
99
100
  "stylelint": "^14.16.1",
100
101
  "stylelint-config-prettier": "^9.0.4",
@@ -23,7 +23,9 @@ $lgWidth: 24px;
23
23
 
24
24
  %checkmark-lg {
25
25
  height: $lgHeight;
26
+ min-height: $lgHeight;
26
27
  width: $lgWidth;
28
+ min-width: $lgWidth;
27
29
  border-radius: $border-radius-s;
28
30
  @extend .fwe-icon-lg;
29
31
  &:before {
@@ -70,7 +72,9 @@ label.fwe-checkbox {
70
72
  box-sizing: border-box;
71
73
  position: relative;
72
74
  height: $defaultHeight;
75
+ min-height: $defaultHeight;
73
76
  width: $defaultWidth;
77
+ min-width: $defaultWidth;
74
78
  border: 1px solid $control-border;
75
79
  background-color: $white;
76
80
  border-radius: 2px;
package/scss/_fonts.scss CHANGED
@@ -39,21 +39,48 @@
39
39
  .fwe-font-size-small {
40
40
  font-size: $font-size-small;
41
41
  }
42
+
42
43
  .fwe-font-size-md {
43
44
  font-size: $font-size-md;
44
45
  }
46
+
45
47
  .fwe-font-size-base {
46
48
  font-size: $font-size-base;
47
49
  }
50
+
48
51
  .fwe-font-size-xl {
49
52
  font-size: $font-size-xl;
50
53
  }
54
+
51
55
  .fwe-font-size-xxl {
52
56
  font-size: $font-size-xxl;
53
57
  }
58
+
54
59
  .fwe-line-height-base {
55
60
  line-height: $line-height-base;
56
61
  }
62
+
57
63
  .fwe-line-height-1 {
58
64
  line-height: 1;
59
65
  }
66
+
67
+ .fwe-font-weight-base {
68
+ font-weight: $font-weight-base;
69
+ }
70
+
71
+ .fwe-font-weight-normal {
72
+ font-weight: $font-weight-normal;
73
+ }
74
+
75
+ .fwe-font-weight-bold {
76
+ font-weight: $font-weight-bold;
77
+ }
78
+
79
+ .fwe-font-family-sans-serif {
80
+ font-family: $font-family-sans-serif;
81
+ }
82
+
83
+ .fwe-font-family-monospace,
84
+ .fwe-font-family-code {
85
+ font-family: $font-family-monospace;
86
+ }
package/scss/_grid.scss CHANGED
@@ -7,6 +7,16 @@
7
7
  .fwe-col#{$infix}-#{$i} {
8
8
  grid-column-end: span $i;
9
9
  }
10
+
11
+ .fwe-grid-line-break#{$infix} {
12
+ grid-column-start: 1;
13
+ }
14
+
15
+ @if $i < $grid-columns {
16
+ .fwe-offset#{$infix}-#{$i} {
17
+ grid-column-start: $i + 1;
18
+ }
19
+ }
10
20
  }
11
21
  }
12
22
  }
@@ -0,0 +1,47 @@
1
+ .fwe-object-fit-contain {
2
+ object-fit: contain !important;
3
+ }
4
+
5
+ .fwe-object-fit-cover {
6
+ object-fit: cover !important;
7
+ }
8
+
9
+ .fwe-object-fit-fill {
10
+ object-fit: fill !important;
11
+ }
12
+
13
+ .fwe-object-fit-scale-down {
14
+ object-fit: scale-down !important;
15
+ }
16
+
17
+ .fwe-w-100 {
18
+ width: 100% !important;
19
+ }
20
+
21
+ .fwe-h-100 {
22
+ height: 100% !important;
23
+ }
24
+
25
+ .fwe-text-align-center {
26
+ text-align: center;
27
+ }
28
+
29
+ .fwe-text-align-right {
30
+ text-align: right;
31
+ }
32
+
33
+ .fwe-text-align-left {
34
+ text-align: right;
35
+ }
36
+
37
+ .fwe-text-align-justify {
38
+ text-align: justify;
39
+ }
40
+
41
+ .fwe-text-align-end {
42
+ text-align: end;
43
+ }
44
+
45
+ .fwe-text-align-start {
46
+ text-align: start;
47
+ }
package/scss/_mixins.scss CHANGED
@@ -24,22 +24,25 @@
24
24
  @mixin custom-scrollbar {
25
25
  scrollbar-width: thin;
26
26
  scrollbar-color: $control-scrollbar $gray-100;
27
- &::-webkit-scrollbar {
28
- width: 14px;
29
- }
30
27
 
31
- &::-webkit-scrollbar-track {
32
- background: transparent;
33
- }
28
+ @media (pointer: fine) {
29
+ &::-webkit-scrollbar {
30
+ width: 14px;
31
+ }
34
32
 
35
- &::-webkit-scrollbar-thumb {
36
- overflow: visible;
37
- background-color: $control-scrollbar;
38
- // use $gray-100 with opacity 0 for effect of margins of scrollbar
39
- border: 3px solid rgba(242, 243, 245, 0);
40
- // hide the background with background clip
41
- -webkit-background-clip: padding-box;
42
- background-clip: padding-box;
43
- border-radius: 8px;
33
+ &::-webkit-scrollbar-track {
34
+ background: transparent;
35
+ }
36
+
37
+ &::-webkit-scrollbar-thumb {
38
+ overflow: visible;
39
+ background-color: $control-scrollbar;
40
+ // use $gray-100 with opacity 0 for effect of margins of scrollbar
41
+ border: 3px solid rgba(242, 243, 245, 0);
42
+ // hide the background with background clip
43
+ -webkit-background-clip: padding-box;
44
+ background-clip: padding-box;
45
+ border-radius: 8px;
46
+ }
44
47
  }
45
48
  }
package/scss/_navbar.scss CHANGED
@@ -256,3 +256,8 @@ header.fwe-fixed-header {
256
256
  align-items: center;
257
257
  }
258
258
  }
259
+
260
+ // Margin for fixed overlay elements used with fixed navbar
261
+ .fwe-navbar-margin {
262
+ margin-top: $navbar-height;
263
+ }
package/scss/_radio.scss CHANGED
@@ -27,12 +27,20 @@ $lgWidth: 24px;
27
27
  .fwe-radio-checkmark {
28
28
  height: $lgHeight;
29
29
  width: $lgWidth;
30
+ min-height: $lgHeight;
31
+ min-width: $lgWidth;
30
32
 
31
33
  &:after {
32
34
  height: $lgHeight;
33
35
  width: $lgWidth;
36
+ min-height: $lgHeight;
37
+ min-width: $lgWidth;
34
38
  }
35
39
  }
40
+
41
+ .fwe-radio-label-content {
42
+ line-height: 32px;
43
+ }
36
44
  }
37
45
  }
38
46
 
@@ -62,6 +70,8 @@ label.fwe-radio {
62
70
  position: relative;
63
71
  height: $defaultHeight;
64
72
  width: $defaultWidth;
73
+ min-height: $defaultHeight;
74
+ min-width: $defaultWidth;
65
75
  border: 1px solid $control-border;
66
76
  background-color: $white;
67
77
  border-radius: 50%;
@@ -77,6 +87,8 @@ label.fwe-radio {
77
87
  top: -1px;
78
88
  height: $defaultHeight;
79
89
  width: $defaultWidth;
90
+ min-height: $defaultHeight;
91
+ min-width: $defaultWidth;
80
92
  transition: transform ease-out 0.3s, background-color ease-out 0.3s;
81
93
  transform: scale(0.001);
82
94
  }
@@ -86,12 +98,20 @@ label.fwe-radio {
86
98
  .fwe-radio-checkmark {
87
99
  height: $lgHeight;
88
100
  width: $lgWidth;
101
+ min-height: $lgHeight;
102
+ min-width: $lgWidth;
89
103
 
90
104
  &:after {
91
105
  height: $lgHeight;
92
106
  width: $lgWidth;
107
+ min-height: $lgHeight;
108
+ min-width: $lgWidth;
93
109
  }
94
110
  }
111
+
112
+ .fwe-radio-label-content {
113
+ line-height: 32px;
114
+ }
95
115
  }
96
116
 
97
117
  .fwe-radio-label-content {
@@ -112,7 +132,7 @@ label.fwe-radio {
112
132
  opacity: 0;
113
133
  cursor: pointer;
114
134
 
115
- &:hover ~ .fwe-radio-checkmark {
135
+ &:hover:not(:disabled) ~ .fwe-radio-checkmark {
116
136
  background-color: $control;
117
137
  }
118
138
 
@@ -125,7 +145,7 @@ label.fwe-radio {
125
145
  border-color: $hero;
126
146
  }
127
147
 
128
- &:hover:checked ~ .fwe-radio-checkmark {
148
+ &:hover:checked:not(:disabled) ~ .fwe-radio-checkmark {
129
149
  background-color: $hero-dark;
130
150
  border-color: $hero-dark;
131
151
  }
package/scss/_root.scss CHANGED
@@ -63,7 +63,6 @@
63
63
  --fwe-control-scrollbar: #d2d5d9; // 80% * --fwe-control-dark + 20% * #FFFFFF
64
64
 
65
65
  --fwe-background: #f2f3f5;
66
- --fwe-background-image-gallery: #707070;
67
66
 
68
67
  --fwe-border: #d8dce1;
69
68
  --fwe-border-disabled: #e6e9ec; // 64% * --fwe-gray-300 + 36% * #FFFFFF
package/scss/_scroll.scss CHANGED
@@ -1,6 +1,6 @@
1
1
  // styles for native browser scrollbar
2
2
  .fwe-scrollbar {
3
- @include custom-scrollbar();
3
+ @include custom-scrollbar;
4
4
  }
5
5
 
6
6
  // styles for js scrollbar (simplebar.js)
@@ -0,0 +1,39 @@
1
+ $fwe-sidebar-overlay-width: 480px;
2
+
3
+ .fwe-sidebar-overlay {
4
+ z-index: $zindex-sticky;
5
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
6
+ padding: 32px;
7
+ position: fixed;
8
+ right: 0px;
9
+ top: 0px;
10
+ bottom: 0px;
11
+ width: $fwe-sidebar-overlay-width;
12
+ background: $white;
13
+ transform: translateX($fwe-sidebar-overlay-width);
14
+ transition: opacity 400ms, transform 400ms;
15
+ opacity: 0;
16
+ &--open {
17
+ opacity: 1;
18
+ transform: translateX(0px);
19
+ }
20
+ .fwe-close-icon-button {
21
+ line-height: 1;
22
+ display: block;
23
+ border: none;
24
+ background-color: transparent;
25
+ padding: 0;
26
+ margin: 0 0 0 auto;
27
+ outline: none;
28
+ text-align: right;
29
+ cursor: pointer;
30
+ &:hover {
31
+ color: $hero;
32
+ }
33
+ }
34
+ @media (max-width: $grid-breakpoint-xs) {
35
+ left: 0px;
36
+ width: unset;
37
+ transform: translateX(100%);
38
+ }
39
+ }
package/scss/_table.scss CHANGED
@@ -70,8 +70,8 @@ table.fwe-table {
70
70
 
71
71
  background-color: $white;
72
72
  border-bottom: 2px solid $background;
73
- padding-top: 11px;
74
- padding-bottom: 13px;
73
+ padding-top: 12px;
74
+ padding-bottom: 12px;
75
75
  padding-left: 16px;
76
76
  padding-right: 16px;
77
77
  vertical-align: top;
package/scss/_tree.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  .fwe-tree {
2
- @include custom-scrollbar();
2
+ @include custom-scrollbar;
3
3
  position: relative;
4
4
 
5
5
  &-node {
@@ -64,7 +64,6 @@ $control-border-darker: var(--fwe-control-border-darker) !default;
64
64
 
65
65
  $background: var(--fwe-background) !default;
66
66
  $background-modal: rgba(black, 0.7) !default;
67
- $background-image-gallery: var(--fwe-background-image-gallery) !default;
68
67
 
69
68
  $border: var(--fwe-border) !default;
70
69
  $border-disabled: var(--fwe-border-disabled) !default;
@@ -16,6 +16,7 @@
16
16
  @import "normalize";
17
17
  @import "utils";
18
18
 
19
+ @import "misc";
19
20
  @import "display";
20
21
  @import "spacing";
21
22
  @import "border";
@@ -56,3 +57,4 @@
56
57
  @import "bottom-navigation";
57
58
  @import "accordion";
58
59
  @import "tree";
60
+ @import "sidebar-overlay";
@@ -8,7 +8,7 @@
8
8
  max-width: unset;
9
9
  max-height: 100vh;
10
10
  overflow-x: hidden;
11
- overflow-y: auto;
11
+ overflow-y: hidden;
12
12
 
13
13
  .fwe-btn-link i.fwe-icon-menu-close.fwe-modal-image-gallery-close {
14
14
  padding-right: 0px;
@@ -40,7 +40,7 @@
40
40
  .fwe-image-gallery-container {
41
41
  display: flex;
42
42
  flex-direction: column;
43
- overflow: auto;
43
+ overflow: hidden;
44
44
  }
45
45
 
46
46
  .fwe-image-gallery-content {
@@ -59,7 +59,7 @@
59
59
  .fwe-image-gallery {
60
60
  width: 100%;
61
61
  height: 288px;
62
- background-color: $background-image-gallery;
62
+ background-color: white;
63
63
  user-select: none;
64
64
 
65
65
  svg,
@@ -92,6 +92,7 @@
92
92
  height: 64px;
93
93
  opacity: 0.33;
94
94
  transition: opacity 0.3s;
95
+ cursor: pointer;
95
96
 
96
97
  &:last-child {
97
98
  margin-right: 0px;
@@ -113,17 +114,19 @@
113
114
  object-fit: cover;
114
115
  width: 88px;
115
116
  height: 56px;
116
- background-color: $background-image-gallery;
117
+ background-color: white;
117
118
  }
118
119
 
119
120
  &.swiper-slide-thumb-active,
120
121
  &:hover {
121
122
  opacity: 1;
122
-
123
123
  &::after {
124
124
  opacity: 1;
125
125
  }
126
126
  }
127
+ &.swiper-slide-thumb-active {
128
+ cursor: default;
129
+ }
127
130
  }
128
131
  }
129
132
 
@@ -141,13 +144,14 @@
141
144
  margin-right: 8px;
142
145
  opacity: 0.33;
143
146
  transition: opacity 0.3s;
147
+ cursor: pointer;
144
148
 
145
149
  img {
146
150
  position: absolute;
147
151
  height: 56px;
148
152
  width: 88px;
149
153
  min-width: 88px;
150
- background: $background-image-gallery;
154
+ background: white;
151
155
  object-fit: cover;
152
156
  }
153
157
 
@@ -169,11 +173,14 @@
169
173
  &.fwe-active,
170
174
  &:hover {
171
175
  opacity: 1;
172
-
173
176
  &::after {
174
177
  opacity: 1;
175
178
  }
176
179
  }
180
+
181
+ &.fwe-active {
182
+ cursor: default;
183
+ }
177
184
  }
178
185
  }
179
186
 
@@ -225,12 +232,6 @@
225
232
  margin-top: none;
226
233
  }
227
234
  }
228
-
229
- &--with-thumbnails {
230
- .fwe-image-gallery-wrapper {
231
- width: 984px;
232
- }
233
- }
234
235
  }
235
236
 
236
237
  .fwe-image-gallery,