dashboard-shell-shell 3.0.5-test.4 → 3.0.5-test.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. package/assets/brand/harvester/favicon.png +0 -0
  2. package/assets/brand/suse/favicon.png +0 -0
  3. package/assets/images/pl/half-logo.svg +23 -2
  4. package/assets/images/pl/harvester.png +0 -0
  5. package/assets/styles/app.scss +0 -4
  6. package/assets/styles/base/_basic.scss +2 -2
  7. package/assets/styles/base/_mixins.scss +1 -1
  8. package/assets/styles/base/_typography.scss +1 -2
  9. package/assets/styles/base/_variables.scss +4 -11
  10. package/assets/styles/global/_button.scss +27 -45
  11. package/assets/styles/global/_columns.scss +1 -3
  12. package/assets/styles/global/_form.scss +13 -45
  13. package/assets/styles/global/_labeled-input.scss +26 -54
  14. package/assets/styles/global/_layout.scss +3 -8
  15. package/assets/styles/global/_select.scss +17 -25
  16. package/assets/styles/global/_table.scss +1 -7
  17. package/assets/styles/global/_tooltip.scss +6 -54
  18. package/assets/styles/themes/_dark.scss +0 -3
  19. package/assets/styles/themes/_light.scss +42 -63
  20. package/assets/styles/vendor/vue-select.scss +9 -22
  21. package/assets/translations/en-us.yaml +4 -28
  22. package/assets/translations/zh-hans.yaml +189 -376
  23. package/components/ActionDropdown.vue +1 -2
  24. package/components/ActionMenu.vue +2 -2
  25. package/components/ActionMenuShell.vue +0 -2
  26. package/components/AppModal.vue +5 -46
  27. package/components/BrandImage.vue +0 -1
  28. package/components/ButtonDropdown.vue +4 -26
  29. package/components/ButtonMultiAction.vue +0 -1
  30. package/components/ClusterIconMenu.vue +1 -1
  31. package/components/CodeMirror.vue +6 -20
  32. package/components/ConsumptionGauge.vue +5 -24
  33. package/components/CruResource.vue +8 -9
  34. package/components/CruResourceFooter.vue +2 -2
  35. package/components/DashboardOptions.vue +17 -29
  36. package/components/ExplorerProjectsNamespaces.vue +5 -19
  37. package/components/GlobalRoleBindings.vue +48 -112
  38. package/components/GrafanaDashboard.vue +4 -4
  39. package/components/GrowlManager.vue +1 -3
  40. package/components/HardwareResourceGauge.vue +3 -39
  41. package/components/IndentedPanel.vue +10 -4
  42. package/components/InfoBox.vue +3 -3
  43. package/components/InputOrDisplay.vue +2 -28
  44. package/components/LabelValue.vue +1 -20
  45. package/components/ModalWithCard.vue +3 -12
  46. package/components/PodSecurityAdmission.vue +1 -1
  47. package/components/PromptModal.vue +1 -1
  48. package/components/PromptRemove.vue +11 -30
  49. package/components/ResourceDetail/Masthead/legacy.vue +38 -181
  50. package/components/ResourceDetail/legacy.vue +13 -29
  51. package/components/ResourceList/Masthead.vue +54 -226
  52. package/components/ResourceList/ResourceLoadingIndicator.vue +2 -5
  53. package/components/ResourceTable.vue +2 -24
  54. package/components/SideNav.vue +20 -74
  55. package/components/SortableTable/THead.vue +3 -33
  56. package/components/SortableTable/index.vue +464 -1017
  57. package/components/SortableTable/paging.js +16 -26
  58. package/components/SortableTable/selection.js +2 -2
  59. package/components/Tabbed/Tab.vue +3 -3
  60. package/components/Tabbed/index.vue +29 -47
  61. package/components/YamlEditor.vue +1 -0
  62. package/components/auth/Principal.vue +12 -36
  63. package/components/auth/RoleDetailEdit.vue +7 -58
  64. package/components/auth/SelectPrincipal.vue +0 -1
  65. package/components/form/ArrayList.vue +33 -41
  66. package/components/form/ArrayListGrouped.vue +2 -10
  67. package/components/form/ArrayListSelect.vue +1 -1
  68. package/components/form/BannerSettings.vue +59 -64
  69. package/components/form/ChangePassword.vue +4 -4
  70. package/components/form/ColorInput.vue +8 -32
  71. package/components/form/Footer.vue +8 -11
  72. package/components/form/InputWithSelect.vue +5 -8
  73. package/components/form/KeyValue.vue +7 -47
  74. package/components/form/LabeledSelect.vue +241 -212
  75. package/components/form/Labels.vue +3 -3
  76. package/components/form/MatchExpressions.vue +7 -24
  77. package/components/form/Members/ClusterPermissionsEditor.vue +2 -1
  78. package/components/form/Members/MembershipEditor.vue +1 -1
  79. package/components/form/NameNsDescription.vue +20 -59
  80. package/components/form/Password.vue +7 -16
  81. package/components/form/PodAffinity.vue +5 -4
  82. package/components/form/ResourceQuota/Namespace.vue +4 -4
  83. package/components/form/ResourceQuota/NamespaceRow.vue +17 -18
  84. package/components/form/ResourceQuota/Project.vue +4 -4
  85. package/components/form/ResourceQuota/ProjectRow.vue +6 -3
  86. package/components/form/Select.vue +2 -5
  87. package/components/form/SimpleSecretSelector.vue +9 -29
  88. package/components/form/UnitInput.vue +3 -8
  89. package/components/formatter/BadgeStateFormatter.vue +5 -8
  90. package/components/formatter/LiveDate.vue +3 -3
  91. package/components/nav/Favorite.vue +1 -5
  92. package/components/nav/Group.vue +99 -132
  93. package/components/nav/Header.vue +27 -124
  94. package/components/nav/HeaderPageActionMenu.vue +0 -1
  95. package/components/nav/NamespaceFilter.vue +15 -19
  96. package/components/nav/TopLevelMenu.vue +119 -182
  97. package/components/nav/Type.vue +41 -63
  98. package/composables/useClickOutside.ts +1 -1
  99. package/config/private-label.js +11 -15
  100. package/config/product/auth.js +7 -17
  101. package/config/product/settings.js +9 -19
  102. package/config/settings.ts +0 -28
  103. package/config/table-headers.js +2 -3
  104. package/dialog/ForceMachineRemoveDialog.vue +2 -2
  105. package/dialog/ScalePoolDownDialog.vue +2 -2
  106. package/edit/management.cattle.io.user.vue +4 -17
  107. package/edit/monitoring.coreos.com.alertmanagerconfig/auth.vue +19 -19
  108. package/edit/monitoring.coreos.com.alertmanagerconfig/receiverConfig.vue +31 -31
  109. package/edit/monitoring.coreos.com.alertmanagerconfig/routeConfig.vue +12 -36
  110. package/edit/monitoring.coreos.com.alertmanagerconfig/types/email.vue +6 -6
  111. package/edit/monitoring.coreos.com.alertmanagerconfig/types/opsgenie.vue +10 -10
  112. package/edit/monitoring.coreos.com.alertmanagerconfig/types/pagerduty.vue +4 -4
  113. package/edit/monitoring.coreos.com.alertmanagerconfig/types/slack.vue +4 -4
  114. package/edit/monitoring.coreos.com.alertmanagerconfig/types/webhook.vue +1 -1
  115. package/edit/monitoring.coreos.com.receiver/types/email.vue +6 -6
  116. package/edit/monitoring.coreos.com.receiver/types/opsgenie.vue +10 -10
  117. package/edit/monitoring.coreos.com.receiver/types/pagerduty.vue +5 -5
  118. package/edit/monitoring.coreos.com.receiver/types/slack.vue +4 -4
  119. package/edit/namespace.vue +2 -1
  120. package/edit/token.vue +12 -31
  121. package/edit/workload/index.vue +1 -1
  122. package/list/management.cattle.io.setting.vue +13 -22
  123. package/list/management.cattle.io.user.vue +3 -7
  124. package/list/namespace.vue +0 -3
  125. package/list/provisioning.cattle.io.cluster.vue +7 -6
  126. package/mixins/brand.js +0 -17
  127. package/package.json +1 -1
  128. package/pages/account/index.vue +12 -74
  129. package/pages/auth/login.vue +51 -214
  130. package/pages/auth/setup.vue +19 -142
  131. package/pages/c/_cluster/_product/namespaces.vue +4 -4
  132. package/pages/c/_cluster/auth/roles/index.vue +1 -19
  133. package/pages/c/_cluster/monitoring/monitor/index.vue +2 -2
  134. package/pages/c/_cluster/settings/banners.vue +102 -174
  135. package/pages/c/_cluster/settings/brand.vue +302 -350
  136. package/pages/c/_cluster/settings/performance.vue +38 -61
  137. package/pages/home.vue +30 -70
  138. package/pages/prefs.vue +25 -27
  139. package/promptRemove/mixin/roleDeletionCheck.js +2 -2
  140. package/public/index.html +4 -4
  141. package/rancher-components/BadgeState/BadgeState.vue +4 -6
  142. package/rancher-components/Banner/Banner.vue +8 -12
  143. package/rancher-components/Card/Card.vue +8 -7
  144. package/rancher-components/Form/Checkbox/Checkbox.vue +0 -4
  145. package/rancher-components/Form/LabeledInput/LabeledInput.vue +3 -42
  146. package/rancher-components/Form/Radio/RadioButton.vue +11 -35
  147. package/rancher-components/Form/Radio/RadioGroup.vue +5 -13
  148. package/rancher-components/Form/TextArea/TextAreaAutoGrow.vue +3 -3
  149. package/rancher-components/Form/ToggleSwitch/ToggleSwitch.vue +0 -1
  150. package/rancher-components/LabeledTooltip/LabeledTooltip.vue +4 -12
  151. package/rancher-components/RcDropdown/RcDropdown.vue +7 -35
  152. package/rancher-components/RcDropdown/RcDropdownItem.vue +2 -2
  153. package/rancher-components/RcDropdown/RcDropdownMenu.vue +4 -9
  154. package/rancher-components/RcDropdown/types.ts +0 -1
  155. package/rancher-components/StringList/StringList.vue +1 -1
  156. package/static/favicon.ico +0 -0
  157. package/static/favicon.png +0 -0
  158. package/static/loading-indicator.html +3 -3
  159. package/store/i18n.js +2 -2
  160. package/store/modal.ts +3 -3
  161. package/store/prefs.js +4 -11
  162. package/store/type-map.js +2 -32
  163. package/types/shell/index.d.ts +67 -74
  164. package/utils/error.js +8 -87
  165. package/utils/router.js +0 -21
  166. package/utils/select.js +3 -26
  167. package/utils/string.js +5 -8
  168. package/utils/title.ts +1 -1
  169. package/assets/icons/demo.css +0 -539
  170. package/assets/icons/demo.css:Zone.Identifier +0 -0
  171. package/assets/icons/demo_index.html +0 -1131
  172. package/assets/icons/demo_index.html:Zone.Identifier +0 -0
  173. package/assets/icons/iconfont.css +0 -216
  174. package/assets/icons/iconfont.css:Zone.Identifier +0 -0
  175. package/assets/icons/iconfont.js +0 -1
  176. package/assets/icons/iconfont.js:Zone.Identifier +0 -0
  177. package/assets/icons/iconfont.json +0 -324
  178. package/assets/icons/iconfont.json:Zone.Identifier +0 -0
  179. package/assets/icons/iconfont.ttf +0 -0
  180. package/assets/icons/iconfont.ttf:Zone.Identifier +0 -0
  181. package/assets/icons/iconfont.woff +0 -0
  182. package/assets/icons/iconfont.woff2 +0 -0
  183. package/assets/icons/iconfont.woff2:Zone.Identifier +0 -0
  184. package/assets/icons/iconfont.woff:Zone.Identifier +0 -0
  185. package/assets/images/API.svg +0 -3
  186. package/assets/images/action.svg +0 -6
  187. package/assets/images/login/password.svg +0 -20
  188. package/assets/images/login/user.svg +0 -6
  189. package/assets/images/login-bg.png +0 -0
  190. package/assets/images/login-left.png +0 -0
  191. package/assets/images/login-logo.svg +0 -19
  192. package/assets/images/logo.png +0 -0
  193. package/assets/images/pl/logo.png +0 -0
  194. package/assets/images/promp-yellow.svg +0 -5
  195. package/assets/images/user.png +0 -0
  196. package/assets/styles/all.scss +0 -63
  197. package/components/DotState.vue +0 -84
  198. package/utils/errorTranslate.json +0 -1336
