Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
blockscout/apps/block_scout_web/assets/css/components/_modal.scss

141 lines
2.8 KiB

$modal-overlay-color: rgba($secondary, 0.9) !default;
$modal-horizontal-padding: 30px !default;
$modal-vertical-padding: 25px !default;
$modal-border-radius: 10px !default;
$modal-gray-background: #f6f7f9 !default;
$modal-status-graph-error: #ff0d51 !default;
$modal-status-graph-warning: #ff8502 !default;
$modal-status-graph-success: $primary!default;
.modal-backdrop {
background-color: $modal-overlay-color;
&.show {
opacity: 1;
}
}
.modal-header {
border-bottom: none;
padding: #{ $modal-vertical-padding } #{ $modal-horizontal-padding };
}
.close.close-modal {
left: auto;
opacity: 1;
position: absolute;
right: -35px;
top: -35px;
}
.modal-body {
padding: 0 #{ $modal-horizontal-padding } #{ $modal-vertical-padding };
}
.modal-title {
color: #333;
font-size: 18px;
font-weight: normal;
text-align: left;
}
.modal-content {
border-radius: $modal-border-radius;
position: relative;
}
.modal-bottom-disclaimer {
background-color: $modal-gray-background;
border-bottom-left-radius: $modal-border-radius;
border-bottom-right-radius: $modal-border-radius;
color: #a3a9b5;
display: flex;
font-size: 12px;
font-weight: normal;
line-height: 1.67;
padding: #{ $modal-vertical-padding } #{ $modal-horizontal-padding };
text-align: left;
&.b-b-r-0 {
border-bottom-right-radius: 0;
}
.modal-bottom-disclaimer-graphic {
flex-shrink: 0;
padding-right: 15px;
}
.modal-bottom-disclaimer-text {
flex-grow: 1;
}
}
.modal-become-candidate {
max-width: 100%;
width: 280px;
}
.modal-stake {
max-width: 100%;
width: 460px;
}
.modal-stake-two-cols {
display: flex;
}
.modal-status {
max-width: 100%;
width: 300px;
}
.modal-status-graph {
align-items: center;
border-top-left-radius: $modal-border-radius;
border-top-right-radius: $modal-border-radius;
display: flex;
height: 135px;
justify-content: center;
&-error {
background-color: $modal-status-graph-error;
}
&-warning {
background-color: $modal-status-graph-warning;
}
&-success {
background-color: $modal-status-graph-success;
}
svg {
margin-top: 15px;
}
}
.modal-status-body {
align-items: center;
display: flex;
flex-direction: column;
justify-content: center;
padding: #{ $modal-vertical-padding } #{ $modal-horizontal-padding };
}
.modal-status-title {
color: #333;
font-size: 18px;
font-weight: normal;
line-height: 1.2;
margin: 0 0 15px;
text-align: center;
}
.modal-status-text {
color: #a3a9b5;
font-size: 12px;
font-weight: normal;
line-height: 1.5;
margin: 0 0 25px;
text-align: center;
}