icingaweb2/public/css/icinga/pending-migration.less

126 lines
1.9 KiB
Plaintext
Raw Normal View History

// Style
2023-08-02 18:28:59 +02:00
.migration-state-banner {
.rounded-corners();
2023-08-02 18:28:59 +02:00
border: 1px solid @gray-lighter;
color: @text-color-light;
padding: 1em;
text-align: center;
}
2023-08-02 18:28:59 +02:00
.migrations {
a {
color: @icinga-blue;
}
2023-08-02 18:28:59 +02:00
.list-item {
.visual.upgrade-failed, span.upgrade-failed, .errors-section > i {
color: @state-critical;
}
2023-07-27 16:43:51 +02:00
}
2023-08-02 18:28:59 +02:00
.migration-form {
input[type="submit"] {
line-height: 1.5;
&:disabled {
2023-07-27 16:43:51 +02:00
color: @disabled-gray;
2023-08-02 18:28:59 +02:00
cursor: not-allowed;
2023-07-27 16:43:51 +02:00
background: none;
2023-08-02 18:28:59 +02:00
border-color: fade(@disabled-gray, 75)
}
}
}
}
// Layout
.pending-migrations-hint {
text-align: center;
> h2 {
font-size: 2em;
}
}
2023-08-02 18:28:59 +02:00
.migration-controls {
display: flex;
align-items: center;
justify-content: space-between;
}
.migrations {
2023-08-02 18:28:59 +02:00
.icinga-form { // Reset Icinga Form layout styles
width: unset;
max-width: unset;
}
2023-08-02 18:28:59 +02:00
.migration-list-control {
padding-bottom: 1em;
2023-07-27 16:43:51 +02:00
2023-08-02 18:28:59 +02:00
> .item-list {
max-width: 50em;
2023-07-27 16:43:51 +02:00
}
}
2023-08-02 18:28:59 +02:00
.list-item {
align-items: baseline;
2023-07-27 16:43:51 +02:00
2023-08-02 18:28:59 +02:00
.visual.upgrade-failed + .main {
margin-left: 0;
2023-07-27 16:43:51 +02:00
}
2023-08-02 18:28:59 +02:00
header {
align-items: baseline;
.title span.upgrade-failed {
margin: .5em;
}
2023-07-27 16:43:51 +02:00
}
2023-08-02 18:28:59 +02:00
.caption, .errors-section pre {
margin-top: .25em;
height: auto;
-webkit-line-clamp: 3;
}
2023-07-27 16:43:51 +02:00
2023-08-02 18:28:59 +02:00
.errors-section {
margin-top: 1em;
border: 1px solid @state-critical;
.rounded-corners();
2023-08-02 18:28:59 +02:00
i.icon {
position: absolute;
margin-top: .5em;
margin-left: .5em;
}
2023-08-02 18:28:59 +02:00
.caption {
margin-left: 1.8em;
}
}
2023-08-02 18:28:59 +02:00
&.minimal footer {
2023-07-27 16:43:51 +02:00
display: inline-block;
}
2023-08-02 18:28:59 +02:00
footer {
width: 100%;
padding-top: 0;
2023-08-02 18:28:59 +02:00
> * {
font-size: 1em;
}
.list-item:first-child .main {
padding-top: 0;
}
a {
margin-left: .5em;
2023-07-27 16:43:51 +02:00
}
}
}
}