Binary file
Binary file
@@ -1,2 +1,23 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" width="32px" height="32px" viewBox="0 0 32 32" enable-background="new 0 0 32 32" xml:space="preserve" class=""><script xmlns=""/> <image id="image0" width="32" height="32" x="0" y="0" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAIGNIUk0AAHomAACAhAAA+gAAAIDo AAB1MAAA6mAAADqYAAAXcJy6UTwAAAGSUExURQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAMxmAPmXHfiaG/9VAAAAAAAAAAAAAAAAAPOXF/WYIvWaIfaaIvSYIu6Z EQAAAP//APaXHPWYIPWaIvWZIvWaIvWZIveYIf+eGP8AAPSXIPWaIvWaIvWaIvWZIvWZIfWWHeiL APSaIvSZIf+LF/WaIvWaIv+ZGvSZIvSaIv+AAPOXIPWZIvWaIfaYIP+ZAPSZIPWZIPSZIPWZI/Wa I/aaIfOYIPWZIf+AAPaaIvaZI/SZIvWXIfWYIPWZIvSZIvWYH/eZIfaZIfaaIvWZIt+AAPSZIfaa IvWaIfOXIPaXHfSaIfWaI/WaIvaZIfWZH/WaIvaaIvWZI/WaIvWaIvWZIvSYIfOSGPCHD/eZIfWa IvWaI/aaIvaaIP+VFQAAAAAAAAAAAAAAAPmaHvWaIfWaIfKaGwAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPWaI////xwk1LwAAACDdFJOUwCb9/7EIPj93i7dzFU5 HQUsJgNUy68IFoHe13IPBwEbaNT9/MpcFQFg0fj+9shOC9nBC9vDCtW9BGnSx1kKqGaO+/nXgaAC 2vPBe4bi2nx9xvXLCLz5sFhYuvv3rBnM/evt+sVeFRF64PrbbwzNW0EhK4N8JiJDXPrfKCrhovy9 HL6jAx1MpAAAAAFiS0dEhRXXaucAAAAHdElNRQfpCA4DCx42jYbpAAABHUlEQVQ4y2NgGBmAkYmZ ubm5mZmFFVmUlQUsyMzEyMDWDALsHJyo+ji52MESbAwgldw8vHwQcX4BQSEIi49XWARkCFiBqBhU n7iEpJS0DJQjKwoyAkmBnLyColJLi7KKqpo6NgVyGppa2i1AoK2jq4dNgb5BCwxoG2JTYGQMV9Bi gk2BqZk23ARzbAosLK2UIPLK1jbYFNja2TtIOmprOzm7WLq6YXODu4enl7ePr59/QGAQNgXBIVra oWHhEZFR2tEx6tgCKtY+zjE+IVE7KTklFWtIMjCkpWc4ZmZl52AEdW5efgFYzK2wqLgEHM4MpWXl ueDIqgDHKnNlFWp0V9cwgyUqGGqZmOtAoL4BWZ6vsQIE2NmaBjpB0wkAADZsgegw4PySAAAAJXRF WHRkYXRlOmNyZWF0ZQAyMDI1LTA4LTE0VDAzOjExOjI3KzAwOjAwCSfqsAAAACV0RVh0ZGF0ZTpt b2RpZnkAMjAyNS0wOC0xNFQwMzoxMToyNyswMDowMHh6UgwAAAAodEVYdGRhdGU6dGltZXN0YW1w ADIwMjUtMDgtMTRUMDM6MTE6MzArMDA6MDAmYk3DAAAAAElFTkSuQmCC"/>
2
- <script xmlns=""/></svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 24.1.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 89.6399918 80.5510254" style="enable-background:new 0 0 89.6399918 80.5510254;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#FFFFFF;}
7
+ </style>
8
+ <g>
9
+ <path class="st0" d="M63.2230225,8.25H45.4490356c-0.1480103,0-0.3010254,0-0.4490356,0H26.6990356
10
+ c-0.2260132,0-0.4490356,0-0.6010132,0.0740356V6.6019897C26.0980225,3,25.1990356,0,24.0740356,0
11
+ S21.5980225,2.9260254,21,6.5230103l-1.875,11.1760254c-0.6019897,3.6019897,1.875,6.5279541,5.5510254,6.5279541H35.625
12
+ c1.125,0,2.1760254-0.1529541,3.1480103-0.4539795c-0.375,1.875-1.9489746,3.3010254-3.9719849,3.3010254h-15.375
13
+ c-2.4769897,0-4.3519897-2.25-3.9769897-4.7220459l1.5739746-9.375C17.3980103,10.5,15.5230103,8.25,13.0510254,8.25H0v47.8519897
14
+ h20.625c2.25,0,4.0510254,1.7960205,4.0510254,4.0460205V76.5c0,2.25,1.7969971,4.0510254,4.0469971,4.0510254h21.75
15
+ c2.25,0,4.0499878-1.8010254,4.0499878-4.0510254V58.9490356H42.9730225c-3.5980225,0-6.5980225-3-6.5980225-6.5970459V41.0230103
16
+ c0-2.1710205,1.0510254-4.0460205,2.625-5.25v13.5C39,52.875,42,55.875,45.5980225,55.875H63.375
17
+ c3.5980225,0,6.5980225-3,6.5980225-6.6019897V14.9260254C69.8240356,11.1760254,66.8980103,8.25,63.2230225,8.25z"/>
18
+ <path class="st0" d="M89.5510254,17.6990356l-1.875-11.1760254C87.0740356,2.9260254,85.6480103,0,84.5980225,0
19
+ c-1.125,0-2.0239868,3-2.0239868,6.6019897v2.9210205c0,3.6019897-3,6.6019897-6.6010132,6.6019897h-2.9219971
20
+ c-0.2269897,0-0.4530029,0-0.6019897,0v8.0230103c0.2269897,0,0.4489746,0,0.6019897,0h11.0230103
21
+ C87.6760254,24.1480103,90.1480103,21.2269897,89.5510254,17.6990356z"/>
22
+ </g>
23
+ </svg>
Binary file
@@ -33,7 +33,3 @@
33
33
 
