@rio-cloud/rio-uikit 0.16.1 → 0.16.2-beta.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/ColorScheme.d.ts +4 -0
- package/ColorScheme.js +2 -0
- package/Colors.js +1 -1
- package/TruckLayer.js +1 -1
- package/components/assetTree/Tree.js +1 -1
- package/components/charts/chartHelper.js +1 -1
- package/components/map/components/Map.js +147 -130
- package/components/map/components/constants.js +4 -1
- package/components/map/components/features/layers/RoadRestrictionLayer.js +26 -0
- package/components/map/components/features/layers/TrafficLayer.js +19 -6
- package/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +20 -0
- package/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +14 -0
- package/components/map/components/features/layers/baselayers/FleetStyleLayer.js +13 -17
- package/components/map/components/features/layers/baselayers/SatelliteLayer.js +13 -17
- package/components/map/components/features/layers/baselayers/TerrainLayer.js +13 -17
- package/components/map/components/features/layers/baselayers/useBaseLayer.js +41 -0
- package/components/map/components/mapUtils.js +4 -1
- package/components/mapMarker/ClusterMapMarker.js +2 -2
- package/components/mapMarker/SingleMapMarker.js +2 -2
- package/components/sidebars/Sidebar.js +2 -2
- package/hooks/useHereMap.ts +23 -0
- package/hooks/useScripts.ts +52 -0
- package/hooks/useScrollPosition.js +72 -0
- package/index.js +4 -1
- package/lib/es/ColorScheme.d.ts +4 -0
- package/lib/es/ColorScheme.js +18 -0
- package/lib/es/Colors.js +1 -1
- package/lib/es/TruckLayer.js +2 -2
- package/lib/es/components/assetTree/Tree.js +1 -1
- package/lib/es/components/charts/chartHelper.js +1 -1
- package/lib/es/components/map/components/Map.js +145 -125
- package/lib/es/components/map/components/constants.js +3 -0
- package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.js +34 -0
- package/lib/es/components/map/components/features/layers/TrafficLayer.js +18 -6
- package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +26 -0
- package/lib/es/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +21 -0
- package/lib/es/components/map/components/features/layers/baselayers/FleetStyleLayer.js +13 -18
- package/lib/es/components/map/components/features/layers/baselayers/SatelliteLayer.js +13 -18
- package/lib/es/components/map/components/features/layers/baselayers/TerrainLayer.js +13 -18
- package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.js +49 -0
- package/lib/es/components/map/components/mapUtils.js +6 -3
- package/lib/es/components/mapMarker/ClusterMapMarker.js +2 -2
- package/lib/es/components/mapMarker/SingleMapMarker.js +2 -2
- package/lib/es/components/sidebars/Sidebar.js +2 -2
- package/lib/es/hooks/useHereMap.ts +23 -0
- package/lib/es/hooks/useScripts.ts +52 -0
- package/lib/es/hooks/useScrollPosition.js +80 -0
- package/lib/es/index.js +24 -1
- package/lib/es/mapIndex.js +2 -2
- package/lib/es/styles/components/Activity.less +9 -10
- package/lib/es/styles/components/ApplicationHeader.less +24 -29
- package/lib/es/styles/components/ApplicationLayout.less +7 -7
- package/lib/es/styles/components/AssetTree.less +30 -28
- package/lib/es/styles/components/AutoSuggest.less +2 -2
- package/lib/es/styles/components/BottomSheet.less +1 -2
- package/lib/es/styles/components/Carousel.less +13 -9
- package/lib/es/styles/components/Checkbox.less +15 -16
- package/lib/es/styles/components/ClearableInput.less +3 -3
- package/lib/es/styles/components/Counter.less +12 -12
- package/lib/es/styles/components/DataTabs.less +2 -2
- package/lib/es/styles/components/DatePicker.less +27 -27
- package/lib/es/styles/components/Dialog.less +15 -11
- package/lib/es/styles/components/Dropdown.less +11 -11
- package/lib/es/styles/components/Expander.less +7 -7
- package/lib/es/styles/components/ListMenu.less +8 -8
- package/lib/es/styles/components/MapHere.less +3 -2
- package/lib/es/styles/components/MapMarker.less +16 -17
- package/lib/es/styles/components/MapSettings.less +5 -5
- package/lib/es/styles/components/NoData.less +1 -1
- package/lib/es/styles/components/Notification.less +12 -12
- package/lib/es/styles/components/RadioButton.less +11 -12
- package/lib/es/styles/components/Resizer.less +1 -1
- package/lib/es/styles/components/Select.less +16 -26
- package/lib/es/styles/components/Sidebar.less +29 -21
- package/lib/es/styles/components/Slider.less +18 -18
- package/lib/es/styles/components/Spinner.less +6 -6
- package/lib/es/styles/components/StatsWidget.less +5 -5
- package/lib/es/styles/components/SteppedProgressBar.less +32 -29
- package/lib/es/styles/components/SupportMarker.less +1 -1
- package/lib/es/styles/components/Switch.less +8 -8
- package/lib/es/styles/components/TableSettingsDialog.less +7 -7
- package/lib/es/styles/components/TableToolbar.less +1 -1
- package/lib/es/styles/components/Tag.less +10 -10
- package/lib/es/styles/components/Timeline.less +3 -3
- package/lib/es/styles/components/Tooltip.less +10 -10
- package/lib/es/styles/design/badges.less +10 -10
- package/lib/es/styles/design/border.less +1 -1
- package/lib/es/styles/design/breadcrumbs.less +2 -2
- package/lib/es/styles/design/button-groups.less +25 -1
- package/lib/es/styles/design/buttons.less +53 -109
- package/lib/es/styles/design/callouts.less +3 -3
- package/lib/es/styles/design/code.less +4 -6
- package/lib/es/styles/design/colors.less +20 -20
- package/lib/es/styles/design/form-input-groups.less +4 -4
- package/lib/es/styles/design/form-inputs.less +33 -31
- package/lib/es/styles/design/images.less +2 -2
- package/lib/es/styles/design/labels.less +11 -11
- package/lib/es/styles/design/list-group.less +14 -12
- package/lib/es/styles/design/navs.less +27 -27
- package/lib/es/styles/design/normalize.less +0 -9
- package/lib/es/styles/design/pagination.less +10 -10
- package/lib/es/styles/design/panels.less +10 -10
- package/lib/es/styles/design/popovers.less +8 -8
- package/lib/es/styles/design/progress-bars.less +8 -8
- package/lib/es/styles/design/shadows.less +14 -7
- package/lib/es/styles/design/tables.less +68 -106
- package/lib/es/styles/design/text.less +5 -19
- package/lib/es/styles/design/theme.less +10 -10
- package/lib/es/styles/design/thumbnails.less +2 -2
- package/lib/es/styles/design/type.less +4 -4
- package/lib/es/styles/design/wells.less +1 -1
- package/lib/es/styles/mapping/color-map.less +65 -64
- package/lib/es/styles/mixins/_imports.less +14 -0
- package/lib/es/styles/mixins/buttons.less +24 -56
- package/lib/es/styles/mixins/forms.less +19 -55
- package/lib/es/styles/mixins/hsl.less +19 -0
- package/lib/es/styles/mixins/panels.less +2 -2
- package/lib/es/styles/print/print.less +7 -7
- package/lib/es/styles/rio-uikit-core.less +2 -2
- package/lib/es/styles/rio-uikit-print-utilities.less +2 -2
- package/lib/es/styles/rio-uikit-responsive-utilities.less +2 -2
- package/lib/es/styles/variables/_index.less +196 -0
- package/lib/es/styles/variables/colors.json +67 -0
- package/lib/es/styles/variables/concated_css_variables.less +66 -0
- package/lib/es/styles/variables/dark_colors.less +88 -0
- package/lib/es/styles/variables/dark_css_variables.less +28 -0
- package/lib/es/styles/variables/dark_css_variables_map.less +96 -0
- package/lib/es/styles/variables/light_colors.less +92 -0
- package/lib/es/styles/variables/light_css_variables.less +17 -0
- package/lib/es/styles/variables/light_css_variables_map.less +100 -0
- package/lib/es/styles/variables/screens.less +7 -0
- package/lib/es/styles/variables/text.less +23 -0
- package/lib/es/themes/BuyButton/styles/rio-buyButton.less +13 -8
- package/lib/es/themes/MAN/styles/man-uikit.less +3 -0
- package/lib/es/themes/SCANIA/styles/scania-uikit.less +3 -0
- package/lib/es/themes/Volkswagen/styles/vw-uikit.less +21 -30
- package/lib/es/themes/Website/styles/rio-website.less +145 -120
- package/lib/es/themes/Xmas/styles/rio-xmas.less +59 -29
- package/lib/es/types.ts +6 -1
- package/lib/es/useScrollPosition.d.ts +4 -0
- package/lib/es/useScrollPosition.js +13 -0
- package/lib/es/utils/colorScheme.js +59 -0
- package/lib/es/utils/init.js +2 -0
- package/lib/es/version.json +1 -1
- package/mapIndex.js +1 -1
- package/package.json +4 -3
- package/styles/components/Activity.less +9 -10
- package/styles/components/ApplicationHeader.less +24 -29
- package/styles/components/ApplicationLayout.less +7 -7
- package/styles/components/AssetTree.less +30 -28
- package/styles/components/AutoSuggest.less +2 -2
- package/styles/components/BottomSheet.less +1 -2
- package/styles/components/Carousel.less +13 -9
- package/styles/components/Checkbox.less +15 -16
- package/styles/components/ClearableInput.less +3 -3
- package/styles/components/Counter.less +12 -12
- package/styles/components/DataTabs.less +2 -2
- package/styles/components/DatePicker.less +27 -27
- package/styles/components/Dialog.less +15 -11
- package/styles/components/Dropdown.less +11 -11
- package/styles/components/Expander.less +7 -7
- package/styles/components/ListMenu.less +8 -8
- package/styles/components/MapHere.less +3 -2
- package/styles/components/MapMarker.less +16 -17
- package/styles/components/MapSettings.less +5 -5
- package/styles/components/NoData.less +1 -1
- package/styles/components/Notification.less +12 -12
- package/styles/components/RadioButton.less +11 -12
- package/styles/components/Resizer.less +1 -1
- package/styles/components/Select.less +16 -26
- package/styles/components/Sidebar.less +29 -21
- package/styles/components/Slider.less +18 -18
- package/styles/components/Spinner.less +6 -6
- package/styles/components/StatsWidget.less +5 -5
- package/styles/components/SteppedProgressBar.less +32 -29
- package/styles/components/SupportMarker.less +1 -1
- package/styles/components/Switch.less +8 -8
- package/styles/components/TableSettingsDialog.less +7 -7
- package/styles/components/TableToolbar.less +1 -1
- package/styles/components/Tag.less +10 -10
- package/styles/components/Timeline.less +3 -3
- package/styles/components/Tooltip.less +10 -10
- package/styles/design/badges.less +10 -10
- package/styles/design/border.less +1 -1
- package/styles/design/breadcrumbs.less +2 -2
- package/styles/design/button-groups.less +25 -1
- package/styles/design/buttons.less +53 -109
- package/styles/design/callouts.less +3 -3
- package/styles/design/code.less +4 -6
- package/styles/design/colors.less +20 -20
- package/styles/design/form-input-groups.less +4 -4
- package/styles/design/form-inputs.less +33 -31
- package/styles/design/images.less +2 -2
- package/styles/design/labels.less +11 -11
- package/styles/design/list-group.less +14 -12
- package/styles/design/navs.less +27 -27
- package/styles/design/normalize.less +0 -9
- package/styles/design/pagination.less +10 -10
- package/styles/design/panels.less +10 -10
- package/styles/design/popovers.less +8 -8
- package/styles/design/progress-bars.less +8 -8
- package/styles/design/shadows.less +14 -7
- package/styles/design/tables.less +68 -106
- package/styles/design/text.less +5 -19
- package/styles/design/theme.less +10 -10
- package/styles/design/thumbnails.less +2 -2
- package/styles/design/type.less +4 -4
- package/styles/design/wells.less +1 -1
- package/styles/mapping/color-map.less +65 -64
- package/styles/mixins/_imports.less +14 -0
- package/styles/mixins/buttons.less +24 -56
- package/styles/mixins/forms.less +19 -55
- package/styles/mixins/hsl.less +19 -0
- package/styles/mixins/panels.less +2 -2
- package/styles/print/print.less +7 -7
- package/styles/rio-uikit-core.less +2 -2
- package/styles/rio-uikit-print-utilities.less +2 -2
- package/styles/rio-uikit-responsive-utilities.less +2 -2
- package/styles/variables/_index.less +196 -0
- package/styles/variables/colors.json +67 -0
- package/styles/variables/concated_css_variables.less +66 -0
- package/styles/variables/dark_colors.less +88 -0
- package/styles/variables/dark_css_variables.less +28 -0
- package/styles/variables/dark_css_variables_map.less +96 -0
- package/styles/variables/light_colors.less +92 -0
- package/styles/variables/light_css_variables.less +17 -0
- package/styles/variables/light_css_variables_map.less +100 -0
- package/styles/variables/screens.less +7 -0
- package/styles/variables/text.less +23 -0
- package/themes/BuyButton/styles/rio-buyButton.less +13 -8
- package/themes/MAN/styles/man-uikit.less +3 -0
- package/themes/SCANIA/styles/scania-uikit.less +3 -0
- package/themes/Volkswagen/styles/vw-uikit.less +21 -30
- package/themes/Website/styles/rio-website.less +145 -120
- package/themes/Xmas/styles/rio-xmas.less +59 -29
- package/types.ts +6 -1
- package/useScrollPosition.d.ts +4 -0
- package/useScrollPosition.js +2 -0
- package/utils/colorScheme.js +50 -0
- package/utils/init.js +2 -0
- package/version.json +1 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
.bg-muted, .hover-bg-muted:hover { background-color:
|
|
2
|
-
.bg-default, .hover-bg-default:hover { background-color:
|
|
1
|
+
.bg-muted, .hover-bg-muted:hover { background-color: var(--gray-lighter) !important }
|
|
2
|
+
.bg-default, .hover-bg-default:hover { background-color: var(--gray-dark) !important }
|
|
3
3
|
|
|
4
4
|
// white
|
|
5
5
|
// black
|
|
6
|
-
.bg-white, .hover-bg-white:hover { background-color:
|
|
7
|
-
.fill-white { fill:
|
|
6
|
+
.bg-white, .hover-bg-white:hover { background-color: var(--color-white) !important }
|
|
7
|
+
.fill-white { fill: var(--color-white) !important }
|
|
8
8
|
|
|
9
|
-
.bg-black, .hover-bg-black:hover { background-color:
|
|
10
|
-
.fill-black { fill:
|
|
11
|
-
.bg-black { color:
|
|
9
|
+
.bg-black, .hover-bg-black:hover { background-color: var(--color-black) !important }
|
|
10
|
+
.fill-black { fill: var(--color-black) !important }
|
|
11
|
+
.bg-black { color: var(--color-white) !important }
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
// primary
|
|
15
15
|
// secondary
|
|
16
16
|
each(@colors-brand-map, {
|
|
17
17
|
.bg-@{key} {
|
|
18
|
-
color:
|
|
18
|
+
color: var(--color-white) !important;
|
|
19
19
|
background-color: @value !important;
|
|
20
20
|
}
|
|
21
21
|
.hover-bg-@{key}:hover {
|
|
@@ -32,7 +32,7 @@ each(@colors-brand-map, {
|
|
|
32
32
|
// danger
|
|
33
33
|
each(@colors-status-map, {
|
|
34
34
|
.bg-@{key} {
|
|
35
|
-
color:
|
|
35
|
+
color: var(--color-white) !important;
|
|
36
36
|
background-color: @value !important;
|
|
37
37
|
}
|
|
38
38
|
.hover-bg-@{key}:hover {
|
|
@@ -52,7 +52,7 @@ each(@colors-status-map, {
|
|
|
52
52
|
// lightest
|
|
53
53
|
each(@colors-gray-map, {
|
|
54
54
|
.bg-@{key} {
|
|
55
|
-
color:
|
|
55
|
+
color: var(--gray-darkest) !important;
|
|
56
56
|
background-color: @value !important;
|
|
57
57
|
}
|
|
58
58
|
.hover-bg-@{key}:hover {
|
|
@@ -64,7 +64,7 @@ each(@colors-gray-map, {
|
|
|
64
64
|
})
|
|
65
65
|
.bg-dark,
|
|
66
66
|
.bg-darker,
|
|
67
|
-
.bg-darkest { color:
|
|
67
|
+
.bg-darkest { color: var(--color-white) !important }
|
|
68
68
|
|
|
69
69
|
// map-marker-asset
|
|
70
70
|
// map-marker-poi
|
|
@@ -72,7 +72,7 @@ each(@colors-gray-map, {
|
|
|
72
72
|
// map-marker-route
|
|
73
73
|
each(@colors-map-marker-map, {
|
|
74
74
|
.bg-@{key} {
|
|
75
|
-
color:
|
|
75
|
+
color: var(--color-white) !important;
|
|
76
76
|
background-color: @value !important;
|
|
77
77
|
}
|
|
78
78
|
.hover-bg-@{key}:hover {
|
|
@@ -90,7 +90,7 @@ each(@colors-map-marker-map, {
|
|
|
90
90
|
// rating-5
|
|
91
91
|
each(@colors-rating-map, {
|
|
92
92
|
.bg-@{key} {
|
|
93
|
-
color:
|
|
93
|
+
color: var(--color-white) !important;
|
|
94
94
|
background-color: @value !important;
|
|
95
95
|
}
|
|
96
96
|
.hover-bg-@{key}:hover {
|
|
@@ -107,7 +107,7 @@ each(@colors-rating-map, {
|
|
|
107
107
|
// status-working
|
|
108
108
|
each(@colors-driving-status-map, {
|
|
109
109
|
.bg-@{key} {
|
|
110
|
-
color:
|
|
110
|
+
color: var(--color-white) !important;
|
|
111
111
|
background-color: @value !important;
|
|
112
112
|
}
|
|
113
113
|
.hover-bg-@{key}:hover {
|
|
@@ -128,7 +128,7 @@ each(@colors-driving-status-map, {
|
|
|
128
128
|
// highlight-decent
|
|
129
129
|
each(@colors-highlight-map, {
|
|
130
130
|
.bg-@{key} {
|
|
131
|
-
color:
|
|
131
|
+
color: var(--gray-darkest) !important;
|
|
132
132
|
background-color: @value !important;
|
|
133
133
|
}
|
|
134
134
|
.hover-bg-@{key}:hover {
|
|
@@ -141,7 +141,7 @@ each(@colors-highlight-map, {
|
|
|
141
141
|
.bg-highlight,
|
|
142
142
|
.bg-highlight-dark,
|
|
143
143
|
.bg-highlight-darker,
|
|
144
|
-
.bg-highlight-darkest { color:
|
|
144
|
+
.bg-highlight-darkest { color: var(--color-white) !important }
|
|
145
145
|
|
|
146
146
|
// coldplay-wine
|
|
147
147
|
// coldplay-aubergine
|
|
@@ -155,7 +155,7 @@ each(@colors-highlight-map, {
|
|
|
155
155
|
& when (@buildColdplayColors = true) {
|
|
156
156
|
each(@colors-coldplay-map, {
|
|
157
157
|
.bg-@{key} {
|
|
158
|
-
color:
|
|
158
|
+
color: var(--gray-darkest) !important;
|
|
159
159
|
background-color: @value !important;
|
|
160
160
|
}
|
|
161
161
|
.hover-bg-@{key}:hover {
|
|
@@ -168,7 +168,7 @@ each(@colors-highlight-map, {
|
|
|
168
168
|
.bg-coldplay-wine,
|
|
169
169
|
.bg-coldplay-aubergine,
|
|
170
170
|
.bg-coldplay-kashmir,
|
|
171
|
-
.bg-coldplay-fountain { color:
|
|
171
|
+
.bg-coldplay-fountain { color: var(--color-white) !important }
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
// warmup-crimson
|
|
@@ -183,7 +183,7 @@ each(@colors-highlight-map, {
|
|
|
183
183
|
& when (@buildWarmupColors = true) {
|
|
184
184
|
each(@colors-warmup-map, {
|
|
185
185
|
.bg-@{key} {
|
|
186
|
-
color:
|
|
186
|
+
color: var(--gray-darkest) !important;
|
|
187
187
|
background-color: @value !important;
|
|
188
188
|
}
|
|
189
189
|
.hover-bg-@{key}:hover {
|
|
@@ -198,5 +198,5 @@ each(@colors-highlight-map, {
|
|
|
198
198
|
.bg-warmup-cadillac,
|
|
199
199
|
.bg-warmup-raspberry,
|
|
200
200
|
.bg-warmup-cerise,
|
|
201
|
-
.bg-warmup-charm { color:
|
|
201
|
+
.bg-warmup-charm { color: var(--color-white) !important }
|
|
202
202
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@input-group-addon-bg:
|
|
1
|
+
@input-group-addon-bg: var(--color-white);
|
|
2
2
|
@input-group-addon-border-color: @input-border;
|
|
3
3
|
|
|
4
4
|
.input-group {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
align-items: center;
|
|
33
33
|
background-color: @input-group-addon-bg;
|
|
34
34
|
border: 1px solid @input-group-addon-border-color;
|
|
35
|
-
color:
|
|
35
|
+
color: var(--gray-dark);
|
|
36
36
|
display: flex;
|
|
37
37
|
justify-content: center;
|
|
38
38
|
width: auto;
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
|
|
48
48
|
&.input-group-addon-label {
|
|
49
49
|
text-transform: uppercase;
|
|
50
|
-
background-color:
|
|
50
|
+
background-color: var(--gray-lightest);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
&:first-child {
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
> .rioglyph {
|
|
110
|
-
color:
|
|
110
|
+
color: .hslb(@gray-dark-hsl, '+', '5%')[@result];
|
|
111
111
|
font-size: 18px;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
@input-bg:
|
|
2
|
-
@input-bg-disabled:
|
|
3
|
-
@input-color:
|
|
4
|
-
@input-border:
|
|
5
|
-
@input-border-focus:
|
|
6
|
-
@input-color-placeholder:
|
|
1
|
+
@input-bg: var(--color-white);
|
|
2
|
+
@input-bg-disabled: var(--gray-lightest);
|
|
3
|
+
@input-color: var(--gray-darker);
|
|
4
|
+
@input-border: var(--gray);
|
|
5
|
+
@input-border-focus: var(--brand-primary);
|
|
6
|
+
@input-color-placeholder: var(--gray);
|
|
7
7
|
@input-height-base: (@grid-gutter-height + (@padding-default-vertical * 2) + 2);
|
|
8
8
|
@input-height-lg: (floor(@font-size-lg * @line-height-lg) + (@padding-lg-vertical * 2) + 2);
|
|
9
9
|
@input-height-sm: (floor(@font-size-sm * @line-height-sm) + (@padding-sm-vertical * 2) + 2);
|
|
10
|
-
@legend-color:
|
|
11
|
-
@legend-border-color:
|
|
10
|
+
@legend-color: var(--gray-dark);
|
|
11
|
+
@legend-border-color: var(--gray-light);
|
|
12
12
|
|
|
13
13
|
fieldset {
|
|
14
14
|
padding: 0;
|
|
@@ -18,15 +18,15 @@ fieldset {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
legend {
|
|
21
|
+
border-bottom: 1px solid @legend-border-color;
|
|
22
|
+
color: @legend-color;
|
|
21
23
|
display: block;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
margin-bottom: @grid-gutter-height;
|
|
25
|
-
font-size: (@font-size-default * 1.5);
|
|
24
|
+
font-size: (@font-size-default * 1.2);
|
|
25
|
+
font-weight: 300;
|
|
26
26
|
line-height: inherit;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
margin-bottom: @grid-gutter-height * 2;
|
|
28
|
+
width: 100%;
|
|
29
|
+
padding-bottom: @grid-gutter-height * 0.5;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
label {
|
|
@@ -116,7 +116,7 @@ select {
|
|
|
116
116
|
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
|
117
117
|
border: 1px solid @input-border;
|
|
118
118
|
border-radius: @border-radius-default; // Note: This has no effect on <select>s in some browsers, due to the limited stylability of <select>s in CSS.
|
|
119
|
-
box-shadow:inset 0 1px 1px
|
|
119
|
+
box-shadow:inset 0 1px 1px .hsla(@always-color-black-hsl, 0.075)[@result];
|
|
120
120
|
transition:border-color ease-in-out .15s~","box-shadow ease-in-out .15s;
|
|
121
121
|
|
|
122
122
|
.form-control-focus();
|
|
@@ -289,13 +289,13 @@ input[type="checkbox"] {
|
|
|
289
289
|
display: block; // account for any element using help-block
|
|
290
290
|
margin-top: 5px;
|
|
291
291
|
margin-bottom: 10px;
|
|
292
|
-
color:
|
|
292
|
+
color: .hslb(@gray-darkest-hsl, '+', '25%')[@result];
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
.default-label(@label-font-size) {
|
|
296
296
|
font-size: @label-font-size;
|
|
297
297
|
font-weight: normal;
|
|
298
|
-
color:
|
|
298
|
+
color: var(--gray-dark);
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
// define default styling for labels
|
|
@@ -325,7 +325,7 @@ label .checkbox-text {
|
|
|
325
325
|
label {
|
|
326
326
|
.radio-text,
|
|
327
327
|
.checkbox-text {
|
|
328
|
-
color:
|
|
328
|
+
color: var(--gray-darkest);
|
|
329
329
|
font-size: @font-size-14;
|
|
330
330
|
}
|
|
331
331
|
}
|
|
@@ -339,7 +339,7 @@ label .checkbox-text {
|
|
|
339
339
|
label {
|
|
340
340
|
.radio-text,
|
|
341
341
|
.checkbox-text {
|
|
342
|
-
color:
|
|
342
|
+
color: var(--gray-darkest);
|
|
343
343
|
font-size: @font-size-16;
|
|
344
344
|
}
|
|
345
345
|
}
|
|
@@ -354,7 +354,7 @@ label .checkbox-text {
|
|
|
354
354
|
label {
|
|
355
355
|
.radio-text,
|
|
356
356
|
.checkbox-text {
|
|
357
|
-
color:
|
|
357
|
+
color: var(--gray-darkest);
|
|
358
358
|
font-size: @font-size-12;
|
|
359
359
|
}
|
|
360
360
|
}
|
|
@@ -452,13 +452,13 @@ label .checkbox-text {
|
|
|
452
452
|
&.has-@{key} {
|
|
453
453
|
.help-block {
|
|
454
454
|
background: @value;
|
|
455
|
-
color:
|
|
455
|
+
color: var(--color-white);
|
|
456
456
|
}
|
|
457
457
|
|
|
458
458
|
.form-control {
|
|
459
459
|
&:focus {
|
|
460
460
|
~ .help-block {
|
|
461
|
-
background:
|
|
461
|
+
background: var(--gray-lightest);
|
|
462
462
|
color: @value;
|
|
463
463
|
}
|
|
464
464
|
}
|
|
@@ -495,7 +495,7 @@ label .checkbox-text {
|
|
|
495
495
|
.has-warning > .control-label,
|
|
496
496
|
.has-error > .control-label,
|
|
497
497
|
.has-success > .control-label {
|
|
498
|
-
color:
|
|
498
|
+
color: var(--gray-dark);
|
|
499
499
|
}
|
|
500
500
|
|
|
501
501
|
.form-control {
|
|
@@ -512,7 +512,7 @@ label .checkbox-text {
|
|
|
512
512
|
|
|
513
513
|
&[disabled] {
|
|
514
514
|
+ .input-group-addon:last-child {
|
|
515
|
-
background:
|
|
515
|
+
background: @input-bg-disabled; // because @input-bg-disabled has alpha...
|
|
516
516
|
cursor: not-allowed;
|
|
517
517
|
}
|
|
518
518
|
}
|
|
@@ -526,16 +526,18 @@ label .checkbox-text {
|
|
|
526
526
|
z-index: 3;
|
|
527
527
|
|
|
528
528
|
.form-group.has-error & {
|
|
529
|
-
border-color:
|
|
530
|
-
box-shadow:
|
|
529
|
+
border-color: .hslb(@brand-danger-hsl, '-', '10%')[@result];
|
|
530
|
+
box-shadow: .hslb(@brand-danger-hsl, '-', '10%')[@result];
|
|
531
531
|
}
|
|
532
|
+
|
|
532
533
|
.form-group.has-warning & {
|
|
533
|
-
border-color:
|
|
534
|
-
box-shadow:
|
|
534
|
+
border-color: .hslb(@brand-warning-hsl, '-', '10%')[@result];
|
|
535
|
+
box-shadow: .hslb(@brand-warning-hsl, '-', '10%')[@result];
|
|
535
536
|
}
|
|
537
|
+
|
|
536
538
|
.form-group.has-success & {
|
|
537
|
-
border-color:
|
|
538
|
-
box-shadow:
|
|
539
|
+
border-color: .hslb(@brand-success-hsl, '-', '10%')[@result];
|
|
540
|
+
box-shadow: .hslb(@brand-success-hsl, '-', '10%')[@result];
|
|
539
541
|
}
|
|
540
542
|
}
|
|
541
543
|
}
|
|
@@ -29,8 +29,8 @@ img {
|
|
|
29
29
|
.img-thumbnail {
|
|
30
30
|
padding: 0;
|
|
31
31
|
line-height: @line-height-default;
|
|
32
|
-
background-color:
|
|
33
|
-
border: 1px solid
|
|
32
|
+
background-color: var(--color-white);
|
|
33
|
+
border: 1px solid var(--gray-light);
|
|
34
34
|
border-radius: @border-radius-default;
|
|
35
35
|
transition:all .2s ease-in-out;
|
|
36
36
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
border-radius: @border-radius-sm;
|
|
4
4
|
border-style: solid;
|
|
5
5
|
border-width: 1px;
|
|
6
|
-
color:
|
|
6
|
+
color: var(--color-white);
|
|
7
7
|
display: inline-block;
|
|
8
8
|
font-size: 75%;
|
|
9
9
|
font-weight: @font-medium;
|
|
@@ -32,23 +32,23 @@
|
|
|
32
32
|
// danger
|
|
33
33
|
|
|
34
34
|
&-default {
|
|
35
|
-
color:
|
|
35
|
+
color: var(--gray-dark);
|
|
36
36
|
|
|
37
37
|
&.label-filled {
|
|
38
|
-
color:
|
|
39
|
-
border-color:
|
|
40
|
-
background-color:
|
|
38
|
+
color: var(--color-white);
|
|
39
|
+
border-color: var(--gray-dark);
|
|
40
|
+
background-color: var(--gray-dark);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
&-muted {
|
|
45
|
-
color:
|
|
46
|
-
border-color:
|
|
45
|
+
color: var(--gray);
|
|
46
|
+
border-color: var(--gray-light);
|
|
47
47
|
|
|
48
48
|
&.label-filled {
|
|
49
|
-
color:
|
|
50
|
-
border-color:
|
|
51
|
-
background-color:
|
|
49
|
+
color: var(--gray-dark);
|
|
50
|
+
border-color: var(--gray-light);
|
|
51
|
+
background-color: var(--gray-lightest);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
color: @value;
|
|
58
58
|
|
|
59
59
|
&.label-filled {
|
|
60
|
-
color:
|
|
60
|
+
color: var(--color-white);
|
|
61
61
|
border-color: @value;
|
|
62
62
|
background-color: @value;
|
|
63
63
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
@list-group-item-hover-bg: var(--gray-lightest);
|
|
2
|
+
|
|
1
3
|
.list-group {
|
|
2
4
|
.reset-list();
|
|
3
5
|
margin-bottom: 20px;
|
|
4
6
|
}
|
|
5
7
|
|
|
6
8
|
.list-group-item {
|
|
7
|
-
background-color:
|
|
8
|
-
border: 1px solid
|
|
9
|
+
background-color: var(--color-white);
|
|
10
|
+
border: 1px solid var(--gray-light);
|
|
9
11
|
display: block;
|
|
10
12
|
margin-bottom: -1px;
|
|
11
13
|
padding: 10px 15px;
|
|
@@ -31,17 +33,17 @@
|
|
|
31
33
|
&.disabled,
|
|
32
34
|
&.disabled:hover,
|
|
33
35
|
&.disabled:focus {
|
|
34
|
-
background-color:
|
|
35
|
-
color:
|
|
36
|
+
background-color: var(--gray-lighter);
|
|
37
|
+
color: var(--gray-light);
|
|
36
38
|
cursor: not-allowed;
|
|
37
39
|
}
|
|
38
40
|
|
|
39
41
|
&.active,
|
|
40
42
|
&.active:hover,
|
|
41
43
|
&.active:focus {
|
|
42
|
-
background-color:
|
|
43
|
-
border-color:
|
|
44
|
-
color:
|
|
44
|
+
background-color: var(--brand-primary);
|
|
45
|
+
border-color: var(--brand-primary);
|
|
46
|
+
color: var(--color-white);
|
|
45
47
|
z-index: 2;
|
|
46
48
|
}
|
|
47
49
|
|
|
@@ -49,12 +51,12 @@
|
|
|
49
51
|
button&,
|
|
50
52
|
&.list-group-item-link {
|
|
51
53
|
cursor: pointer;
|
|
52
|
-
color:
|
|
54
|
+
color: var(--gray-darkest);
|
|
53
55
|
|
|
54
56
|
&:hover,
|
|
55
57
|
&:focus {
|
|
56
|
-
background-color: @
|
|
57
|
-
color:
|
|
58
|
+
background-color: @list-group-item-hover-bg;
|
|
59
|
+
color: var(--gray-darkest);
|
|
58
60
|
text-decoration: none;
|
|
59
61
|
}
|
|
60
62
|
}
|
|
@@ -67,7 +69,7 @@
|
|
|
67
69
|
// warning
|
|
68
70
|
// danger
|
|
69
71
|
&-default {
|
|
70
|
-
box-shadow: inset 5px 0 0 0
|
|
72
|
+
box-shadow: inset 5px 0 0 0 var(--gray);
|
|
71
73
|
}
|
|
72
74
|
|
|
73
75
|
each(@colors-brand-and-status-map, {
|
|
@@ -94,7 +96,7 @@
|
|
|
94
96
|
&.active,
|
|
95
97
|
&.active:hover,
|
|
96
98
|
&.active:focus {
|
|
97
|
-
color:
|
|
99
|
+
color: var(--color-white);
|
|
98
100
|
background-color: @value;
|
|
99
101
|
border-color: @value;
|
|
100
102
|
}
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
&.disabled,
|
|
25
25
|
&:disabled {
|
|
26
|
-
color:
|
|
26
|
+
color: var(--gray-light);
|
|
27
27
|
pointer-events: none;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
cursor: not-allowed;
|
|
34
34
|
|
|
35
35
|
> a, > span, > div {
|
|
36
|
-
color:
|
|
36
|
+
color: var(--gray-light);
|
|
37
37
|
pointer-events: none;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
// nav tabs
|
|
74
|
-
@nav-tabs-border-color:
|
|
75
|
-
@nav-tabs-link-hover-border-color:
|
|
76
|
-
@nav-tabs-active-link-hover-border-color:
|
|
74
|
+
@nav-tabs-border-color: var(--gray-light);
|
|
75
|
+
@nav-tabs-link-hover-border-color: var(--brand-primary);
|
|
76
|
+
@nav-tabs-active-link-hover-border-color: var(--gray-light);
|
|
77
77
|
|
|
78
78
|
.nav-tabs {
|
|
79
79
|
border-bottom: 1px solid @nav-tabs-border-color;
|
|
@@ -92,15 +92,15 @@
|
|
|
92
92
|
> a, > span, > div {
|
|
93
93
|
border-radius: @border-radius-default @border-radius-default 0 0;
|
|
94
94
|
border: 1px solid transparent;
|
|
95
|
-
color:
|
|
95
|
+
color: var(--gray-dark);
|
|
96
96
|
cursor: pointer;
|
|
97
97
|
line-height: @line-height-default;
|
|
98
98
|
transition: all 100ms ease-in-out;
|
|
99
99
|
|
|
100
100
|
&:hover,
|
|
101
101
|
&:focus {
|
|
102
|
-
color:
|
|
103
|
-
background-color:
|
|
102
|
+
color: var(--gray-darkest);
|
|
103
|
+
background-color: var(--gray-lightest);
|
|
104
104
|
border-color: @nav-tabs-border-color;
|
|
105
105
|
outline: 0;
|
|
106
106
|
}
|
|
@@ -109,12 +109,12 @@
|
|
|
109
109
|
&.active {
|
|
110
110
|
> a, > span, > div,
|
|
111
111
|
> a:hover, > span:hover, > div:hover {
|
|
112
|
-
background-color:
|
|
112
|
+
background-color: var(--color-white);
|
|
113
113
|
border-bottom: 1px solid transparent;
|
|
114
114
|
border-left: 1px solid @nav-tabs-active-link-hover-border-color;
|
|
115
115
|
border-right: 1px solid @nav-tabs-active-link-hover-border-color;
|
|
116
116
|
border-top: 1px solid @nav-tabs-active-link-hover-border-color;
|
|
117
|
-
color:
|
|
117
|
+
color: var(--gray-darkest);
|
|
118
118
|
cursor: default;
|
|
119
119
|
|
|
120
120
|
&:before {
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
.tab-content {
|
|
129
129
|
margin: 0;
|
|
130
130
|
padding: 15px;
|
|
131
|
-
background-color:
|
|
131
|
+
background-color: var(--color-white);
|
|
132
132
|
transition: all 200ms ease-in-out;
|
|
133
133
|
}
|
|
134
134
|
|
|
@@ -140,8 +140,8 @@
|
|
|
140
140
|
|
|
141
141
|
// nav pills
|
|
142
142
|
@nav-pills-border-radius: @border-radius-default;
|
|
143
|
-
@nav-pills-active-link-hover-bg:
|
|
144
|
-
@nav-pills-active-link-hover-color:
|
|
143
|
+
@nav-pills-active-link-hover-bg: var(--brand-primary);
|
|
144
|
+
@nav-pills-active-link-hover-color: var(--color-white);
|
|
145
145
|
|
|
146
146
|
.nav-pills {
|
|
147
147
|
&:not(.nav-stacked) {
|
|
@@ -151,13 +151,13 @@
|
|
|
151
151
|
|
|
152
152
|
> li {
|
|
153
153
|
> a, > span, > div {
|
|
154
|
-
color:
|
|
154
|
+
color: var(--gray-dark);
|
|
155
155
|
line-height: 22px;
|
|
156
156
|
transition: all 100ms ease-in-out;
|
|
157
157
|
|
|
158
158
|
&:hover,
|
|
159
159
|
&:focus {
|
|
160
|
-
color:
|
|
160
|
+
color: var(--gray-darkest);
|
|
161
161
|
outline: 0;
|
|
162
162
|
}
|
|
163
163
|
}
|
|
@@ -165,14 +165,14 @@
|
|
|
165
165
|
&.active,
|
|
166
166
|
&:active {
|
|
167
167
|
> a, > span, > div {
|
|
168
|
-
color:
|
|
168
|
+
color: var(--gray-darkest);
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
&.disabled,
|
|
173
173
|
&:disabled {
|
|
174
174
|
> a, > span, > div {
|
|
175
|
-
color:
|
|
175
|
+
color: var(--gray-light);
|
|
176
176
|
|
|
177
177
|
&:hover {
|
|
178
178
|
box-shadow: none;
|
|
@@ -182,19 +182,19 @@
|
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
&:not(.nav-stacked):not(.nav-pills-filled) {
|
|
185
|
-
box-shadow: 0 -1px inset
|
|
185
|
+
box-shadow: 0 -1px inset var(--gray-dark);
|
|
186
186
|
> li {
|
|
187
187
|
> a, > span, > div {
|
|
188
188
|
&:hover,
|
|
189
189
|
&:focus {
|
|
190
|
-
box-shadow: inset 0px -4px 0px 0px
|
|
190
|
+
box-shadow: inset 0px -4px 0px 0px var(--gray-dark);
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
&.active,
|
|
195
195
|
&:active {
|
|
196
196
|
> a, > span, > div {
|
|
197
|
-
box-shadow: inset 0px -3px 0px 0px
|
|
197
|
+
box-shadow: inset 0px -3px 0px 0px var(--gray-dark);
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
}
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
&.nav-pills-filled {
|
|
222
|
-
background:
|
|
222
|
+
background: var(--gray-lightest);
|
|
223
223
|
border-radius: @nav-pills-border-radius;
|
|
224
224
|
padding: @nav-pills-border-radius;
|
|
225
225
|
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
&.active,
|
|
228
228
|
&:hover {
|
|
229
229
|
&:extend(.shadow-default);
|
|
230
|
-
background:
|
|
230
|
+
background: var(--color-white);
|
|
231
231
|
border-radius: @nav-pills-border-radius;
|
|
232
232
|
}
|
|
233
233
|
}
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
> a, > span, > div {
|
|
243
|
-
color:
|
|
243
|
+
color: var(--gray-darkest);
|
|
244
244
|
border-radius: @nav-pills-border-radius;
|
|
245
245
|
}
|
|
246
246
|
}
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
> li:not(.disabled):not(:disabled):not(.active) {
|
|
249
249
|
&:hover {
|
|
250
250
|
> a, > span, > div {
|
|
251
|
-
background-color:
|
|
251
|
+
background-color: var(--gray-lightest);
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
}
|
|
@@ -256,11 +256,11 @@
|
|
|
256
256
|
&:not(.nav-pills-stacked-decent) {
|
|
257
257
|
> li.active {
|
|
258
258
|
> a, > span, > div {
|
|
259
|
-
color:
|
|
259
|
+
color: var(--color-white);
|
|
260
260
|
background-color: @nav-pills-active-link-hover-bg;
|
|
261
261
|
|
|
262
262
|
&:hover {
|
|
263
|
-
color:
|
|
263
|
+
color: var(--color-white);
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
}
|
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
&.nav-pills-stacked-decent {
|
|
270
270
|
> li.active {
|
|
271
271
|
> a, > span, > div {
|
|
272
|
-
background-color:
|
|
272
|
+
background-color: var(--color-highlight-lightest);
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
}
|
|
@@ -145,15 +145,6 @@ html {
|
|
|
145
145
|
margin: 0.67em 0;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
//
|
|
149
|
-
// Address styling not present in IE 8/9.
|
|
150
|
-
//
|
|
151
|
-
|
|
152
|
-
mark {
|
|
153
|
-
background: #ff0;
|
|
154
|
-
color: #000;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
148
|
//
|
|
158
149
|
// Address inconsistent and variable font size in all browsers.
|
|
159
150
|
//
|