2018-07-02 23:14:53 -04:00
|
|
|
// Styles for admin/api
|
|
|
|
|
|
|
|
table.web-hooks.grid {
|
|
|
|
td.delivery-status {
|
|
|
|
div {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.d-icon {
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
td.payload-url {
|
|
|
|
word-wrap: break-word;
|
|
|
|
max-width: 55vw;
|
|
|
|
}
|
|
|
|
td.controls {
|
|
|
|
display: flex;
|
|
|
|
button {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 550px) {
|
|
|
|
tbody {
|
|
|
|
tr {
|
|
|
|
grid-template-columns: 0.5fr repeat(2, 1fr) 0.5fr;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.controls {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-07-11 09:57:53 -04:00
|
|
|
@include breakpoint(mobile-extra-large) {
|
2018-07-02 23:14:53 -04:00
|
|
|
tbody {
|
|
|
|
tr {
|
|
|
|
grid-template-columns: 0.5fr 1fr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
td.controls {
|
|
|
|
grid-row: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Api keys
|
|
|
|
|
|
|
|
table.api-keys {
|
|
|
|
margin-bottom: 0.25em;
|
2019-11-05 09:10:23 -05:00
|
|
|
|
|
|
|
.key-controls {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr.revoked {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-medium);
|
2018-07-02 23:14:53 -04:00
|
|
|
}
|
2019-11-05 09:10:23 -05:00
|
|
|
|
2018-07-12 16:38:51 -04:00
|
|
|
@include breakpoint(tablet) {
|
2018-07-02 23:14:53 -04:00
|
|
|
tr {
|
|
|
|
grid-template-columns: 0.25fr 1fr 1fr;
|
|
|
|
}
|
|
|
|
td.key {
|
|
|
|
grid-row: 1;
|
|
|
|
grid-column-start: 1;
|
2019-11-05 09:10:23 -05:00
|
|
|
grid-column-end: 1;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
td.key-description {
|
|
|
|
grid-row: 1;
|
|
|
|
grid-column-start: 2;
|
2018-07-02 23:14:53 -04:00
|
|
|
grid-column-end: -1;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
td.key-user {
|
|
|
|
grid-row: 2;
|
|
|
|
grid-column-start: 1;
|
|
|
|
}
|
|
|
|
td.key-controls {
|
|
|
|
grid-row: 2;
|
|
|
|
grid-column-end: -1;
|
|
|
|
grid-column-start: 2;
|
|
|
|
text-align: right;
|
2018-07-13 01:43:40 -04:00
|
|
|
.btn {
|
|
|
|
margin-bottom: 0.25em;
|
|
|
|
}
|
2018-07-02 23:14:53 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-05 09:10:23 -05:00
|
|
|
.admin-api-keys {
|
|
|
|
h2 {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2020-09-11 09:38:28 -04:00
|
|
|
.api-key-new {
|
|
|
|
.form-element,
|
|
|
|
.form-element-desc {
|
|
|
|
&.input-area {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.value-list,
|
|
|
|
.select-kit,
|
2021-02-01 05:07:11 -05:00
|
|
|
input[type="text"],
|
|
|
|
input[type="text"].filter-input {
|
2020-09-11 09:38:28 -04:00
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint(mobile-extra-large, min-width) {
|
|
|
|
width: 75%;
|
|
|
|
.value-list,
|
|
|
|
.select-kit,
|
|
|
|
input[type="text"] {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.label-area {
|
|
|
|
label {
|
|
|
|
margin: 0.5em 1em 0 0;
|
|
|
|
}
|
|
|
|
@include breakpoint(mobile-extra-large, min-width) {
|
|
|
|
width: 25%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.api-key-show {
|
2019-11-05 09:10:23 -05:00
|
|
|
.form-element,
|
|
|
|
.form-element-desc {
|
|
|
|
&.input-area {
|
|
|
|
width: 75%;
|
2020-09-11 09:38:28 -04:00
|
|
|
|
|
|
|
@include breakpoint(mobile-medium) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-11-05 09:10:23 -05:00
|
|
|
.value-list,
|
|
|
|
.select-kit,
|
|
|
|
input[type="text"] {
|
|
|
|
width: 50%;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2020-09-11 09:38:28 -04:00
|
|
|
}
|
|
|
|
&.label-area {
|
|
|
|
width: 25%;
|
|
|
|
label {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.api-key {
|
|
|
|
padding: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
.form-element,
|
|
|
|
.form-element-desc {
|
|
|
|
float: left;
|
|
|
|
padding: 0.5em 0;
|
|
|
|
&.input-area {
|
|
|
|
input[type="checkbox"] {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
2019-11-05 09:10:23 -05:00
|
|
|
.ac-wrap {
|
|
|
|
width: 50% !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.label-area {
|
|
|
|
label {
|
2020-09-11 09:38:28 -04:00
|
|
|
text-align: left;
|
2019-11-05 09:10:23 -05:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.controls {
|
|
|
|
float: right;
|
|
|
|
text-align: left;
|
|
|
|
width: 50%;
|
|
|
|
}
|
2020-08-18 14:12:04 -04:00
|
|
|
.scopes-title {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
2020-09-11 09:38:28 -04:00
|
|
|
}
|
|
|
|
.scopes-table.grid {
|
|
|
|
margin: 20px 0;
|
|
|
|
|
|
|
|
tr {
|
|
|
|
grid-template-columns: repeat(4, 1fr);
|
|
|
|
input {
|
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint(mobile-large) {
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
grid-row-gap: 0.5em;
|
|
|
|
|
|
|
|
&.scope-resource-name {
|
|
|
|
grid-row-gap: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.scope-resource-name {
|
|
|
|
font-size: $font-up-1;
|
2020-08-18 14:12:04 -04:00
|
|
|
}
|
2020-09-11 09:38:28 -04:00
|
|
|
|
2020-08-18 14:12:04 -04:00
|
|
|
.scope-tooltip {
|
|
|
|
font-size: $font-down-1;
|
|
|
|
}
|
2020-08-24 11:15:08 -04:00
|
|
|
|
2020-09-11 09:38:28 -04:00
|
|
|
.scope-name {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: $font-0;
|
|
|
|
display: inline;
|
|
|
|
}
|
2020-08-24 11:15:08 -04:00
|
|
|
}
|
2019-11-05 09:10:23 -05:00
|
|
|
}
|
|
|
|
|
2018-07-02 23:14:53 -04:00
|
|
|
// Webhook
|
|
|
|
.web-hook-container {
|
|
|
|
.tip.good:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
input {
|
2020-12-30 15:29:10 -05:00
|
|
|
max-width: calc(100% - 10px);
|
2018-07-02 23:14:53 -04:00
|
|
|
}
|
|
|
|
.select-kit,
|
|
|
|
.select-kit.multi-select {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 360px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.event-selector {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin: 0.5em 0;
|
|
|
|
|
|
|
|
.hook-event {
|
|
|
|
margin-bottom: 0.5em;
|
2019-07-11 09:57:53 -04:00
|
|
|
@include breakpoint(mobile-extra-large) {
|
2018-07-02 23:14:53 -04:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> p {
|
|
|
|
padding-bottom: 10px;
|
2020-08-03 22:57:10 -04:00
|
|
|
border-bottom: var(--primary-low) 1px solid;
|
2018-07-02 23:14:53 -04:00
|
|
|
}
|
|
|
|
.filters {
|
2020-08-03 22:57:10 -04:00
|
|
|
border-bottom: var(--primary-low) 1px solid;
|
2018-07-02 23:14:53 -04:00
|
|
|
.filter {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
label .d-icon {
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.instructions {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
.subscription-choice {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.web-hook-direction {
|
2022-07-06 04:37:54 -04:00
|
|
|
a,
|
2018-07-02 23:14:53 -04:00
|
|
|
button {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.web-hook-events {
|
|
|
|
li {
|
|
|
|
padding: 2px 0;
|
|
|
|
}
|
|
|
|
.col {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 6px;
|
|
|
|
vertical-align: top;
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
.col.first {
|
|
|
|
width: 90px;
|
|
|
|
}
|
|
|
|
.col.event-id {
|
2019-04-16 02:24:30 -04:00
|
|
|
width: 90px;
|
2018-07-02 23:14:53 -04:00
|
|
|
}
|
|
|
|
.col.timestamp {
|
2019-04-16 02:24:30 -04:00
|
|
|
width: 180px;
|
2018-07-02 23:14:53 -04:00
|
|
|
}
|
|
|
|
.col.completion {
|
2019-04-16 02:24:30 -04:00
|
|
|
width: 250px;
|
2018-07-02 23:14:53 -04:00
|
|
|
}
|
|
|
|
.col.actions {
|
2019-04-16 02:24:30 -04:00
|
|
|
width: 455px;
|
2018-07-02 23:14:53 -04:00
|
|
|
padding-top: 0;
|
|
|
|
a {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.col.heading.actions {
|
|
|
|
padding: 4px 0;
|
|
|
|
}
|
|
|
|
.details {
|
|
|
|
display: block;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
label {
|
|
|
|
font-size: $font-0;
|
|
|
|
}
|
|
|
|
&.content-list {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.web-hook-events-listing {
|
|
|
|
margin-top: 15px;
|
|
|
|
.alert {
|
|
|
|
margin: 15px 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.hook-event {
|
|
|
|
display: inline-block;
|
|
|
|
width: 40%;
|
|
|
|
margin-left: 20px;
|
|
|
|
label {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin: 0 0 5px 25px;
|
|
|
|
}
|
|
|
|
}
|