34
34
  @import "./vendor/vue-select";
35
35
  @import "./vendor/code-mirror";
36
-
37
- @import './all.scss';
38
- @import '../icons/iconfont.css';
39
-
@@ -98,8 +98,8 @@ A {
98
98
 
99
99
  &:hover,
100
100
  &:active {
101
- text-decoration: none;
102
- color: var(--link);
101
+ text-decoration: underline;
102
+ color: var(--body-text);
103
103
  }
104
104
 
105
105
  &:focus-visible {
@@ -159,5 +159,5 @@
159
159
  @mixin focus-outline {
160
160
  // Focus for form like elements (not to be confused with basic :focus style)
161
161
  // we need to use !important because it needs to superseed other classes that might impact outlines
162
- // outline: 2px solid var(--primary-keyboard-focus);
162
+ outline: 2px solid var(--primary-keyboard-focus);
163
163
  }
@@ -1,6 +1,6 @@
1
1
  HTML, BODY {
2
2
  font-family: $body-font;
3
- font-size: 12px;
3
+ font-size: 14px;
4
4
  }
5
5
 
6
6
  H1, H2, H3, H4, H5, H6 {
@@ -24,7 +24,6 @@ H3 {
24
24
 
25
25
  H4 {
26
26
  font-size: 16px;
27
- margin: 0px;
28
27
  }
29
28
 
30
29
  H5 {
@@ -1,7 +1,5 @@
1
- // $header-font: 'Poppins', sans-serif;
2
- $header-font: 'Microsoft YaHei';
3
- // $body-font: 'Lato', arial, helvetica, sans-serif;
4
- $body-font: 'Microsoft YaHei';
1
+ $header-font: 'Poppins', sans-serif;
2
+ $body-font: 'Lato', arial, helvetica, sans-serif;
5
3
  $mono-font: 'Roboto Mono', monospace;
6
4
 
7
5
  $app-bar-collapsed-width: 70px;
@@ -12,14 +10,9 @@ $unlabeled-input-height: 40px;
12
10
  $unlabaled-select-padding: 3px 0;
13
11
  $footer-height: 60px;
14
12
 
15
- $input-height: 32px;
16
- $unlabeled-input-height: 32px;
17
- $input-width: 400px;
18
-
19
-
20
13
  $input-padding-lg: 18px;
21
14
  $input-padding-sm: 10px;
22
- $input-line-height: 32px;
15
+ $input-line-height: 18px;
23
16
 
24
17
  $column-gutter: 1.75%;
25
18
 
@@ -81,4 +74,4 @@ $font-size-h2: 21px;
81
74
  // Global spacing variables
82
75
  $space-s: 10px;
83
76
  $space-m: 20px;
84
- $space-l: 40px;
77
+ $space-l: 40px;
@@ -1,7 +1,7 @@
1
- $btn-padding: 0 10px;
1
+ $btn-padding: 0 21px 0 21px;
2
2
  $btn-sm-padding: 0 7px 0 7px;
3
- $btn-height: 32px;
4
- $btn-sm-height: 32px;
3
+ $btn-height: 40px;
4
+ $btn-sm-height: 30px;
5
5
 
6
6
  // -----------------------------------------------------------------------------
7
7
  // This file contains all styles related to the button component.
@@ -22,12 +22,9 @@ 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 !important;
27
- height: $btn-height !important;
28
- min-width: 100px;
29
- justify-content: center;
30
-
25
+ color: var(--lightest);
26
+ line-height: $btn-height;
27
+ min-height: $btn-height;
31
28
 
32
29
  > .icon:not(:only-child) {
33
30
  margin-right: 6px;
@@ -35,7 +32,7 @@ button,
35
32
 
36
33
  &:hover {
37
34
  text-decoration: none;
38
- // color: var(--lightest);
35
+ color: var(--lightest);
39
36
  }
40
37
 
41
38
  &.bg-transparent {
@@ -43,10 +40,6 @@ button,
43
40
  }
44
41
  }
45
42
 
46
- .bg-primary {
47
- color: var(--lightest);
48
- }
49
-
50
43
  //icon button
51
44
  .icon-btn {
52
45
  padding: 0;
@@ -67,8 +60,7 @@ button,
67
60
  .btn-sm .btn-label {
68
61
  padding: $btn-sm-padding;
69
62
  min-height: $btn-sm-height;
70
- line-height: 32px;
71
- min-width: 100px;
63
+ line-height: 28px;
72
64
  }
73
65
 
74
66
  //btn roles
@@ -77,9 +69,8 @@ button,
77
69
  color: var(--primary-text);
78
70
 
79
71
  &:hover, &._hover {
80
- // background-color: var(--primary-hover-bg);
72
+ background-color: var(--primary-hover-bg);
81
73
  color: var(--primary-text);
82
- box-shadow: 0 4px 6px 0 rgba(0,0,0,.2)!important;
83
74
  }
84
75
 
85
76
  &:focus, &.focused {
@@ -95,25 +86,17 @@ button,
95
86
 
96
87
  .role-secondary {
97
88
  background: transparent;
98
- color: var(--input-label) !important;
99
- // border: solid 1px var(--primary);
100
- border: solid 1px #d9d9d9;
89
+ color: var(--primary) !important;
90
+ border: solid 1px var(--primary);
101
91
  line-height: $btn-height - 2px;
102
- min-width: 100px;
103
92
 
104
93
  &:hover, &._hover {
105
- // color: var(--lightest) !important;
106
- color: var(--input-label) !important;
107
- box-shadow: 0 4px 6px 0 rgba(0,0,0,.2)!important;
94
+ color: var(--lightest) !important;
108
95
  }
109
96
 
110
97
  &:focus, &.focused {
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;
98
+ background-color: var(--primary-hover-bg);
99
+ color: var(--primary-text) !important;
117
100
  }
118
101
 
119
102
  &.btn-sm {
@@ -123,6 +106,11 @@ button,
123
106
  border: 0;
124
107
  }
125
108
  }
109
+
110
+ &:focus-visible {
111
+ @include focus-outline;
112
+ outline-offset: 2px;
113
+ }
126
114
  }
127
115
 
128
116
  .role-tertiary {
@@ -130,11 +118,9 @@ button,
130
118
  border: solid 1px var(--primary);
131
119
  color: var(--primary);
132
120
 
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);
121
+ &:focus, &.focused {
122
+ background-color: var(--primary-hover-bg);
123
+ color: var(--primary-text);
138
124
  }
139
125
 
140
126
  &.btn:not(.btn-sm) {
@@ -152,8 +138,7 @@ button,
152
138
  color: var(--link);
153
139
 
154
140
  &:hover, &._hover {
155
- // color: var(--lightest);
156
- color: var(--link);
141
+ color: var(--lightest);
157
142
  }
158
143
 
159
144
  &:focus, &.focused {
@@ -169,13 +154,10 @@ button,
169
154
  }
170
155
 
171
156
  .role-multi-action {
172
- // background: var(--accent-btn);
173
- // border: solid thin var(--primary);
174
- color: var(--primary) !important;
175
- border-radius: 2px;
176
- min-width: 32px;
177
- height: 32px;
178
- width: 32px;
157
+ background: var(--accent-btn);
158
+ border: solid thin var(--primary);
159
+ color: var(--primary);
160
+ border-radius: 2px;
179
161
  }
180
162
 
181
163
  .icon-group i {
@@ -17,8 +17,7 @@ $DEFAULT_COLUMNS: 12;
17
17
  /* COLUMN SETUP */
18
18
  .col {
19
19
  flex: 0 0 auto;
20
- margin-bottom: 24px;
21
- // margin: 0 $column-gutter 0 0;
20
+ margin: 0 $column-gutter 0 0;
22
21
 
23
22
  &:last-child {
24
23
  margin-right: 0;
@@ -33,7 +32,6 @@ $DEFAULT_COLUMNS: 12;
33
32
  /* ROWS */
34
33
  .row {
35
34
  display: flex;
36
- flex-wrap: wrap;
37
35
  // margin-bottom: 20px;
38
36
 
39
37
  &--y-center {
@@ -19,18 +19,17 @@ TEXTAREA,
19
19
  display: block;
20
20
  box-sizing: border-box;
21
21
  width: 100%;
22
- // padding: 4px 11px;
23
- // border-radius: var(--border-radius);
24
-
25
- color: var(--input-text);
22
+ padding: $input-padding-sm;
26
23
  background-color: var(--input-bg);
24
+ border-radius: var(--border-radius);
27
25
  border: solid var(--border-width) var(--input-border);
28
-
26
+ color: var(--input-text);
29
27
 
30
28
  @include input-status-color;
31
29
 
32
- &:focus, &.focused {
33
- @include form-focus
30
+ &:focus:not(.labeled-input):not(.unlabeled-select):not(.labeled-select),
31
+ &.focused:not(.labeled-input):not(.unlabeled-select):not(.labeled-select) {
32
+ @include form-focus;
34
33
  }
35
34
 
36
35
  LABEL {
@@ -56,7 +55,7 @@ TEXTAREA,
56
55
  color: var(--input-disabled-text);
57
56
  background-color: var(--input-disabled-bg);
58
57
  outline-width: 0;
59
- // border-color: var(--input-disabled-border);
58
+ border-color: var(--input-disabled-border);
60
59
  cursor: not-allowed;
61
60
  label {
62
61
  color: var(--input-disabled-label);
@@ -68,54 +67,30 @@ TEXTAREA,
68
67
  }
69
68
  }
70
69
 
71
-
72
70
  LABEL {
73
71
  margin: $spacing 0 0 0;
74
72
  }
75
73
  }
76
74
 
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
-
90
75
  INPUT[type='search']:not(.vs__search) {
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;
76
+ padding: calc(#{$input-padding-sm} + 2px);
99
77
  }
100
78
 
101
79
  TEXTAREA {
102
- padding: 6px 11px;
80
+ padding: $input-padding-lg 10px 10px 10px;
103
81
  line-height: $input-line-height;
104
- border: solid var(--border-width) var(--input-border);
105
82
  }
106
83
 
107
84
  FORM {
108
- LABEL {
85
+ LABEL, .key-value-label {
109
86
  color: var(--input-label);
110
87
  display: inline-block;
111
- // margin: $spacing 0 $spacing 0;
88
+ margin: $spacing 0 $spacing 0;
112
89
  font-size: 12px;
113
- .required{
114
- color: red;
115
- }
90
+
116
91
  .radio-label,
117
92
  .checkbox-label {
118
- font-size: 12px;
93
+ font-size: 14px;
119
94
  }
120
95
 
121
96
  &.radio, &.checkbox {
@@ -169,10 +144,3 @@ INPUT.inline-input {
169
144
  .fixed select, .fixed.v-select, .fixed input:not(.vs__search){
170
145
  height: 50px;
171
146
  }
172
-
173
-
174
- INPUT:not([type]){
175
- border: solid var(--border-width) var(--input-border);
176
- height: 32px;
177
- padding: 4px 11px;
178
- }
@@ -1,16 +1,13 @@
1
1
  .labeled-input {
2
2
  position: relative;
3
- display: table;
3
+ display: flex;
4
4
  border-collapse: separate;
5
5
  min-height: $input-height;
6
- width: $input-width;
7
- // flex: 1;
8
6
  z-index: 0; // Prevent label from cover other elements outside of the input
9
- height: $input-height;
10
7
 
11
8
  &.compact-input {
12
9
  min-height: $unlabeled-input-height;
13
- // padding: 0 10px;
10
+ padding: 0 10px;
14
11
 
15
12
  INPUT.no-label {
16
13
  line-height: $input-line-height;
@@ -29,7 +26,7 @@
29
26
  width: calc(100% - 20px);
30
27
 
31
28
  i {
32
- pointer-events: initial
29
+ pointer-events: initial;
33
30
  }
34
31
  }
35
32
 
@@ -50,7 +47,7 @@
50
47
  INPUT,
51
48
  SELECT {
52
49
  position: relative;
53
- font-size: 12px;
50
+ font-size: 14px;
54
51
  display: block;
55
52
  width: 100%;
56
53
  }
@@ -64,27 +61,24 @@
64
61
  user-select: none;
65
62
  }
66
63
 
67
- INPUT, INPUT:hover, INPUT:focus,
68
- TEXTAREA, TEXTAREA:hover, TEXTAREA:focus,
69
- SELECT, SELECT:hover, SELECT:focus {
64
+ INPUT,
65
+ INPUT:hover,
66
+ INPUT:focus,
67
+ TEXTAREA,
68
+ TEXTAREA:hover,
69
+ TEXTAREA:focus,
70
+ SELECT,
71
+ SELECT:hover,
72
+ SELECT:focus {
70
73
  border: none;
71
74
  background-color: transparent;
72
75
  outline: 0;
73
76
  box-shadow: none;
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
- }
77
+ padding: $input-padding-lg 0 0 0;
78
+ line-height: calc(#{$input-line-height} + 1px);
79
+
86
80
  &.no-label {
87
- // padding: $input-padding-sm 0px $input-padding-sm 0px;
81
+ padding: $input-padding-sm 0px $input-padding-sm 0px;
88
82
  }
89
83
  }
90
84
 
@@ -103,7 +97,7 @@
103
97
 
104
98
  .addon,
105
99
  .addon.btn {
106
- display: table-cell;
100
+ display: flex;
107
101
  align-items: center;
108
102
  justify-content: center;
109
103
  white-space: nowrap;
@@ -112,27 +106,17 @@
112
106
  }
113
107
 
114
108
  .addon {
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;
109
+ padding: 6px 12px;
110
+ font-size: 14px;
123
111
  font-weight: normal;
124
112
  line-height: 1;
125
113
  text-align: center;
126
- position: absolute;
127
- top: 5px;
128
- right: 5px;
129
- // background-color: #fff;
114
+ border-left: solid thin var(--input-border);
130
115
  }
131
116
  }
132
117
 
133
118
  &.suffix INPUT {
134
- padding-right: 0px;
135
- width: $input-width;
119
+ padding-right: 8px;
136
120
  }
137
121
 
138
122
  .cron-label,
@@ -140,29 +124,17 @@
140
124
  position: absolute;
141
125
  top: 100%;
142
126
  width: 100%;
143
- // padding-top: 5px;
144
- padding-top: 0px;
127
+ padding-top: 5px;
145
128
  left: 0;
146
- width: 400px !important;
147
- color: var(--outline);
148
- // color: var(--input-label);
149
- pointer-events:initial;
129
+ color: var(--input-label);
130
+ pointer-events: initial;
150
131
  }
151
132
 
152
133
  .validation-message,
153
134
  .sub-label.validation-message {
154
135
  color: var(--error);
155
136
  }
156
- }
157
137
 
158
- .TEXTAREA, TEXTAREA:hover, TEXTAREA:focus{
159
- border: solid var(--border-width) var(--input-border);
160
- }
161
138
 
162
- @media(max-width:1400px) {
163
- .labeled-input{
164
- &.suffix INPUT {
165
- width: 370px;
166
- }
167
- }
139
+
168
140
  }
@@ -2,7 +2,7 @@
2
2
  .main-layout {
3
3
  grid-area: main;
4
4
  overflow: auto;
5
- overflow-x: hidden;
5
+
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: 0px;
40
- // align-self: center;
39
+ margin-left: 8px;
40
+ align-self: center;
41
41
  text-align: right;
42
42
 
43
43
  &.align-start {
@@ -47,10 +47,6 @@ 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
- }
54
50
  }
55
51
  }
56
52
 
@@ -73,7 +69,6 @@ HEADER {
73
69
  display: grid;
74
70
  position: relative;
75
71
  flex: 1 1 auto;
76
- overflow-y: auto;
77
72
  min-height: 0px;
78
73
 
79
74
  &.dashboard-padding-left {