2021-06-03 20:00:43 +08:00
|
|
|
// scss-lint:disable SelectorDepth NestingDepth
|
|
|
|
|
|
|
|
.webhooks-index {
|
|
|
|
.webhooks-description {
|
|
|
|
@include font-main;
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.activity-filters-list {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter-element {
|
|
|
|
border-left: 3px solid $color-concrete;
|
|
|
|
list-style: none;
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter-block {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
padding-left: 1em;
|
|
|
|
|
|
|
|
.fa-caret-down {
|
|
|
|
cursor: pointer;
|
|
|
|
margin-right: 1em;
|
|
|
|
|
|
|
|
&.collapsed {
|
|
|
|
@include rotate(-90deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.create-webhook {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter-name {
|
|
|
|
@include font-h3;
|
|
|
|
margin-right: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info-container {
|
|
|
|
.dropdown-menu {
|
|
|
|
padding: .5em;
|
|
|
|
width: 400px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter-info-title {
|
|
|
|
@include font-small;
|
|
|
|
padding-left: .25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tags-list {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
.filter-info-tag {
|
|
|
|
@include font-small;
|
|
|
|
background: $color-concrete;
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin: .25em;
|
|
|
|
padding: .25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-09 18:53:11 +08:00
|
|
|
.webhooks-list {
|
|
|
|
list-style: none;
|
2021-08-16 16:51:46 +08:00
|
|
|
padding-top: .5em;
|
2021-06-09 18:53:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.webhook-form {
|
2021-11-03 22:04:13 +08:00
|
|
|
.webhook-form-row {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2021-06-09 18:53:11 +08:00
|
|
|
|
2021-11-03 22:04:13 +08:00
|
|
|
.form-group {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2021-06-09 18:53:11 +08:00
|
|
|
|
2021-11-03 22:04:13 +08:00
|
|
|
.form-text {
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
2021-06-09 18:53:11 +08:00
|
|
|
|
2021-11-03 22:04:13 +08:00
|
|
|
.webhook-form-trigger-text,
|
|
|
|
.webhook-form-secret-key-text {
|
|
|
|
flex-basis: 120px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.webhook-method-container,
|
|
|
|
.webhook-secret-key-container {
|
|
|
|
margin: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.webhook-secret-key-container {
|
|
|
|
flex-basis: 400px;
|
|
|
|
}
|
2021-06-09 18:53:11 +08:00
|
|
|
|
2021-11-03 22:04:13 +08:00
|
|
|
.url-input-container {
|
|
|
|
margin: .5em;
|
|
|
|
}
|
2021-06-09 18:53:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.webhook {
|
2021-08-16 16:51:46 +08:00
|
|
|
border-top: $border-tertiary;
|
|
|
|
padding: .5em 0;
|
|
|
|
|
2021-06-09 18:53:11 +08:00
|
|
|
.view-mode {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.method {
|
|
|
|
margin: 0 .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.webhook-text {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.active-webhook,
|
|
|
|
.disabled-webhook {
|
|
|
|
flex-basis: 110px;
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-left: auto;
|
|
|
|
padding: 0 1em;
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
.fas {
|
|
|
|
margin-right: .25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.active-webhook {
|
|
|
|
color: $brand_success;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
@include font-button;
|
|
|
|
|
|
|
|
.fas {
|
|
|
|
margin-right: .25em;
|
|
|
|
}
|
2021-08-16 16:51:46 +08:00
|
|
|
|
|
|
|
.divider-label {
|
|
|
|
@include font-small;
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
padding-left: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
border-radius: unset;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: .5em 1em;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $color-concrete;
|
|
|
|
}
|
|
|
|
}
|
2021-06-09 18:53:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.active) {
|
|
|
|
.view-mode {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-03 20:00:43 +08:00
|
|
|
#deleteFilterModal {
|
|
|
|
.delete-filter-form {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|