|
@@ -34,7 +34,6 @@ label.custom-control-label {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//lg
|
|
//lg
|
|
|
-
|
|
|
|
|
.grw-slack-notification {
|
|
.grw-slack-notification {
|
|
|
.custom-switch.custom-switch-lg {
|
|
.custom-switch.custom-switch-lg {
|
|
|
$custom-control-indicator-size-lg: $custom-control-indicator-size * 1.5;
|
|
$custom-control-indicator-size-lg: $custom-control-indicator-size * 1.5;
|
|
@@ -72,3 +71,41 @@ label.custom-control-label {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+.grw-custom-switch-slack {
|
|
|
|
|
+ $input-height-slack: 1.8rem;
|
|
|
|
|
+
|
|
|
|
|
+ border-style: solid;
|
|
|
|
|
+ border-width: 1px;
|
|
|
|
|
+ border-radius: $input-height-slack/2 2px 2px $input-height-slack/2;
|
|
|
|
|
+
|
|
|
|
|
+ .custom-control-label {
|
|
|
|
|
+ &::after {
|
|
|
|
|
+ background-image: url(/images/icons/slack/slack-logo-off.svg);
|
|
|
|
|
+ background-size: 15px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .custom-control-input:checked ~ .custom-control-label {
|
|
|
|
|
+ &::after {
|
|
|
|
|
+ background-image: url(/images/icons/slack/slack-logo-on.svg);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .input-group-addon {
|
|
|
|
|
+ input {
|
|
|
|
|
+ vertical-align: middle;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .form-control {
|
|
|
|
|
+ width: 80px;
|
|
|
|
|
+ height: $input-height-slack;
|
|
|
|
|
+ border: transparent;
|
|
|
|
|
+ @include media-breakpoint-up(sm) {
|
|
|
|
|
+ width: 130px;
|
|
|
|
|
+ }
|
|
|
|
|
+ @include media-breakpoint-up(md) {
|
|
|
|
|
+ width: 180px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|