diff --git a/static/main.css b/static/main.css index 132c1bbafe..a1d6b302e9 100644 --- a/static/main.css +++ b/static/main.css @@ -74,10 +74,6 @@ a:hover { margin-bottom: 1rem; } -.field-label { - color: var(--font-color-light); -} - textarea { font-family: monospace; } @@ -104,17 +100,7 @@ input[type='file']:focus { outline: 1px auto -webkit-focus-ring-color; } -input.regular-text { - padding: 0.75rem 1rem; - border-radius: 0.375rem; - border: none; - box-shadow: none; - background: #2D2C2C; - border: 1px solid #414040; - color: #f7f5f2; -} - -input[type="text"], input[type="number"] { +input[type="text"], input[type="number"], input[type="password"] { padding: 0.75rem 1rem; border-radius: 0.375rem; border: none; @@ -124,13 +110,6 @@ input[type="text"], input[type="number"] { color: #f7f5f2; } -textarea.regular-textarea { - border-radius: 0.375rem; - background: #2D2C2C; - border: 1px solid #414040; - color: #f7f5f2; -} - select.dropdown { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23f7f5f2' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); background-position: right .5rem center; @@ -138,6 +117,7 @@ select.dropdown { background-size: 1.5em 1.5em; padding-right: 2.5rem; -webkit-print-color-adjust: exact; + print-color-adjust: exact; -webkit-appearance: none; -moz-appearance: none; appearance: none; @@ -185,11 +165,6 @@ main.main-grid { grid-auto-rows: max-content; min-height: calc(100vh - 140px); margin-bottom: 80px; - - footer { - grid-column: 1 / span 12; - margin: 0; - } } /* Grid end */ @@ -540,15 +515,6 @@ body.login main { .card { grid-column: 1 / span 12; position: relative; -} - -.chart-card { - padding: 1rem 1.5rem 1.5rem; - border-radius: 0.75rem; - background-color: var(--bg-color-dark); -} - -.regular-card { padding: 1rem 1.5rem 1.5rem; border-radius: 0.75rem; background-color: var(--bg-color-dark); @@ -587,7 +553,7 @@ body.login main { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; - margin-bottom: 2rem; + margin-bottom: 1rem; &.form-card-title { font-size: 1rem; @@ -596,26 +562,35 @@ body.login main { border-bottom: 1px solid var(--border-color-light); margin-bottom: 0; } -} -.form-card-inner { - padding: 1rem 1.5rem; + &.has-badge { + display: flex; + flex-direction: row; + align-items: center; + } + + &.with-desc { + margin-bottom: 0.5rem; + } } -.chart-card h3 { - margin-bottom: 1rem; +.form h3 { + margin-bottom: 2rem; } -.title-m.has-badge { - display: flex; - flex-direction: row; - align-items: center; +.form-card-inner { + padding: 1rem 1.5rem; } .card-desc { color: var(--font-color-darker); font-size: 0.875rem; line-height: 1.25rem; + + &.pre-form { + margin-bottom: 2rem; + margin-top: 0; + } } .form-card-title { @@ -766,16 +741,29 @@ body.login main { } footer { - margin: 0; - background-color: var(--bg-color-dark); - color: var(--font-color-darker); - padding: 20px 40px; - grid-row: 4; - text-align: right; + margin: 0 auto; + text-align: center; + width: calc(100% - 80px); + padding-left: 320px; + + p { + background-color: var(--bg-color-dark); + color: var(--font-color-darker); + padding: 20px 40px; + height: 100%; + width: 100%; + display: block; + margin: 0; + display: flex; + align-items: center; + justify-content: center; + border-top-left-radius: 0.75rem; + border-top-right-radius: 0.75rem; + } } footer .logo { - vertical-align: sub; + margin-left: 4px; height: 20px; } @@ -1541,6 +1529,10 @@ textarea { height: 100px; width: calc(100% - 160px); max-width: 400px; + border-radius: 0.375rem; + background: #2D2C2C; + border: 1px solid #414040; + color: #f7f5f2; } fieldset { diff --git a/views/channel.ecr b/views/channel.ecr index 69032e38f5..c90d9b0175 100644 --- a/views/channel.ecr +++ b/views/channel.ecr @@ -49,12 +49,12 @@ -
+

Message rates

-

+

Consumers

diff --git a/views/channels.ecr b/views/channels.ecr index 45950e3fce..7e10961583 100644 --- a/views/channels.ecr +++ b/views/channels.ecr @@ -7,32 +7,30 @@ <% render "partials/header" %> -
-
- +
+ + <% render "partials/footer" %> diff --git a/views/connection.ecr b/views/connection.ecr index b73416ade0..86d23a0d7c 100644 --- a/views/connection.ecr +++ b/views/connection.ecr @@ -12,7 +12,7 @@

<%=pagename%>

-

Details

+

Details

@@ -69,12 +69,12 @@
Username
-
+

Rates

-

+

Channels

diff --git a/views/connections.ecr b/views/connections.ecr index 61759c38f8..28bfe09448 100644 --- a/views/connections.ecr +++ b/views/connections.ecr @@ -7,40 +7,38 @@ <% render "partials/header" %> -
-
- +
+ + <% render "partials/footer" %> diff --git a/views/consumers.ecr b/views/consumers.ecr index 6c7953ef77..aacd3b1387 100644 --- a/views/consumers.ecr +++ b/views/consumers.ecr @@ -7,33 +7,31 @@ <% render "partials/header" %> -
-
- +
+ + <% render "partials/footer" %> diff --git a/views/exchange.ecr b/views/exchange.ecr index db40f8e95c..54b17f0278 100644 --- a/views/exchange.ecr +++ b/views/exchange.ecr @@ -7,160 +7,154 @@ <% render "partials/header" %> -
-
- -
-

Details

- - - - - - - - - - - - - +
+ +
+

Details

+
Type
Features
Arguments
+ + + + + + + + + + + + + + + + +
Type
Features
Arguments
Policy
+
+
+

Rates

+
+
+
+

+ Bindings + +

+
+
+ + - - + + + + + -
PolicyTypeToRouting keyArguments
-
-
-

Rates

-
-
-
-

- Bindings - -

-
-
- - - - - - - - - - - -
TypeToRouting keyArguments
-
-
-
-

Add a binding from this exchange

-
- - - - -
-
-
-

Publish message

- -
-
-

Danger zone

-
- -
-
-
- <% render "partials/footer" %> -
+ + + + +
+
+

Add a binding from this exchange

+ + + + +
+
+

Publish message

+ + + + + + + +
+
+

Danger zone

+
+ +
+
+ + <% render "partials/footer" %> diff --git a/views/exchanges.ecr b/views/exchanges.ecr index b619001535..646466bd32 100644 --- a/views/exchanges.ecr +++ b/views/exchanges.ecr @@ -7,93 +7,89 @@ <% render "partials/header" %> -
-
- + + + +
+ <% render "partials/footer" %> diff --git a/views/overview.ecr b/views/overview.ecr index e05906e0e2..1a3aaeedd4 100644 --- a/views/overview.ecr +++ b/views/overview.ecr @@ -42,19 +42,19 @@
Uptime
-
+

Queued messages

-
+

Data rates

-
+

Message rates

-
+

Upload definitions

+ +

Add a binding to this queue

+ + + + + +
+

Publish message

+

+ Message will be published to the default exchange with routing key , routing it to + this queue. +

+ + +