fomantic-ui 2.9.1-beta.0 → 2.9.1-beta.10
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/.github/workflows/ci.yml +1 -1
- package/README.md +2 -2
- package/dist/components/accordion.css +3 -3
- package/dist/components/accordion.js +3 -3
- package/dist/components/accordion.min.css +3 -3
- package/dist/components/accordion.min.js +3 -3
- package/dist/components/ad.css +3 -3
- package/dist/components/ad.min.css +3 -3
- package/dist/components/api.js +3 -3
- package/dist/components/api.min.js +3 -3
- package/dist/components/breadcrumb.css +3 -3
- package/dist/components/breadcrumb.min.css +3 -3
- package/dist/components/button.css +3 -13
- package/dist/components/button.min.css +3 -3
- package/dist/components/calendar.css +15 -11
- package/dist/components/calendar.js +19 -10
- package/dist/components/calendar.min.css +4 -4
- package/dist/components/calendar.min.js +4 -4
- package/dist/components/card.css +3 -3
- package/dist/components/card.min.css +3 -3
- package/dist/components/checkbox.css +3 -3
- package/dist/components/checkbox.js +3 -3
- package/dist/components/checkbox.min.css +3 -3
- package/dist/components/checkbox.min.js +3 -3
- package/dist/components/comment.css +3 -3
- package/dist/components/comment.min.css +3 -3
- package/dist/components/container.css +3 -3
- package/dist/components/container.min.css +3 -3
- package/dist/components/dimmer.css +3 -3
- package/dist/components/dimmer.js +3 -3
- package/dist/components/dimmer.min.css +3 -3
- package/dist/components/dimmer.min.js +3 -3
- package/dist/components/divider.css +3 -3
- package/dist/components/divider.min.css +3 -3
- package/dist/components/dropdown.css +3 -3
- package/dist/components/dropdown.js +3 -3
- package/dist/components/dropdown.min.css +3 -3
- package/dist/components/dropdown.min.js +3 -3
- package/dist/components/embed.css +3 -3
- package/dist/components/embed.js +3 -3
- package/dist/components/embed.min.css +3 -3
- package/dist/components/embed.min.js +3 -3
- package/dist/components/feed.css +3 -3
- package/dist/components/feed.min.css +3 -3
- package/dist/components/flag.css +3 -3
- package/dist/components/flag.min.css +3 -3
- package/dist/components/flyout.css +3 -3
- package/dist/components/flyout.js +3 -3
- package/dist/components/flyout.min.css +3 -3
- package/dist/components/flyout.min.js +3 -3
- package/dist/components/form.css +3 -3
- package/dist/components/form.js +3 -3
- package/dist/components/form.min.css +3 -3
- package/dist/components/form.min.js +3 -3
- package/dist/components/grid.css +3 -3
- package/dist/components/grid.min.css +3 -3
- package/dist/components/header.css +3 -3
- package/dist/components/header.min.css +3 -3
- package/dist/components/icon.css +6 -16
- package/dist/components/icon.min.css +4 -4
- package/dist/components/image.css +3 -3
- package/dist/components/image.min.css +3 -3
- package/dist/components/input.css +3 -3
- package/dist/components/input.min.css +3 -3
- package/dist/components/item.css +3 -3
- package/dist/components/item.min.css +3 -3
- package/dist/components/label.css +3 -3
- package/dist/components/label.min.css +3 -3
- package/dist/components/list.css +3 -3
- package/dist/components/list.min.css +3 -3
- package/dist/components/loader.css +3 -3
- package/dist/components/loader.min.css +3 -3
- package/dist/components/menu.css +2 -2
- package/dist/components/message.css +3 -3
- package/dist/components/message.min.css +3 -3
- package/dist/components/modal.css +3 -3
- package/dist/components/modal.js +3 -3
- package/dist/components/modal.min.css +3 -3
- package/dist/components/modal.min.js +3 -3
- package/dist/components/nag.css +5 -6
- package/dist/components/nag.js +3 -3
- package/dist/components/nag.min.css +4 -4
- package/dist/components/nag.min.js +3 -3
- package/dist/components/placeholder.css +3 -3
- package/dist/components/placeholder.min.css +3 -3
- package/dist/components/popup.css +303 -3
- package/dist/components/popup.js +3 -3
- package/dist/components/popup.min.css +4 -4
- package/dist/components/popup.min.js +3 -3
- package/dist/components/progress.css +3 -3
- package/dist/components/progress.js +3 -3
- package/dist/components/progress.min.css +3 -3
- package/dist/components/progress.min.js +3 -3
- package/dist/components/rail.css +3 -3
- package/dist/components/rail.min.css +3 -3
- package/dist/components/rating.css +4 -4
- package/dist/components/rating.js +3 -3
- package/dist/components/rating.min.css +4 -4
- package/dist/components/rating.min.js +3 -3
- package/dist/components/reset.css +3 -3
- package/dist/components/reset.min.css +3 -3
- package/dist/components/reveal.css +3 -3
- package/dist/components/reveal.min.css +3 -3
- package/dist/components/search.css +3 -3
- package/dist/components/search.js +3 -3
- package/dist/components/search.min.css +3 -3
- package/dist/components/search.min.js +3 -3
- package/dist/components/segment.css +3 -3
- package/dist/components/segment.min.css +3 -3
- package/dist/components/shape.css +3 -3
- package/dist/components/shape.js +3 -3
- package/dist/components/shape.min.css +3 -3
- package/dist/components/shape.min.js +3 -3
- package/dist/components/sidebar.css +3 -3
- package/dist/components/sidebar.js +3 -3
- package/dist/components/sidebar.min.css +3 -3
- package/dist/components/sidebar.min.js +3 -3
- package/dist/components/site.css +3 -3
- package/dist/components/site.js +3 -3
- package/dist/components/site.min.css +3 -3
- package/dist/components/site.min.js +3 -3
- package/dist/components/slider.js +3 -3
- package/dist/components/slider.min.js +3 -3
- package/dist/components/state.js +3 -3
- package/dist/components/state.min.js +3 -3
- package/dist/components/statistic.css +3 -3
- package/dist/components/statistic.min.css +3 -3
- package/dist/components/step.css +3 -3
- package/dist/components/step.min.css +3 -3
- package/dist/components/sticky.css +3 -3
- package/dist/components/sticky.js +3 -3
- package/dist/components/sticky.min.css +3 -3
- package/dist/components/sticky.min.js +3 -3
- package/dist/components/tab.css +3 -3
- package/dist/components/tab.js +3 -3
- package/dist/components/tab.min.css +3 -3
- package/dist/components/tab.min.js +3 -3
- package/dist/components/table.css +5 -5
- package/dist/components/table.min.css +4 -4
- package/dist/components/text.css +2 -2
- package/dist/components/text.min.css +2 -2
- package/dist/components/toast.css +3 -3
- package/dist/components/toast.js +3 -3
- package/dist/components/toast.min.css +3 -3
- package/dist/components/toast.min.js +3 -3
- package/dist/components/transition.css +149 -3
- package/dist/components/transition.js +3 -3
- package/dist/components/transition.min.css +4 -4
- package/dist/components/transition.min.js +3 -3
- package/dist/components/visibility.js +3 -3
- package/dist/components/visibility.min.js +3 -3
- package/dist/semantic.css +697 -185
- package/dist/semantic.js +94 -85
- package/dist/semantic.min.css +4 -4
- package/dist/semantic.min.js +4 -4
- package/dist/themes/default/assets/fonts/Lato-Bold.woff +0 -0
- package/dist/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
- package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
- package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
- package/dist/themes/default/assets/fonts/Lato-Italic.woff +0 -0
- package/dist/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
- package/dist/themes/default/assets/fonts/Lato-Regular.woff +0 -0
- package/dist/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
- package/package.json +3 -5
- package/src/definitions/behaviors/api.js +2 -2
- package/src/definitions/behaviors/form.js +2 -2
- package/src/definitions/behaviors/state.js +2 -2
- package/src/definitions/behaviors/visibility.js +2 -2
- package/src/definitions/collections/breadcrumb.less +2 -2
- package/src/definitions/collections/form.less +4 -4
- package/src/definitions/collections/grid.less +2 -2
- package/src/definitions/collections/menu.less +2 -2
- package/src/definitions/collections/message.less +2 -2
- package/src/definitions/collections/table.less +4 -4
- package/src/definitions/elements/button.less +86 -94
- package/src/definitions/elements/container.less +2 -2
- package/src/definitions/elements/divider.less +2 -2
- package/src/definitions/elements/flag.less +2 -2
- package/src/definitions/elements/header.less +2 -2
- package/src/definitions/elements/icon.less +80 -6
- package/src/definitions/elements/image.less +2 -2
- package/src/definitions/elements/input.less +11 -10
- package/src/definitions/elements/label.less +2 -2
- package/src/definitions/elements/list.less +2 -2
- package/src/definitions/elements/loader.less +2 -2
- package/src/definitions/elements/placeholder.less +2 -2
- package/src/definitions/elements/rail.less +2 -2
- package/src/definitions/elements/reveal.less +2 -2
- package/src/definitions/elements/segment.less +2 -2
- package/src/definitions/elements/step.less +2 -2
- package/src/definitions/elements/text.less +1 -1
- package/src/definitions/globals/reset.less +2 -2
- package/src/definitions/globals/site.js +2 -2
- package/src/definitions/globals/site.less +2 -2
- package/src/definitions/modules/accordion.js +2 -2
- package/src/definitions/modules/accordion.less +2 -2
- package/src/definitions/modules/calendar.js +18 -9
- package/src/definitions/modules/calendar.less +14 -10
- package/src/definitions/modules/checkbox.js +2 -2
- package/src/definitions/modules/checkbox.less +2 -2
- package/src/definitions/modules/dimmer.js +2 -2
- package/src/definitions/modules/dimmer.less +2 -2
- package/src/definitions/modules/dropdown.js +2 -2
- package/src/definitions/modules/dropdown.less +2 -2
- package/src/definitions/modules/embed.js +2 -2
- package/src/definitions/modules/embed.less +2 -2
- package/src/definitions/modules/flyout.js +2 -2
- package/src/definitions/modules/flyout.less +2 -2
- package/src/definitions/modules/modal.js +2 -2
- package/src/definitions/modules/modal.less +2 -2
- package/src/definitions/modules/nag.js +2 -2
- package/src/definitions/modules/nag.less +2 -3
- package/src/definitions/modules/popup.js +2 -2
- package/src/definitions/modules/popup.less +52 -2
- package/src/definitions/modules/progress.js +2 -2
- package/src/definitions/modules/progress.less +2 -2
- package/src/definitions/modules/rating.js +2 -2
- package/src/definitions/modules/rating.less +3 -3
- package/src/definitions/modules/search.js +2 -2
- package/src/definitions/modules/search.less +2 -2
- package/src/definitions/modules/shape.js +2 -2
- package/src/definitions/modules/shape.less +2 -2
- package/src/definitions/modules/sidebar.js +2 -2
- package/src/definitions/modules/sidebar.less +2 -2
- package/src/definitions/modules/slider.js +2 -2
- package/src/definitions/modules/sticky.js +2 -2
- package/src/definitions/modules/sticky.less +2 -2
- package/src/definitions/modules/tab.js +2 -2
- package/src/definitions/modules/tab.less +2 -2
- package/src/definitions/modules/toast.js +2 -2
- package/src/definitions/modules/toast.less +2 -2
- package/src/definitions/modules/transition.js +2 -2
- package/src/definitions/modules/transition.less +38 -3
- package/src/definitions/views/ad.less +2 -2
- package/src/definitions/views/card.less +2 -2
- package/src/definitions/views/comment.less +2 -2
- package/src/definitions/views/feed.less +2 -2
- package/src/definitions/views/item.less +2 -2
- package/src/definitions/views/statistic.less +2 -2
- package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
- package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
- package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
- package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
- package/src/themes/default/elements/icon.variables +18 -0
- package/src/themes/default/globals/site.variables +1 -0
- package/src/themes/default/globals/variation.variables +9 -1
- package/src/themes/default/modules/calendar.variables +2 -0
- package/src/themes/default/modules/nag.variables +1 -1
- package/src/themes/default/modules/transition.variables +8 -1
- package/tasks/build/css.js +3 -3
- package/tasks/build/javascript.js +3 -3
- package/tasks/config/defaults.js +2 -0
- package/tasks/config/project/config.js +2 -2
- package/tasks/config/project/release.js +2 -2
- package/tasks/config/tasks.js +17 -7
- package/tasks/config/user.js +4 -1
- package/tasks/install.js +2 -2
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "fomantic-ui",
|
3
|
-
"version": "2.9.1-beta.
|
3
|
+
"version": "2.9.1-beta.10+0533782",
|
4
4
|
"description": "Fomantic empowers designers and developers by creating a shared vocabulary for UI.",
|
5
5
|
"keywords": [
|
6
6
|
"fomantic-ui",
|
@@ -29,11 +29,11 @@
|
|
29
29
|
},
|
30
30
|
"dependencies": {
|
31
31
|
"@actions/core": "^1.6.0",
|
32
|
-
"@octokit/core": "
|
32
|
+
"@octokit/core": "^3.6.0",
|
33
33
|
"@octokit/rest": "^16.16.0",
|
34
34
|
"better-console": "1.0.1",
|
35
35
|
"browserslist": "^4.19.1",
|
36
|
-
"del": "^
|
36
|
+
"del": "^6.1.1",
|
37
37
|
"extend": "^3.0.2",
|
38
38
|
"gulp": "^4.0.0",
|
39
39
|
"gulp-autoprefixer": "^6.0.0",
|
@@ -44,7 +44,6 @@
|
|
44
44
|
"gulp-concat-css": "^3.1.0",
|
45
45
|
"gulp-concat-filenames": "^1.2.0",
|
46
46
|
"gulp-copy": "^4.0.0",
|
47
|
-
"gulp-debug": "^4.0.0",
|
48
47
|
"gulp-dedupe": "0.0.2",
|
49
48
|
"gulp-flatten": "^0.4.0",
|
50
49
|
"gulp-git": "^2.9.0",
|
@@ -52,7 +51,6 @@
|
|
52
51
|
"gulp-if": "^2.0.2",
|
53
52
|
"gulp-json-editor": "^2.4.3",
|
54
53
|
"gulp-less": "^5.0.0",
|
55
|
-
"gulp-notify": "^3.0.0",
|
56
54
|
"gulp-plumber": "^1.1.0",
|
57
55
|
"gulp-print": "^5.0.0",
|
58
56
|
"gulp-rename": "^1.4.0",
|
@@ -1,10 +1,10 @@
|
|
1
1
|
/*!
|
2
2
|
* # Fomantic-UI - Form Validation
|
3
|
-
*
|
3
|
+
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
6
6
|
* Released under the MIT license
|
7
|
-
*
|
7
|
+
* https://opensource.org/licenses/MIT
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
/*!
|
2
2
|
* # Fomantic-UI - Visibility
|
3
|
-
*
|
3
|
+
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
6
6
|
* Released under the MIT license
|
7
|
-
*
|
7
|
+
* https://opensource.org/licenses/MIT
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
/*!
|
2
2
|
* # Fomantic-UI - Breadcrumb
|
3
|
-
*
|
3
|
+
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
6
6
|
* Released under the MIT license
|
7
|
-
*
|
7
|
+
* https://opensource.org/licenses/MIT
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
/*!
|
2
2
|
* # Fomantic-UI - Form
|
3
|
-
*
|
3
|
+
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
6
6
|
* Released under the MIT license
|
7
|
-
*
|
7
|
+
* https://opensource.org/licenses/MIT
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
@@ -591,7 +591,7 @@
|
|
591
591
|
border-radius: @formStates[@@state][borderRadius];
|
592
592
|
box-shadow: @formStates[@@state][boxShadow];
|
593
593
|
}
|
594
|
-
& when (@state=error) {
|
594
|
+
& when (@state=error) and (@variationFormInvalid) {
|
595
595
|
.ui.form .field input:not(:placeholder-shown):invalid {
|
596
596
|
color: @c;
|
597
597
|
background: @bg;
|
@@ -760,7 +760,7 @@
|
|
760
760
|
.ui.form .disabled.fields .field,
|
761
761
|
.ui.form .disabled.field,
|
762
762
|
.ui.form .field :disabled {
|
763
|
-
pointer-events:
|
763
|
+
pointer-events: @disabledPointerEvents;
|
764
764
|
opacity: @disabledOpacity;
|
765
765
|
}
|
766
766
|
.ui.form .field.disabled > label,
|
@@ -1,11 +1,11 @@
|
|
1
1
|
/*
|
2
2
|
* # Fomantic - Menu
|
3
|
-
*
|
3
|
+
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
6
6
|
* Copyright 2015 Contributor
|
7
7
|
* Released under the MIT license
|
8
|
-
*
|
8
|
+
* https://opensource.org/licenses/MIT
|
9
9
|
*
|
10
10
|
*/
|
11
11
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
/*!
|
2
2
|
* # Fomantic-UI - Table
|
3
|
-
*
|
3
|
+
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
6
6
|
* Released under the MIT license
|
7
|
-
*
|
7
|
+
* https://opensource.org/licenses/MIT
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
@@ -1556,8 +1556,8 @@
|
|
1556
1556
|
border-color: @invertedCellBorderColor;
|
1557
1557
|
}
|
1558
1558
|
& when (@variationTableDisabled) {
|
1559
|
-
.ui.inverted.table tr.disabled td,
|
1560
|
-
.ui.inverted.table tr td.disabled,
|
1559
|
+
.ui.ui.ui.inverted.table tr.disabled td,
|
1560
|
+
.ui.ui.ui.inverted.table tr td.disabled,
|
1561
1561
|
.ui.inverted.table tr.disabled:hover td,
|
1562
1562
|
.ui.inverted.table tr:hover td.disabled {
|
1563
1563
|
pointer-events: none;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
/*!
|
2
2
|
* # Fomantic-UI - Button
|
3
|
-
*
|
3
|
+
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
6
6
|
* Released under the MIT license
|
7
|
-
*
|
7
|
+
* https://opensource.org/licenses/MIT
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
@@ -1756,101 +1756,93 @@
|
|
1756
1756
|
})
|
1757
1757
|
}
|
1758
1758
|
|
1759
|
-
|
1760
|
-
|
1761
|
-
|
1762
|
-
|
1763
|
-
|
1764
|
-
|
1765
|
-
|
1766
|
-
|
1767
|
-
|
1768
|
-
|
1769
|
-
|
1770
|
-
|
1771
|
-
|
1772
|
-
|
1773
|
-
|
1774
|
-
|
1775
|
-
|
1776
|
-
|
1777
|
-
|
1778
|
-
box-shadow: @coloredBoxShadow;
|
1779
|
-
}
|
1780
|
-
.ui.@{consequence}.buttons .button:hover,
|
1781
|
-
.ui.@{consequence}.button:hover {
|
1782
|
-
background-color: @@_backgroundColorHover;
|
1783
|
-
color: @@_textColor;
|
1784
|
-
text-shadow: @@_textShadow;
|
1785
|
-
}
|
1786
|
-
.ui.@{consequence}.buttons .button:focus,
|
1787
|
-
.ui.@{consequence}.button:focus {
|
1788
|
-
background-color: @@_backgroundColorFocus;
|
1789
|
-
color: @@_textColor;
|
1790
|
-
text-shadow: @@_textShadow;
|
1791
|
-
}
|
1792
|
-
.ui.@{consequence}.buttons .button:active,
|
1793
|
-
.ui.@{consequence}.button:active {
|
1794
|
-
background-color: @@_backgroundColorDown;
|
1795
|
-
color: @@_textColor;
|
1796
|
-
text-shadow: @@_textShadow;
|
1797
|
-
}
|
1798
|
-
.ui.@{consequence}.buttons .active.button,
|
1799
|
-
.ui.@{consequence}.buttons .active.button:active,
|
1800
|
-
.ui.@{consequence}.active.button,
|
1801
|
-
.ui.@{consequence}.button .active.button:active {
|
1802
|
-
background-color: @@_backgroundColorActive;
|
1803
|
-
color: @@_textColor;
|
1804
|
-
text-shadow: @@_textShadow;
|
1805
|
-
}
|
1806
|
-
& when (@variationButtonBasic) {
|
1807
|
-
/* Basic */
|
1808
|
-
.ui.basic.@{consequence}.buttons .button,
|
1809
|
-
.ui.basic.@{consequence}.button {
|
1810
|
-
background: transparent;
|
1811
|
-
box-shadow: 0 0 0 @basicBorderSize @@_backgroundColor inset;
|
1812
|
-
color: @@_backgroundColor;
|
1813
|
-
}
|
1814
|
-
.ui.basic.@{consequence}.buttons .button:hover,
|
1815
|
-
.ui.basic.@{consequence}.button:hover {
|
1816
|
-
background: transparent;
|
1817
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorHover inset;
|
1818
|
-
color: @@_backgroundColorHover;
|
1819
|
-
}
|
1820
|
-
.ui.basic.@{consequence}.buttons .button:focus,
|
1821
|
-
.ui.basic.@{consequence}.button:focus {
|
1822
|
-
background: transparent;
|
1823
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorFocus inset;
|
1824
|
-
color: @@_backgroundColorHover;
|
1825
|
-
}
|
1826
|
-
.ui.basic.@{consequence}.buttons .active.button,
|
1827
|
-
.ui.basic.@{consequence}.active.button {
|
1828
|
-
background: transparent;
|
1829
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorActive inset;
|
1830
|
-
color: @@_backgroundColorDown;
|
1831
|
-
}
|
1832
|
-
.ui.basic.@{consequence}.buttons .button:active,
|
1833
|
-
.ui.basic.@{consequence}.button:active {
|
1834
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorDown inset;
|
1835
|
-
color: @@_backgroundColorDown;
|
1836
|
-
}
|
1837
|
-
.ui.buttons:not(.vertical) > .basic.@{consequence}.button:not(:first-child) {
|
1838
|
-
margin-left: -@basicColoredBorderSize;
|
1759
|
+
& when not (@variationButtonConsequences = false) {
|
1760
|
+
each(@variationButtonConsequences, {
|
1761
|
+
@consequence: @value;
|
1762
|
+
|
1763
|
+
@_backgroundColor: "@{consequence}Color";
|
1764
|
+
@_backgroundColorHover: "@{consequence}ColorHover";
|
1765
|
+
@_backgroundColorFocus: "@{consequence}ColorFocus";
|
1766
|
+
@_backgroundColorDown: "@{consequence}ColorDown";
|
1767
|
+
@_backgroundColorActive: "@{consequence}ColorActive";
|
1768
|
+
@_textColor: "@{consequence}TextColor";
|
1769
|
+
@_textShadow: "@{consequence}TextShadow";
|
1770
|
+
|
1771
|
+
/* Standard */
|
1772
|
+
.ui.@{consequence}.buttons .button,
|
1773
|
+
.ui.@{consequence}.button {
|
1774
|
+
background-color: @@_backgroundColor;
|
1775
|
+
color: @@_textColor;
|
1776
|
+
text-shadow: @@_textShadow;
|
1777
|
+
background-image: @coloredBackgroundImage;
|
1839
1778
|
}
|
1840
|
-
|
1779
|
+
.ui.@{consequence}.button {
|
1780
|
+
box-shadow: @coloredBoxShadow;
|
1781
|
+
}
|
1782
|
+
.ui.@{consequence}.buttons .button:hover,
|
1783
|
+
.ui.@{consequence}.button:hover {
|
1784
|
+
background-color: @@_backgroundColorHover;
|
1785
|
+
color: @@_textColor;
|
1786
|
+
text-shadow: @@_textShadow;
|
1787
|
+
}
|
1788
|
+
.ui.@{consequence}.buttons .button:focus,
|
1789
|
+
.ui.@{consequence}.button:focus {
|
1790
|
+
background-color: @@_backgroundColorFocus;
|
1791
|
+
color: @@_textColor;
|
1792
|
+
text-shadow: @@_textShadow;
|
1793
|
+
}
|
1794
|
+
.ui.@{consequence}.buttons .button:active,
|
1795
|
+
.ui.@{consequence}.button:active {
|
1796
|
+
background-color: @@_backgroundColorDown;
|
1797
|
+
color: @@_textColor;
|
1798
|
+
text-shadow: @@_textShadow;
|
1799
|
+
}
|
1800
|
+
.ui.@{consequence}.buttons .active.button,
|
1801
|
+
.ui.@{consequence}.buttons .active.button:active,
|
1802
|
+
.ui.@{consequence}.active.button,
|
1803
|
+
.ui.@{consequence}.button .active.button:active {
|
1804
|
+
background-color: @@_backgroundColorActive;
|
1805
|
+
color: @@_textColor;
|
1806
|
+
text-shadow: @@_textShadow;
|
1807
|
+
}
|
1808
|
+
& when (@variationButtonBasic) {
|
1809
|
+
/* Basic */
|
1810
|
+
.ui.basic.@{consequence}.buttons .button,
|
1811
|
+
.ui.basic.@{consequence}.button {
|
1812
|
+
background: transparent;
|
1813
|
+
box-shadow: 0 0 0 @basicBorderSize @@_backgroundColor inset;
|
1814
|
+
color: @@_backgroundColor;
|
1815
|
+
}
|
1816
|
+
.ui.basic.@{consequence}.buttons .button:hover,
|
1817
|
+
.ui.basic.@{consequence}.button:hover {
|
1818
|
+
background: transparent;
|
1819
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorHover inset;
|
1820
|
+
color: @@_backgroundColorHover;
|
1821
|
+
}
|
1822
|
+
.ui.basic.@{consequence}.buttons .button:focus,
|
1823
|
+
.ui.basic.@{consequence}.button:focus {
|
1824
|
+
background: transparent;
|
1825
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorFocus inset;
|
1826
|
+
color: @@_backgroundColorHover;
|
1827
|
+
}
|
1828
|
+
.ui.basic.@{consequence}.buttons .active.button,
|
1829
|
+
.ui.basic.@{consequence}.active.button {
|
1830
|
+
background: transparent;
|
1831
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorActive inset;
|
1832
|
+
color: @@_backgroundColorDown;
|
1833
|
+
}
|
1834
|
+
.ui.basic.@{consequence}.buttons .button:active,
|
1835
|
+
.ui.basic.@{consequence}.button:active {
|
1836
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorDown inset;
|
1837
|
+
color: @@_backgroundColorDown;
|
1838
|
+
}
|
1839
|
+
.ui.buttons:not(.vertical) > .basic.@{consequence}.button:not(:first-child) {
|
1840
|
+
margin-left: -@basicColoredBorderSize;
|
1841
|
+
}
|
1842
|
+
}
|
1843
|
+
})
|
1841
1844
|
}
|
1842
1845
|
|
1843
|
-
/*---------------
|
1844
|
-
Positive
|
1845
|
-
----------------*/
|
1846
|
-
|
1847
|
-
.addConsequence(positive);
|
1848
|
-
|
1849
|
-
/*---------------
|
1850
|
-
Negative
|
1851
|
-
----------------*/
|
1852
|
-
|
1853
|
-
.addConsequence(negative);
|
1854
1846
|
|
1855
1847
|
& when (@variationButtonGroups) {
|
1856
1848
|
/*******************************
|
@@ -1,10 +1,10 @@
|
|
1
1
|
/*!
|
2
2
|
* # Fomantic-UI - Container
|
3
|
-
*
|
3
|
+
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
6
6
|
* Released under the MIT license
|
7
|
-
*
|
7
|
+
* https://opensource.org/licenses/MIT
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
/*!
|
2
2
|
* # Fomantic-UI - Icon
|
3
|
-
*
|
3
|
+
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
6
6
|
* Released under the MIT license
|
7
|
-
*
|
7
|
+
* https://opensource.org/licenses/MIT
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
@@ -163,7 +163,7 @@ i.emphasized.icon:not(.disabled), i.emphasized.icons:not(.disabled) {
|
|
163
163
|
transform: scale(1, -1);
|
164
164
|
}
|
165
165
|
|
166
|
-
& when(@variationIconGroups) {
|
166
|
+
& when (@variationIconGroups) {
|
167
167
|
.icons i.flipped.icon:not(.corner):not(:first-child),
|
168
168
|
.icons i.horizontally.flipped.icon:not(.corner):not(:first-child) {
|
169
169
|
transform: translateX(-50%) translateY(-50%) scale(-1, 1);
|
@@ -194,7 +194,7 @@ i.emphasized.icon:not(.disabled), i.emphasized.icons:not(.disabled) {
|
|
194
194
|
transform: rotate(180deg);
|
195
195
|
}
|
196
196
|
|
197
|
-
& when(@variationIconGroups) {
|
197
|
+
& when (@variationIconGroups) {
|
198
198
|
.icons i.rotated.rotated.icon:not(.corner):not(:first-child),
|
199
199
|
.icons i.right.rotated.icon:not(.corner):not(:first-child),
|
200
200
|
.icons i.clockwise.rotated.icon:not(.corner):not(:first-child) {
|
@@ -245,7 +245,7 @@ i.emphasized.icon:not(.disabled), i.emphasized.icons:not(.disabled) {
|
|
245
245
|
transform: scale(1, -1) rotate(180deg);
|
246
246
|
}
|
247
247
|
|
248
|
-
& when(@variationIconGroups) {
|
248
|
+
& when (@variationIconGroups) {
|
249
249
|
.icons i.rotated.flipped.icon:not(.corner):not(:first-child),
|
250
250
|
.icons i.right.rotated.flipped.icon:not(.corner):not(:first-child),
|
251
251
|
.icons i.clockwise.rotated.flipped.icon:not(.corner):not(:first-child) {
|
@@ -529,6 +529,16 @@ i.icons {
|
|
529
529
|
});
|
530
530
|
};
|
531
531
|
|
532
|
+
.generateSecondaryIcons(@map) {
|
533
|
+
each(@map,{
|
534
|
+
@escapedKey: replace(@key,'^([0-9])','\3$1 ');
|
535
|
+
@normalizedKey: replace(@escapedKey,'_','.','g');
|
536
|
+
i.icon.@{normalizedKey}::after {
|
537
|
+
content: "@{value}";
|
538
|
+
}
|
539
|
+
});
|
540
|
+
};
|
541
|
+
|
532
542
|
& when (@variationIconDeprecated) {
|
533
543
|
|
534
544
|
/* Deprecated *In/Out Naming Conflict) */
|
@@ -584,7 +594,7 @@ i.icons {
|
|
584
594
|
}
|
585
595
|
}
|
586
596
|
|
587
|
-
& when(@variationIconBrand) {
|
597
|
+
& when (@variationIconBrand) {
|
588
598
|
/*******************************
|
589
599
|
Brand Icons
|
590
600
|
*******************************/
|
@@ -598,4 +608,68 @@ i.icons {
|
|
598
608
|
}
|
599
609
|
}
|
600
610
|
|
611
|
+
& when (@variationIconDuotone) {
|
612
|
+
/*******************************
|
613
|
+
Duotone Icons
|
614
|
+
*******************************/
|
615
|
+
|
616
|
+
/* Make duotone icons use the proper font */
|
617
|
+
i.icon.duotone {
|
618
|
+
font-family: @duotoneFontName;
|
619
|
+
/* To position the secondary layer on top of the first layer */
|
620
|
+
position: relative;
|
621
|
+
}
|
622
|
+
|
623
|
+
/* Set the default opacity levels and colors for each layer */
|
624
|
+
i.icon.duotone::before {
|
625
|
+
color: @duotonePrimaryColor;
|
626
|
+
opacity: @duotonePrimaryOpacity;
|
627
|
+
}
|
628
|
+
|
629
|
+
i.icon.duotone::after {
|
630
|
+
/* Position secondary layer to the left, centered horizontally and aligned vertically to flex with different line heights */
|
631
|
+
position: absolute;
|
632
|
+
left: 0;
|
633
|
+
top: 50%;
|
634
|
+
transform: translateY(-50%);
|
635
|
+
text-align: center;
|
636
|
+
|
637
|
+
color: @duotoneSecondaryColor;
|
638
|
+
opacity: @duotoneSecondaryOpacity;
|
639
|
+
}
|
640
|
+
|
641
|
+
.generateIcons(@icon-duotone-map,false);
|
642
|
+
.generateSecondaryIcons(@icon-duotone-secondary-map);
|
643
|
+
|
644
|
+
& when (@variationIconAliases) {
|
645
|
+
|
646
|
+
/* Aliases */
|
647
|
+
.generateIcons(@icon-duotone-aliases-map,false);
|
648
|
+
.generateSecondaryIcons(@icon-duotone-secondary-aliases-map);
|
649
|
+
}
|
650
|
+
|
651
|
+
/*
|
652
|
+
* Colors for duotone icons, in the form `primary-secondary`(e.g. `black-grey duotone icon`).
|
653
|
+
*/
|
654
|
+
& when not (@variationIconColors = false) {
|
655
|
+
each(@variationIconColors, {
|
656
|
+
@color: @value;
|
657
|
+
@c: @colors[@@color][color];
|
658
|
+
@l: @colors[@@color][light];
|
659
|
+
|
660
|
+
i.icon.duotone[class*="@{color}-"]::before,
|
661
|
+
i.icon.duotone[class*="-@{color}"]::after {
|
662
|
+
color: @c;
|
663
|
+
}
|
664
|
+
|
665
|
+
& when (@variationIconInverted) {
|
666
|
+
i.icon.inverted.duotone[class*="@{color}-"]::before,
|
667
|
+
i.icon.inverted.duotone[class*="-@{color}"]::after {
|
668
|
+
color: @l;
|
669
|
+
}
|
670
|
+
}
|
671
|
+
})
|
672
|
+
}
|
673
|
+
}
|
674
|
+
|
601
675
|
.loadUIOverrides();
|