dashboard-shell-shell 3.0.5-test.6 → 3.0.5-test.9
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/assets/brand/harvester/favicon.png +0 -0
- package/assets/brand/suse/favicon.png +0 -0
- package/assets/icons/demo.css +539 -0
- package/assets/icons/demo.css:Zone.Identifier +0 -0
- package/assets/icons/demo_index.html +1131 -0
- package/assets/icons/demo_index.html:Zone.Identifier +0 -0
- package/assets/icons/iconfont.css +216 -0
- package/assets/icons/iconfont.css:Zone.Identifier +0 -0
- package/assets/icons/iconfont.js +1 -0
- package/assets/icons/iconfont.js:Zone.Identifier +0 -0
- package/assets/icons/iconfont.json +324 -0
- package/assets/icons/iconfont.json:Zone.Identifier +0 -0
- package/assets/icons/iconfont.ttf +0 -0
- package/assets/icons/iconfont.ttf:Zone.Identifier +0 -0
- package/assets/icons/iconfont.woff +0 -0
- package/assets/icons/iconfont.woff2 +0 -0
- package/assets/icons/iconfont.woff2:Zone.Identifier +0 -0
- package/assets/icons/iconfont.woff:Zone.Identifier +0 -0
- package/assets/images/API.svg +3 -0
- package/assets/images/action.svg +6 -0
- package/assets/images/login/password.svg +20 -0
- package/assets/images/login/user.svg +6 -0
- package/assets/images/login-bg.png +0 -0
- package/assets/images/login-left.png +0 -0
- package/assets/images/login-logo.svg +19 -0
- package/assets/images/logo.png +0 -0
- package/assets/images/pl/half-logo.svg +2 -23
- package/assets/images/pl/harvester.png +0 -0
- package/assets/images/pl/logo.png +0 -0
- package/assets/images/promp-yellow.svg +5 -0
- package/assets/images/user.png +0 -0
- package/assets/styles/all.scss +63 -0
- package/assets/styles/app.scss +4 -0
- package/assets/styles/base/_basic.scss +2 -2
- package/assets/styles/base/_mixins.scss +1 -1
- package/assets/styles/base/_typography.scss +2 -1
- package/assets/styles/base/_variables.scss +14 -7
- package/assets/styles/global/_button.scss +43 -25
- package/assets/styles/global/_columns.scss +3 -1
- package/assets/styles/global/_form.scss +45 -13
- package/assets/styles/global/_labeled-input.scss +54 -26
- package/assets/styles/global/_layout.scss +8 -3
- package/assets/styles/global/_select.scss +25 -17
- package/assets/styles/global/_table.scss +7 -1
- package/assets/styles/global/_tooltip.scss +56 -8
- package/assets/styles/themes/_dark.scss +3 -0
- package/assets/styles/themes/_light.scss +66 -43
- package/assets/styles/vendor/vue-select.scss +22 -9
- package/assets/translations/en-us.yaml +28 -4
- package/assets/translations/zh-hans.yaml +452 -189
- package/components/ActionDropdown.vue +2 -1
- package/components/ActionMenu.vue +2 -2
- package/components/ActionMenuShell.vue +2 -0
- package/components/AppModal.vue +46 -5
- package/components/BrandImage.vue +1 -0
- package/components/ButtonDropdown.vue +26 -4
- package/components/ButtonMultiAction.vue +1 -0
- package/components/ClusterIconMenu.vue +1 -1
- package/components/CodeMirror.vue +20 -6
- package/components/ConsumptionGauge.vue +24 -5
- package/components/CopyToClipboard.vue +15 -0
- package/components/CruResource.vue +9 -8
- package/components/CruResourceFooter.vue +2 -2
- package/components/DashboardOptions.vue +29 -17
- package/components/DotState.vue +84 -0
- package/components/Drawer/Chrome.vue +2 -2
- package/components/Drawer/ResourceDetailDrawer/ConfigTab.vue +22 -22
- package/components/Drawer/ResourceDetailDrawer/YamlTab.vue +1 -1
- package/components/Drawer/ResourceDetailDrawer/index.vue +2 -1
- package/components/ExplorerMembers.vue +18 -3
- package/components/ExplorerProjectsNamespaces.vue +19 -5
- package/components/GlobalRoleBindings.vue +112 -48
- package/components/GrafanaDashboard.vue +4 -4
- package/components/GrowlManager.vue +3 -1
- package/components/HardwareResourceGauge.vue +39 -3
- package/components/IndentedPanel.vue +4 -10
- package/components/InfoBox.vue +3 -3
- package/components/InputOrDisplay.vue +28 -2
- package/components/LabelValue.vue +20 -1
- package/components/ModalWithCard.vue +12 -3
- package/components/PodSecurityAdmission.vue +1 -1
- package/components/PromptModal.vue +1 -1
- package/components/PromptRemove.vue +30 -11
- package/components/Resource/Detail/Metadata/IdentifyingInformation/index.vue +1 -3
- package/components/Resource/Detail/Metadata/KeyValue.vue +8 -4
- package/components/Resource/Detail/Metadata/index.vue +3 -1
- package/components/Resource/Detail/TitleBar/Title.vue +4 -3
- package/components/Resource/Detail/TitleBar/Top.vue +2 -0
- package/components/Resource/Detail/TitleBar/index.vue +109 -24
- package/components/ResourceDetail/Masthead/legacy.vue +181 -38
- package/components/ResourceDetail/legacy.vue +32 -14
- package/components/ResourceList/Masthead.vue +226 -54
- package/components/ResourceList/ResourceLoadingIndicator.vue +5 -2
- package/components/ResourceTable.vue +24 -2
- package/components/SideNav.vue +74 -20
- package/components/SortableTable/THead.vue +33 -3
- package/components/SortableTable/index.vue +1016 -463
- package/components/SortableTable/paging.js +26 -16
- package/components/SortableTable/selection.js +2 -2
- package/components/Tabbed/Tab.vue +3 -3
- package/components/Tabbed/index.vue +47 -29
- package/components/YamlEditor.vue +0 -1
- package/components/auth/Principal.vue +37 -13
- package/components/auth/RoleDetailEdit.vue +58 -7
- package/components/auth/SelectPrincipal.vue +1 -0
- package/components/breadcrumb/index.vue +316 -0
- package/components/form/ArrayList.vue +41 -33
- package/components/form/ArrayListGrouped.vue +10 -2
- package/components/form/ArrayListSelect.vue +1 -1
- package/components/form/BannerSettings.vue +64 -59
- package/components/form/ChangePassword.vue +4 -4
- package/components/form/ColorInput.vue +32 -8
- package/components/form/Footer.vue +11 -8
- package/components/form/InputWithSelect.vue +8 -5
- package/components/form/KeyValue.vue +47 -7
- package/components/form/LabeledSelect.vue +214 -242
- package/components/form/Labels.vue +3 -3
- package/components/form/MatchExpressions.vue +24 -7
- package/components/form/Members/ClusterPermissionsEditor.vue +1 -2
- package/components/form/Members/MembershipEditor.vue +1 -1
- package/components/form/NameNsDescription.vue +59 -20
- package/components/form/Password.vue +16 -7
- package/components/form/PodAffinity.vue +4 -5
- package/components/form/ResourceQuota/Namespace.vue +4 -4
- package/components/form/ResourceQuota/NamespaceRow.vue +18 -17
- package/components/form/ResourceQuota/Project.vue +4 -4
- package/components/form/ResourceQuota/ProjectRow.vue +3 -6
- package/components/form/Select.vue +5 -2
- package/components/form/SimpleSecretSelector.vue +29 -9
- package/components/form/Taints.vue +2 -1
- package/components/form/UnitInput.vue +8 -3
- package/components/form/WorkloadPorts.vue +143 -123
- package/components/formatter/BadgeStateFormatter.vue +8 -5
- package/components/formatter/LiveDate.vue +3 -3
- package/components/nav/Favorite.vue +5 -1
- package/components/nav/Group.vue +132 -99
- package/components/nav/Header.vue +124 -27
- package/components/nav/HeaderPageActionMenu.vue +1 -0
- package/components/nav/NamespaceFilter.vue +20 -17
- package/components/nav/TopLevelMenu.vue +182 -119
- package/components/nav/Type.vue +63 -41
- package/composables/useClickOutside.ts +1 -1
- package/config/private-label.js +15 -11
- package/config/product/auth.js +17 -7
- package/config/product/settings.js +19 -9
- package/config/settings.ts +28 -0
- package/config/table-headers.js +3 -2
- package/dialog/ForceMachineRemoveDialog.vue +2 -2
- package/dialog/ScalePoolDownDialog.vue +2 -2
- package/edit/management.cattle.io.user.vue +17 -4
- package/edit/monitoring.coreos.com.alertmanagerconfig/auth.vue +19 -19
- package/edit/monitoring.coreos.com.alertmanagerconfig/receiverConfig.vue +31 -31
- package/edit/monitoring.coreos.com.alertmanagerconfig/routeConfig.vue +36 -12
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/email.vue +6 -6
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/opsgenie.vue +10 -10
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/pagerduty.vue +4 -4
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/slack.vue +4 -4
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/webhook.vue +1 -1
- package/edit/monitoring.coreos.com.receiver/types/email.vue +6 -6
- package/edit/monitoring.coreos.com.receiver/types/opsgenie.vue +10 -10
- package/edit/monitoring.coreos.com.receiver/types/pagerduty.vue +5 -5
- package/edit/monitoring.coreos.com.receiver/types/slack.vue +4 -4
- package/edit/namespace.vue +1 -2
- package/edit/token.vue +31 -12
- package/edit/workload/index.vue +4 -4
- package/list/management.cattle.io.setting.vue +22 -13
- package/list/management.cattle.io.user.vue +7 -3
- package/list/namespace.vue +3 -0
- package/list/provisioning.cattle.io.cluster.vue +6 -7
- package/mixins/brand.js +17 -0
- package/package.json +1 -1
- package/pages/account/pri.vue +229 -0
- package/pages/auth/login.vue +220 -52
- package/pages/auth/setup.vue +142 -19
- package/pages/c/_cluster/_product/namespaces.vue +5 -5
- package/pages/c/_cluster/auth/roles/index.vue +56 -5
- package/pages/c/_cluster/monitoring/monitor/index.vue +2 -2
- package/pages/c/_cluster/settings/banners.vue +174 -102
- package/pages/c/_cluster/settings/brand.vue +350 -302
- package/pages/c/_cluster/settings/performance.vue +61 -38
- package/pages/home.vue +70 -30
- package/pages/prefs.vue +27 -25
- package/pkg/tsconfig.json +9 -9
- package/pkg/vue.config.js +1 -1
- package/plugins/dashboard-store/resource-class.js +28 -27
- package/promptRemove/mixin/roleDeletionCheck.js +2 -2
- package/public/index.html +4 -4
- package/rancher-components/BadgeState/BadgeState.vue +38 -55
- package/rancher-components/Banner/Banner.vue +12 -8
- package/rancher-components/Card/Card.vue +7 -8
- package/rancher-components/Form/Checkbox/Checkbox.vue +4 -0
- package/rancher-components/Form/LabeledInput/LabeledInput.vue +42 -3
- package/rancher-components/Form/Radio/RadioButton.vue +35 -11
- package/rancher-components/Form/Radio/RadioGroup.vue +13 -5
- package/rancher-components/Form/TextArea/TextAreaAutoGrow.vue +3 -3
- package/rancher-components/Form/ToggleSwitch/ToggleSwitch.vue +1 -0
- package/rancher-components/LabeledTooltip/LabeledTooltip.vue +12 -4
- package/rancher-components/RcDropdown/RcDropdown.vue +35 -7
- package/rancher-components/RcDropdown/RcDropdownItem.vue +2 -2
- package/rancher-components/RcDropdown/RcDropdownMenu.vue +12 -6
- package/rancher-components/RcDropdown/types.ts +1 -0
- package/rancher-components/StringList/StringList.vue +1 -1
- package/scripts/publish-shell.sh +1 -1
- package/static/favicon.ico +0 -0
- package/static/favicon.png +0 -0
- package/static/loading-indicator.html +3 -3
- package/store/i18n.js +5 -2
- package/store/modal.ts +3 -3
- package/store/prefs.js +11 -4
- package/store/type-map.js +32 -2
- package/types/shell/index.d.ts +78 -97
- package/utils/error.js +89 -8
- package/utils/errorTranslate.json +1351 -0
- package/utils/router.js +21 -0
- package/utils/select.js +26 -3
- package/utils/string.js +8 -5
- package/utils/title.ts +1 -1
- package/vue.config.js +1 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
$header-font: 'Poppins', sans-serif;
|
|
2
|
-
$
|
|
1
|
+
// $header-font: 'Poppins', sans-serif;
|
|
2
|
+
$header-font: 'Microsoft YaHei';
|
|
3
|
+
// $body-font: 'Lato', arial, helvetica, sans-serif;
|
|
4
|
+
$body-font: 'Microsoft YaHei';
|
|
3
5
|
$mono-font: 'Roboto Mono', monospace;
|
|
4
6
|
|
|
5
7
|
$app-bar-collapsed-width: 70px;
|
|
@@ -10,9 +12,14 @@ $unlabeled-input-height: 40px;
|
|
|
10
12
|
$unlabaled-select-padding: 3px 0;
|
|
11
13
|
$footer-height: 60px;
|
|
12
14
|
|
|
15
|
+
$input-height: 32px;
|
|
16
|
+
$unlabeled-input-height: 32px;
|
|
17
|
+
$input-width: 400px;
|
|
18
|
+
|
|
19
|
+
|
|
13
20
|
$input-padding-lg: 18px;
|
|
14
21
|
$input-padding-sm: 10px;
|
|
15
|
-
$input-line-height:
|
|
22
|
+
$input-line-height: 32px;
|
|
16
23
|
|
|
17
24
|
$column-gutter: 1.75%;
|
|
18
25
|
|
|
@@ -32,13 +39,13 @@ $z-indexes: (
|
|
|
32
39
|
// ---- Boundary for central content (in `<main>`)
|
|
33
40
|
|
|
34
41
|
// This covers both relative and content modes of the loading indicator
|
|
35
|
-
loading:
|
|
42
|
+
loading: 16,
|
|
36
43
|
|
|
37
44
|
// Users can click on shell in header and show shell even with most loading indicators showing,
|
|
38
45
|
// so add it above them
|
|
39
|
-
windowsManager:
|
|
46
|
+
windowsManager: 17,
|
|
40
47
|
|
|
41
|
-
mainHeader:
|
|
48
|
+
mainHeader: 18,
|
|
42
49
|
|
|
43
50
|
cruFooter: 19,
|
|
44
51
|
|
|
@@ -74,4 +81,4 @@ $font-size-h2: 21px;
|
|
|
74
81
|
// Global spacing variables
|
|
75
82
|
$space-s: 10px;
|
|
76
83
|
$space-m: 20px;
|
|
77
|
-
$space-l: 40px;
|
|
84
|
+
$space-l: 40px;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
$btn-padding: 0
|
|
1
|
+
$btn-padding: 0 10px;
|
|
2
2
|
$btn-sm-padding: 0 7px 0 7px;
|
|
3
|
-
$btn-height:
|
|
4
|
-
$btn-sm-height:
|
|
3
|
+
$btn-height: 32px;
|
|
4
|
+
$btn-sm-height: 32px;
|
|
5
5
|
|
|
6
6
|
// -----------------------------------------------------------------------------
|
|
7
7
|
// This file contains all styles related to the button component.
|
|
@@ -22,9 +22,12 @@ button,
|
|
|
22
22
|
border: 0;
|
|
23
23
|
padding: $btn-padding;
|
|
24
24
|
border-radius: var(--border-radius);
|
|
25
|
-
color: var(--lightest);
|
|
26
|
-
line-height: $btn-height;
|
|
27
|
-
|
|
25
|
+
// color: var(--lightest);
|
|
26
|
+
line-height: $btn-height !important;
|
|
27
|
+
height: $btn-height !important;
|
|
28
|
+
min-width: 100px;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
|
|
28
31
|
|
|
29
32
|
> .icon:not(:only-child) {
|
|
30
33
|
margin-right: 6px;
|
|
@@ -32,7 +35,7 @@ button,
|
|
|
32
35
|
|
|
33
36
|
&:hover {
|
|
34
37
|
text-decoration: none;
|
|
35
|
-
color: var(--lightest);
|
|
38
|
+
// color: var(--lightest);
|
|
36
39
|
}
|
|
37
40
|
|
|
38
41
|
&.bg-transparent {
|
|
@@ -40,6 +43,10 @@ button,
|
|
|
40
43
|
}
|
|
41
44
|
}
|
|
42
45
|
|
|
46
|
+
.bg-primary {
|
|
47
|
+
color: var(--lightest);
|
|
48
|
+
}
|
|
49
|
+
|
|
43
50
|
//icon button
|
|
44
51
|
.icon-btn {
|
|
45
52
|
padding: 0;
|
|
@@ -60,7 +67,8 @@ button,
|
|
|
60
67
|
.btn-sm .btn-label {
|
|
61
68
|
padding: $btn-sm-padding;
|
|
62
69
|
min-height: $btn-sm-height;
|
|
63
|
-
line-height:
|
|
70
|
+
line-height: 32px;
|
|
71
|
+
min-width: 100px;
|
|
64
72
|
}
|
|
65
73
|
|
|
66
74
|
//btn roles
|
|
@@ -69,8 +77,9 @@ button,
|
|
|
69
77
|
color: var(--primary-text);
|
|
70
78
|
|
|
71
79
|
&:hover, &._hover {
|
|
72
|
-
background-color: var(--primary-hover-bg);
|
|
80
|
+
// background-color: var(--primary-hover-bg);
|
|
73
81
|
color: var(--primary-text);
|
|
82
|
+
box-shadow: 0 4px 6px 0 rgba(0,0,0,.2)!important;
|
|
74
83
|
}
|
|
75
84
|
|
|
76
85
|
&:focus, &.focused {
|
|
@@ -86,17 +95,25 @@ button,
|
|
|
86
95
|
|
|
87
96
|
.role-secondary {
|
|
88
97
|
background: transparent;
|
|
89
|
-
color: var(--
|
|
90
|
-
border: solid 1px var(--primary);
|
|
98
|
+
color: var(--input-label) !important;
|
|
99
|
+
// border: solid 1px var(--primary);
|
|
100
|
+
border: solid 1px #d9d9d9;
|
|
91
101
|
line-height: $btn-height - 2px;
|
|
102
|
+
min-width: 100px;
|
|
92
103
|
|
|
93
104
|
&:hover, &._hover {
|
|
94
|
-
color: var(--lightest) !important;
|
|
105
|
+
// color: var(--lightest) !important;
|
|
106
|
+
color: var(--input-label) !important;
|
|
107
|
+
box-shadow: 0 4px 6px 0 rgba(0,0,0,.2)!important;
|
|
95
108
|
}
|
|
96
109
|
|
|
97
110
|
&:focus, &.focused {
|
|
98
|
-
background
|
|
99
|
-
|
|
111
|
+
background: transparent;
|
|
112
|
+
box-shadow: 0 4px 6px 0 rgba(0,0,0,.2)!important;
|
|
113
|
+
// background-color: var(--primary-hover-bg);
|
|
114
|
+
// color: var(--lightest) !important;
|
|
115
|
+
color: var(--input-label) !important;
|
|
116
|
+
// color: var(--primary-text) !important;
|
|
100
117
|
}
|
|
101
118
|
|
|
102
119
|
&.btn-sm {
|
|
@@ -106,11 +123,6 @@ button,
|
|
|
106
123
|
border: 0;
|
|
107
124
|
}
|
|
108
125
|
}
|
|
109
|
-
|
|
110
|
-
&:focus-visible {
|
|
111
|
-
@include focus-outline;
|
|
112
|
-
outline-offset: 2px;
|
|
113
|
-
}
|
|
114
126
|
}
|
|
115
127
|
|
|
116
128
|
.role-tertiary {
|
|
@@ -118,9 +130,11 @@ button,
|
|
|
118
130
|
border: solid 1px var(--primary);
|
|
119
131
|
color: var(--primary);
|
|
120
132
|
|
|
121
|
-
&:focus, &.focused {
|
|
122
|
-
background-color: var(--primary-hover-bg);
|
|
123
|
-
color: var(--primary-text);
|
|
133
|
+
&:focus, &.focused, &:hover {
|
|
134
|
+
// background-color: var(--primary-hover-bg);
|
|
135
|
+
// color: var(--primary-text);
|
|
136
|
+
background-color: var(--accent-btn);
|
|
137
|
+
color: var(--primary);
|
|
124
138
|
}
|
|
125
139
|
|
|
126
140
|
&.btn:not(.btn-sm) {
|
|
@@ -138,7 +152,8 @@ button,
|
|
|
138
152
|
color: var(--link);
|
|
139
153
|
|
|
140
154
|
&:hover, &._hover {
|
|
141
|
-
color: var(--lightest);
|
|
155
|
+
// color: var(--lightest);
|
|
156
|
+
color: var(--link);
|
|
142
157
|
}
|
|
143
158
|
|
|
144
159
|
&:focus, &.focused {
|
|
@@ -154,10 +169,13 @@ button,
|
|
|
154
169
|
}
|
|
155
170
|
|
|
156
171
|
.role-multi-action {
|
|
157
|
-
background:
|
|
172
|
+
background-color: rgba(0,0,0,0);
|
|
158
173
|
border: solid thin var(--primary);
|
|
159
|
-
color: var(--primary);
|
|
174
|
+
color: var(--primary) !important;
|
|
160
175
|
border-radius: 2px;
|
|
176
|
+
min-width: 32px;
|
|
177
|
+
height: 32px;
|
|
178
|
+
width: 32px;
|
|
161
179
|
}
|
|
162
180
|
|
|
163
181
|
.icon-group i {
|
|
@@ -17,7 +17,8 @@ $DEFAULT_COLUMNS: 12;
|
|
|
17
17
|
/* COLUMN SETUP */
|
|
18
18
|
.col {
|
|
19
19
|
flex: 0 0 auto;
|
|
20
|
-
margin:
|
|
20
|
+
margin-bottom: 24px;
|
|
21
|
+
// margin: 0 $column-gutter 0 0;
|
|
21
22
|
|
|
22
23
|
&:last-child {
|
|
23
24
|
margin-right: 0;
|
|
@@ -32,6 +33,7 @@ $DEFAULT_COLUMNS: 12;
|
|
|
32
33
|
/* ROWS */
|
|
33
34
|
.row {
|
|
34
35
|
display: flex;
|
|
36
|
+
flex-wrap: wrap;
|
|
35
37
|
// margin-bottom: 20px;
|
|
36
38
|
|
|
37
39
|
&--y-center {
|
|
@@ -19,17 +19,18 @@ TEXTAREA,
|
|
|
19
19
|
display: block;
|
|
20
20
|
box-sizing: border-box;
|
|
21
21
|
width: 100%;
|
|
22
|
-
padding:
|
|
22
|
+
// padding: 4px 11px;
|
|
23
|
+
// border-radius: var(--border-radius);
|
|
24
|
+
|
|
25
|
+
color: var(--input-text);
|
|
23
26
|
background-color: var(--input-bg);
|
|
24
|
-
border-radius: var(--border-radius);
|
|
25
27
|
border: solid var(--border-width) var(--input-border);
|
|
26
|
-
|
|
28
|
+
|
|
27
29
|
|
|
28
30
|
@include input-status-color;
|
|
29
31
|
|
|
30
|
-
&:focus
|
|
31
|
-
|
|
32
|
-
@include form-focus;
|
|
32
|
+
&:focus, &.focused {
|
|
33
|
+
@include form-focus
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
LABEL {
|
|
@@ -55,7 +56,7 @@ TEXTAREA,
|
|
|
55
56
|
color: var(--input-disabled-text);
|
|
56
57
|
background-color: var(--input-disabled-bg);
|
|
57
58
|
outline-width: 0;
|
|
58
|
-
border-color: var(--input-disabled-border);
|
|
59
|
+
// border-color: var(--input-disabled-border);
|
|
59
60
|
cursor: not-allowed;
|
|
60
61
|
label {
|
|
61
62
|
color: var(--input-disabled-label);
|
|
@@ -67,30 +68,54 @@ TEXTAREA,
|
|
|
67
68
|
}
|
|
68
69
|
}
|
|
69
70
|
|
|
71
|
+
|
|
70
72
|
LABEL {
|
|
71
73
|
margin: $spacing 0 0 0;
|
|
72
74
|
}
|
|
73
75
|
}
|
|
74
76
|
|
|
77
|
+
INPUT[type='text']{
|
|
78
|
+
height: 32px;
|
|
79
|
+
border: solid var(--border-width) var(--input-border);
|
|
80
|
+
line-height: 30px;
|
|
81
|
+
padding: 0px 11px;
|
|
82
|
+
box-sizing: border-box;
|
|
83
|
+
border-radius: 2px;
|
|
84
|
+
&:hover{
|
|
85
|
+
box-shadow: 0 4px 6px 0 var(--input-border-box-shadow);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
75
90
|
INPUT[type='search']:not(.vs__search) {
|
|
76
|
-
padding: calc(#{$input-padding-sm} + 2px);
|
|
91
|
+
// padding: calc(#{$input-padding-sm} + 2px);
|
|
92
|
+
padding: 4px 11px;
|
|
93
|
+
&:hover{
|
|
94
|
+
box-shadow: 0 4px 6px 0 var(--input-border-box-shadow);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
INPUT[type='search']::-webkit-search-cancel-button {
|
|
98
|
+
display: none;
|
|
77
99
|
}
|
|
78
100
|
|
|
79
101
|
TEXTAREA {
|
|
80
|
-
padding:
|
|
102
|
+
padding: 6px 11px;
|
|
81
103
|
line-height: $input-line-height;
|
|
104
|
+
border: solid var(--border-width) var(--input-border);
|
|
82
105
|
}
|
|
83
106
|
|
|
84
107
|
FORM {
|
|
85
|
-
LABEL
|
|
108
|
+
LABEL {
|
|
86
109
|
color: var(--input-label);
|
|
87
110
|
display: inline-block;
|
|
88
|
-
margin: $spacing 0 $spacing 0;
|
|
111
|
+
// margin: $spacing 0 $spacing 0;
|
|
89
112
|
font-size: 12px;
|
|
90
|
-
|
|
113
|
+
.required{
|
|
114
|
+
color: red;
|
|
115
|
+
}
|
|
91
116
|
.radio-label,
|
|
92
117
|
.checkbox-label {
|
|
93
|
-
font-size:
|
|
118
|
+
font-size: 12px;
|
|
94
119
|
}
|
|
95
120
|
|
|
96
121
|
&.radio, &.checkbox {
|
|
@@ -144,3 +169,10 @@ INPUT.inline-input {
|
|
|
144
169
|
.fixed select, .fixed.v-select, .fixed input:not(.vs__search){
|
|
145
170
|
height: 50px;
|
|
146
171
|
}
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
INPUT:not([type]){
|
|
175
|
+
border: solid var(--border-width) var(--input-border);
|
|
176
|
+
height: 32px;
|
|
177
|
+
padding: 4px 11px;
|
|
178
|
+
}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
.labeled-input {
|
|
2
2
|
position: relative;
|
|
3
|
-
display:
|
|
3
|
+
display: table;
|
|
4
4
|
border-collapse: separate;
|
|
5
5
|
min-height: $input-height;
|
|
6
|
+
width: $input-width;
|
|
7
|
+
// flex: 1;
|
|
6
8
|
z-index: 0; // Prevent label from cover other elements outside of the input
|
|
9
|
+
height: $input-height;
|
|
7
10
|
|
|
8
11
|
&.compact-input {
|
|
9
12
|
min-height: $unlabeled-input-height;
|
|
10
|
-
padding: 0 10px;
|
|
13
|
+
// padding: 0 10px;
|
|
11
14
|
|
|
12
15
|
INPUT.no-label {
|
|
13
16
|
line-height: $input-line-height;
|
|
@@ -26,7 +29,7 @@
|
|
|
26
29
|
width: calc(100% - 20px);
|
|
27
30
|
|
|
28
31
|
i {
|
|
29
|
-
pointer-events: initial
|
|
32
|
+
pointer-events: initial
|
|
30
33
|
}
|
|
31
34
|
}
|
|
32
35
|
|
|
@@ -47,7 +50,7 @@
|
|
|
47
50
|
INPUT,
|
|
48
51
|
SELECT {
|
|
49
52
|
position: relative;
|
|
50
|
-
font-size:
|
|
53
|
+
font-size: 12px;
|
|
51
54
|
display: block;
|
|
52
55
|
width: 100%;
|
|
53
56
|
}
|
|
@@ -61,24 +64,27 @@
|
|
|
61
64
|
user-select: none;
|
|
62
65
|
}
|
|
63
66
|
|
|
64
|
-
INPUT,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
TEXTAREA,
|
|
68
|
-
TEXTAREA:hover,
|
|
69
|
-
TEXTAREA:focus,
|
|
70
|
-
SELECT,
|
|
71
|
-
SELECT:hover,
|
|
72
|
-
SELECT:focus {
|
|
67
|
+
INPUT, INPUT:hover, INPUT:focus,
|
|
68
|
+
TEXTAREA, TEXTAREA:hover, TEXTAREA:focus,
|
|
69
|
+
SELECT, SELECT:hover, SELECT:focus {
|
|
73
70
|
border: none;
|
|
74
71
|
background-color: transparent;
|
|
75
72
|
outline: 0;
|
|
76
73
|
box-shadow: none;
|
|
77
|
-
padding:
|
|
78
|
-
line-height: calc(#{$input-line-height} + 1px);
|
|
79
|
-
|
|
74
|
+
padding: 0 0 0 0;
|
|
75
|
+
// line-height: calc(#{$input-line-height} + 1px);
|
|
76
|
+
line-height: calc(29px + 1px);
|
|
77
|
+
// border: solid var(--border-width) var(--input-border);
|
|
78
|
+
padding: 0px 11px;
|
|
79
|
+
box-sizing: border-box;
|
|
80
|
+
border-radius: 2px;
|
|
81
|
+
|
|
82
|
+
&:hover{
|
|
83
|
+
border-color: var(--input-border);
|
|
84
|
+
box-shadow: 0 4px 6px 0 var(--input-border-box-shadow);
|
|
85
|
+
}
|
|
80
86
|
&.no-label {
|
|
81
|
-
padding: $input-padding-sm 0px $input-padding-sm 0px;
|
|
87
|
+
// padding: $input-padding-sm 0px $input-padding-sm 0px;
|
|
82
88
|
}
|
|
83
89
|
}
|
|
84
90
|
|
|
@@ -97,7 +103,7 @@
|
|
|
97
103
|
|
|
98
104
|
.addon,
|
|
99
105
|
.addon.btn {
|
|
100
|
-
display:
|
|
106
|
+
display: table-cell;
|
|
101
107
|
align-items: center;
|
|
102
108
|
justify-content: center;
|
|
103
109
|
white-space: nowrap;
|
|
@@ -106,17 +112,27 @@
|
|
|
106
112
|
}
|
|
107
113
|
|
|
108
114
|
.addon {
|
|
109
|
-
padding: 6px 12px;
|
|
110
|
-
font-size: 14px;
|
|
115
|
+
// padding: 6px 12px;
|
|
116
|
+
// font-size: 14px;
|
|
117
|
+
// font-weight: normal;
|
|
118
|
+
// line-height: 1;
|
|
119
|
+
// text-align: center;
|
|
120
|
+
// border-left: solid thin var(--input-border);
|
|
121
|
+
padding: 4px 0px 4px 4px;
|
|
122
|
+
font-size: 12px;
|
|
111
123
|
font-weight: normal;
|
|
112
124
|
line-height: 1;
|
|
113
125
|
text-align: center;
|
|
114
|
-
|
|
126
|
+
position: absolute;
|
|
127
|
+
top: 5px;
|
|
128
|
+
right: 5px;
|
|
129
|
+
// background-color: #fff;
|
|
115
130
|
}
|
|
116
131
|
}
|
|
117
132
|
|
|
118
133
|
&.suffix INPUT {
|
|
119
|
-
padding-right:
|
|
134
|
+
padding-right: 0px;
|
|
135
|
+
width: $input-width;
|
|
120
136
|
}
|
|
121
137
|
|
|
122
138
|
.cron-label,
|
|
@@ -124,17 +140,29 @@
|
|
|
124
140
|
position: absolute;
|
|
125
141
|
top: 100%;
|
|
126
142
|
width: 100%;
|
|
127
|
-
padding-top: 5px;
|
|
143
|
+
// padding-top: 5px;
|
|
144
|
+
padding-top: 0px;
|
|
128
145
|
left: 0;
|
|
129
|
-
|
|
130
|
-
|
|
146
|
+
width: 400px !important;
|
|
147
|
+
color: var(--outline);
|
|
148
|
+
// color: var(--input-label);
|
|
149
|
+
pointer-events:initial;
|
|
131
150
|
}
|
|
132
151
|
|
|
133
152
|
.validation-message,
|
|
134
153
|
.sub-label.validation-message {
|
|
135
154
|
color: var(--error);
|
|
136
155
|
}
|
|
156
|
+
}
|
|
137
157
|
|
|
158
|
+
.TEXTAREA, TEXTAREA:hover, TEXTAREA:focus{
|
|
159
|
+
border: solid var(--border-width) var(--input-border);
|
|
160
|
+
}
|
|
138
161
|
|
|
139
|
-
|
|
162
|
+
@media(max-width:1400px) {
|
|
163
|
+
.labeled-input{
|
|
164
|
+
&.suffix INPUT {
|
|
165
|
+
width: 370px;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
140
168
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
.main-layout {
|
|
3
3
|
grid-area: main;
|
|
4
4
|
overflow: auto;
|
|
5
|
-
|
|
5
|
+
overflow-x: hidden;
|
|
6
6
|
.outlet {
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
@@ -36,8 +36,8 @@ HEADER {
|
|
|
36
36
|
|
|
37
37
|
.actions-container {
|
|
38
38
|
grid-area: actions;
|
|
39
|
-
margin-left:
|
|
40
|
-
align-self: center;
|
|
39
|
+
margin-left: 0px;
|
|
40
|
+
// align-self: center;
|
|
41
41
|
text-align: right;
|
|
42
42
|
|
|
43
43
|
&.align-start {
|
|
@@ -47,6 +47,10 @@ HEADER {
|
|
|
47
47
|
|
|
48
48
|
.role-multi-action {
|
|
49
49
|
padding: 0 $input-padding-sm;
|
|
50
|
+
background-color: var(--body-bg);
|
|
51
|
+
&:focus{
|
|
52
|
+
background-color: var(--body-bg);
|
|
53
|
+
}
|
|
50
54
|
}
|
|
51
55
|
}
|
|
52
56
|
|
|
@@ -69,6 +73,7 @@ HEADER {
|
|
|
69
73
|
display: grid;
|
|
70
74
|
position: relative;
|
|
71
75
|
flex: 1 1 auto;
|
|
76
|
+
overflow-y: auto;
|
|
72
77
|
min-height: 0px;
|
|
73
78
|
|
|
74
79
|
&.dashboard-padding-left {
|
|
@@ -9,17 +9,20 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.unlabeled-select:not(.in-input) {
|
|
12
|
+
// min-height: $unlabeled-input-height;
|
|
12
13
|
min-height: $unlabeled-input-height;
|
|
13
14
|
}
|
|
14
15
|
.col {
|
|
15
16
|
> .unlabeled-select:not(.taggable) {
|
|
16
|
-
padding-top: 5px;
|
|
17
|
+
// padding-top: 5px;
|
|
17
18
|
}
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
.labeled-select,
|
|
21
22
|
.unlabeled-select {
|
|
22
23
|
min-width: 75px;
|
|
24
|
+
min-height: 32px;
|
|
25
|
+
width: $input-width;
|
|
23
26
|
|
|
24
27
|
.required {
|
|
25
28
|
color: var(--error);
|
|
@@ -34,11 +37,6 @@
|
|
|
34
37
|
float: right;
|
|
35
38
|
}
|
|
36
39
|
|
|
37
|
-
&:focus-visible, &.focused {
|
|
38
|
-
@include focus-outline;
|
|
39
|
-
outline-offset: -1px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
40
|
&.focused {
|
|
43
41
|
border-bottom-left-radius: 0;
|
|
44
42
|
border-bottom-right-radius: 0;
|
|
@@ -53,9 +51,14 @@
|
|
|
53
51
|
|
|
54
52
|
.vs__search {
|
|
55
53
|
background-color: transparent;
|
|
54
|
+
border: 0px;
|
|
56
55
|
}
|
|
57
56
|
|
|
58
|
-
.vs__dropdown-toggle
|
|
57
|
+
.vs__dropdown-toggle{
|
|
58
|
+
border: solid var(--border-width) var(--input-border);
|
|
59
|
+
height: 32px;
|
|
60
|
+
}
|
|
61
|
+
// .vs__dropdown-toggle,
|
|
59
62
|
.vs__dropdown-toggle > * {
|
|
60
63
|
background-color: transparent;
|
|
61
64
|
border: transparent;
|
|
@@ -95,11 +98,14 @@
|
|
|
95
98
|
min-height: 30px;
|
|
96
99
|
|
|
97
100
|
.vs__selected {
|
|
98
|
-
min-height:
|
|
101
|
+
min-height: 20px;
|
|
99
102
|
padding: 0 7px;
|
|
103
|
+
height: 21px;
|
|
104
|
+
width: unset !important;
|
|
100
105
|
|
|
101
106
|
&:not(:only-child) {
|
|
102
|
-
margin-bottom:
|
|
107
|
+
margin-bottom: 2px;
|
|
108
|
+
margin-top: 2px;
|
|
103
109
|
}
|
|
104
110
|
}
|
|
105
111
|
}
|
|
@@ -121,10 +127,10 @@
|
|
|
121
127
|
}
|
|
122
128
|
|
|
123
129
|
&.disabled {
|
|
124
|
-
border: solid var(--border-width) var(--input-disabled-border);
|
|
125
|
-
|
|
130
|
+
// border: solid var(--border-width) var(--input-disabled-border);
|
|
126
131
|
.vs__dropdown-toggle, input {
|
|
127
132
|
cursor: not-allowed;
|
|
133
|
+
background-color: var(--input-disabled-bg);
|
|
128
134
|
}
|
|
129
135
|
|
|
130
136
|
.v-select {
|
|
@@ -134,6 +140,7 @@
|
|
|
134
140
|
|
|
135
141
|
.vs__dropdown-toggle, input {
|
|
136
142
|
cursor: not-allowed;
|
|
143
|
+
background-color: var(--input-disabled-bg);
|
|
137
144
|
|
|
138
145
|
.vs__selected {
|
|
139
146
|
color: var(--input-disabled-text);
|
|
@@ -147,7 +154,7 @@
|
|
|
147
154
|
background-color: var(--input-bg);
|
|
148
155
|
border-radius: var(--border-radius);
|
|
149
156
|
color: var(--input-text);
|
|
150
|
-
padding:
|
|
157
|
+
padding: 0px 0;
|
|
151
158
|
|
|
152
159
|
.vs--single .vs__selected-options {
|
|
153
160
|
flex-wrap: nowrap;
|
|
@@ -159,7 +166,7 @@
|
|
|
159
166
|
height: 100%;
|
|
160
167
|
|
|
161
168
|
.vs__dropdown-toggle {
|
|
162
|
-
height: 100%;
|
|
169
|
+
// height: 100%;
|
|
163
170
|
}
|
|
164
171
|
.vs__actions {
|
|
165
172
|
width: auto;
|
|
@@ -169,25 +176,26 @@
|
|
|
169
176
|
|
|
170
177
|
&:not(.view):not(.disabled) {
|
|
171
178
|
background-color: var(--input-bg);
|
|
172
|
-
border: solid var(--border-width) var(--input-border);
|
|
179
|
+
// border: solid var(--border-width) var(--input-border);
|
|
173
180
|
|
|
174
181
|
&:hover:not(.focused):not(.disabled) {
|
|
175
182
|
&,
|
|
176
183
|
.vs__dropdown-menu {
|
|
177
|
-
|
|
184
|
+
box-shadow: 0 4px 6px 0 var(--input-border-box-shadow);
|
|
185
|
+
// border: solid var(--border-width) var(--input-hover-border) !important;
|
|
178
186
|
}
|
|
179
187
|
}
|
|
180
188
|
|
|
181
189
|
&.focused {
|
|
182
190
|
&,
|
|
183
191
|
.vs__dropdown-menu {
|
|
184
|
-
border: solid var(--border-width) var(--outline) !important;
|
|
192
|
+
// border: solid var(--border-width) var(--outline) !important;
|
|
185
193
|
}
|
|
186
194
|
}
|
|
187
195
|
|
|
188
196
|
}
|
|
189
197
|
|
|
190
198
|
.labeled-tooltip .status-icon {
|
|
191
|
-
top: $input-padding-sm;
|
|
199
|
+
// top: $input-padding-sm;
|
|
192
200
|
}
|
|
193
201
|
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
thead th {
|
|
16
16
|
vertical-align: bottom;
|
|
17
|
-
border-bottom:
|
|
17
|
+
// border-bottom: 1px solid var(--border);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
tbody + tbody {
|
|
@@ -104,3 +104,9 @@
|
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
.sortable-table tbody tr.group-row td:first-of-type {
|
|
110
|
+
background-color: var(--sortable-table-bg) !important;
|
|
111
|
+
}
|
|
112
|
+
|