mempool/frontend/src/app/components/block/block.component.scss

275 lines
3.8 KiB
SCSS
Raw Normal View History

2023-07-08 00:34:57 -04:00
.title-block {
flex-wrap: wrap;
align-items: baseline;
@media (min-width: 650px) {
flex-direction: row;
}
h1 {
margin: 0rem;
margin-right: 15px;
line-height: 1;
}
.alert-mempool {
flex-direction: row;
flex-wrap: wrap;
}
.container-button {
align-self: center;
margin-right: 1em;
}
}
.fiat {
2021-10-11 22:33:20 -03:00
display: block;
font-size: 13px;
@media (min-width: 768px) {
font-size: 14px;
display: inline-block;
margin-left: 10px;
}
}
.table {
tr td {
&:last-child {
text-align: right;
@media (min-width: 768px) {
text-align: left;
}
}
2023-06-09 13:46:14 -04:00
.difference {
margin-left: 0.5em;
&.positive {
color: rgb(66, 183, 71);
}
&.negative {
color: rgb(183, 66, 66);
}
}
}
}
.audit-col {
max-width: 50%;
&.mobile {
max-width: 100%;
}
}
2023-02-14 04:32:15 -05:00
.block-subtitle.actual a {
position: absolute;
top: -3px;
}
.block-subtitle.actual fa-icon {
color: rgba(255, 255, 255, 0.4);
2023-02-14 04:32:15 -05:00
font-size: 18px;
margin-left: 8px;
}
h1 {
margin: 0px;
padding: 0px;
2021-10-26 21:47:17 -03:00
line-height: 1;
a {
&:hover, &:focus{
text-decoration: none;;
}
}
}
2024-05-19 00:39:33 +07:00
.row {
flex-direction: column;
@media (min-width: 768px) {
flex-direction: row;
2020-03-25 00:41:46 +07:00
}
}
@media (max-width: 767.98px) {
.mobile-bottomcol {
margin-top: 15px;
}
.details-table td:first-child {
white-space: pre-wrap;
}
}
.toggle-btns {
position: relative;
z-index: 2;
top: 7px;
@media (min-width: 550px) {
top: 0px;
}
}
.btn-audit {
margin-right: .5em;
}
.grow {
flex-grow: 1;
}
.next-previous-blocks {
2021-10-26 21:47:17 -03:00
font-size: 28px;
display: inline-flex;
flex-direction: row;
2021-10-11 22:33:20 -03:00
@media (min-width: 768px) {
font-size: 36px;
}
a {
&:hover, &:focus {
display: inline-block;
}
}
}
.time-ltr .next-previous-blocks {
.nav-arrow {
2022-09-30 00:42:02 +00:00
transform: scaleX(-1);
}
.nav-arrow.next {
order: 2;
}
.block-link {
order: 1;
}
.nav-arrow.prev {
order: 0;
}
}
.disable {
2021-10-26 21:47:17 -03:00
font-size: 28px;
color: #393e5c73;
2021-10-12 09:53:01 -03:00
@media (min-width: 768px) {
font-size: 36px;
}
2021-10-11 22:33:20 -03:00
}
2021-10-12 08:57:00 -03:00
2022-06-14 16:39:37 +00:00
.chart-container{
margin: 20px auto;
@media (min-width: 768px) {
margin: auto;
}
}
2022-11-23 19:07:17 +09:00
.menu-button {
@media (min-width: 768px) {
max-width: 150px;
}
}
.block-subtitle {
text-align: center;
}
.nav-tabs {
border-color: white;
border-width: 1px;
margin-bottom: 1em;
2022-11-23 19:07:17 +09:00
}
.nav-tabs .nav-link {
background: inherit;
border-width: 1px;
border-bottom: none;
border-color: transparent;
margin-bottom: -1px;
cursor: pointer;
&.active {
2024-04-04 15:36:24 +09:00
background: var(--box-bg);
2022-11-23 19:07:17 +09:00
}
&.active, &:hover {
border-color: white;
}
2022-12-28 09:42:27 -06:00
}
.block-graph-wrapper {
position: relative;
}
.info-bubble-link {
position: absolute;
display: block;
top: 2em;
left: 50%;
margin: auto;
text-align: center;
padding: 0.5em 1em;
font-size: 80%;
transform: translateX(-50%);
.ng-fa-icon {
margin-right: 1em;
}
}
2023-01-31 15:51:15 +07:00
.beta {
font-size: 10px;
margin: 5p;
padding: 5p;
position: absolute;
top: 11px;
margin-left: 10px;
}
2023-06-12 12:40:19 -04:00
.audit-details-table {
margin-top: 1.25rem;
@media (max-width: 767.98px) {
margin-top: 0.75rem;
}
.oobFees {
color: #905cf4;
}
2023-06-12 12:40:19 -04:00
}
2023-07-14 14:44:15 +09:00
.graph-col {
flex-grow: 1.11;
}
2024-05-19 00:39:33 +07:00
.block-tx-title {
display: flex;
justify-content: space-between;
flex-direction: column;
margin-top: -15px;
position: relative;
@media (min-width: 550px) {
margin-top: 1rem;
flex-direction: row;
}
h2 {
line-height: 1;
margin: 0;
position: relative;
padding-bottom: 10px;
@media (min-width: 550px) {
padding-bottom: 0px;
align-self: end;
}
}
}
.tx-skeleton {
margin-top: 10px;
margin-bottom: 10px;
.header-bg {
&:first-child {
padding: 10px;
margin-bottom: 10px;
}
&:nth-child(2) {
.row {
height: 107px;
}
}
}
}