@softheon/armature 10.29.3 → 10.30.1

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.
@@ -1138,6 +1138,60 @@ mat-form-field {
1138
1138
  }
1139
1139
  }
1140
1140
 
1141
+ // MatSlideToggle class overrides [START]
1142
+ // https://material.angular.io/components/slide-toggle/api
1143
+ ::ng-deep mat-slide-toggle.sof-slide-toggle {
1144
+ .mat-slide-toggle-bar {
1145
+ height: 20px !important;
1146
+ width: 32px !important;
1147
+ background: #cccccc !important;
1148
+ border: 1px solid #cccccc !important;
1149
+ border-radius: 24px !important;
1150
+ }
1151
+ .mat-slide-toggle-thumb {
1152
+ height: 20px !important;
1153
+ width: 20px !important;
1154
+ border: 1px solid #cccccc !important;
1155
+ border-radius: 24px !important;
1156
+ top: -1px !important;
1157
+ left: -3px !important;
1158
+ }
1159
+ .mat-slide-toggle-thumb-container {
1160
+ top: -1px !important;
1161
+ left: -3px !important;
1162
+ }
1163
+ }
1164
+
1165
+ ::ng-deep mat-slide-toggle.sof-slide-toggle.mat-checked {
1166
+ .mat-slide-toggle-thumb {
1167
+ background-color: #ffffff !important;
1168
+ border: 1px solid mat-color($arm-primary, 500) !important;
1169
+ }
1170
+ .mat-slide-toggle-bar {
1171
+ background: mat-color($arm-primary, 500) !important;
1172
+ border: 1px solid mat-color($arm-primary, 500) !important;
1173
+ }
1174
+ }
1175
+
1176
+ ::ng-deep mat-slide-toggle.sof-slide-toggle.mat-disabled {
1177
+ .mat-slide-toggle-thumb {
1178
+ background-color: #ffffff !important;
1179
+ border: 1px solid #f7f7f7 !important;
1180
+ }
1181
+ .mat-slide-toggle-bar {
1182
+ background: #e9e9e9 !important;
1183
+ border: 1px solid #f7f7f7 !important;
1184
+ }
1185
+ .mat-slide-toggle-content {
1186
+ color: rgba(0, 0, 0, 0.87) !important;
1187
+ }
1188
+ }
1189
+
1190
+ .mat-slide-toggle.mat-disabled {
1191
+ opacity: 1 !important;
1192
+ }
1193
+ // MatSlideToggle class overrides [END]
1194
+
1141
1195
  .mobile-sr-only {
1142
1196
  @media only screen and (max-width: $mat-lt-sm) {
1143
1197
  border: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softheon/armature",
3
- "version": "10.29.3",
3
+ "version": "10.30.1",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },