Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Website**: update GraphQL API page by extracting all endpoints and run it in
CI, at every push, with the o1Labs managed plain nodes
([#1421](https://github.com/o1-labs/mina-rust/pull/1421)).
- **Frontend**: rename all occurences of openmina.scss to mina-rust.scss
([#1467](https://github.com/o1-labs/mina-rust/pull/1467))

## v0.17.0

Expand Down
8 changes: 4 additions & 4 deletions frontend/src/app/app.component.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@use 'openmina';
@use 'mina-rust';

mat-sidenav {
width: 160px;
border-right: none;
background-color: openmina.$base-background;
background-color: mina-rust.$base-background;
transition: 200ms ease-out !important;
visibility: visible !important;
display: block !important;
Expand Down Expand Up @@ -56,14 +56,14 @@ mat-sidenav-content {
mat-sidenav-container,
mat-sidenav-content {
color: inherit;
background-color: openmina.$base-background;
background-color: mina-rust.$base-background;
}

#mina-content {
$toolbar: 40px;
height: calc(100% - #{$toolbar});
border-top-left-radius: 6px;
background-color: openmina.$base-surface;
background-color: mina-rust.$base-surface;

&.no-toolbar {
height: 100%;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
@use 'openmina';
@use 'mina-rust';

.status {
padding: 2px 5px;
border-radius: 4px;

&.sending {
background-color: openmina.$base-container;
color: openmina.$base-primary;
background-color: mina-rust.$base-container;
color: mina-rust.$base-primary;
}

&.included {
background-color: openmina.$success-container;
color: openmina.$success-primary;
background-color: mina-rust.$success-container;
color: mina-rust.$success-primary;
}

&.generated {
background-color: openmina.$special-selected-alt-2-container;
color: openmina.$special-selected-alt-2-primary;
background-color: mina-rust.$special-selected-alt-2-container;
color: mina-rust.$special-selected-alt-2-primary;
}

&.error,
&.rejected {
background-color: openmina.$warn-container;
color: openmina.$warn-primary;
background-color: mina-rust.$warn-container;
color: mina-rust.$warn-primary;
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use 'openmina';
@use 'mina-rust';

.live-button {
width: 110px;
Expand Down Expand Up @@ -38,35 +38,35 @@
display: grid;
height: 24px;
grid-template-columns: 18px 1fr 125px;
color: openmina.$base-tertiary;
color: mina-rust.$base-tertiary;
box-sizing: border-box;

span:nth-child(2),
span:nth-child(4):hover {
color: openmina.$base-primary;
color: mina-rust.$base-primary;
}

&:hover:not(.active) {
background-color: openmina.$base-container;
background-color: mina-rust.$base-container;
}

&.active {
background-color: openmina.$selected-container;
background-color: mina-rust.$selected-container;

span:nth-child(1),
span:nth-child(2),
span:nth-child(4):hover {
color: openmina.$selected-primary;
color: mina-rust.$selected-primary;
}

span:nth-child(3),
span:nth-child(4) {
color: openmina.$selected-secondary;
color: mina-rust.$selected-secondary;
}
}

&:not(.active) .mina-icon {
color: openmina.$base-divider;
color: mina-rust.$base-divider;
}

&:last-child {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use 'openmina';
@use 'mina-rust';

.live-button {
width: 110px;
Expand Down Expand Up @@ -34,35 +34,35 @@
display: grid;
height: 24px;
grid-template-columns: 18px 1fr 125px;
color: openmina.$base-tertiary;
color: mina-rust.$base-tertiary;
box-sizing: border-box;

span:nth-child(2),
span:nth-child(4):hover {
color: openmina.$base-primary;
color: mina-rust.$base-primary;
}

&:hover:not(.active) {
background-color: openmina.$base-container;
background-color: mina-rust.$base-container;
}

&.active {
background-color: openmina.$selected-container;
background-color: mina-rust.$selected-container;

span:nth-child(1),
span:nth-child(2),
span:nth-child(4):hover {
color: openmina.$selected-primary;
color: mina-rust.$selected-primary;
}

span:nth-child(3),
span:nth-child(4) {
color: openmina.$selected-secondary;
color: mina-rust.$selected-secondary;
}
}

&:not(.active) .mina-icon {
color: openmina.$base-divider;
color: mina-rust.$base-divider;
}

&:last-child {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@use 'openmina';
@use 'mina-rust';

:host {
height: 100px;
}

.epoch {
border-left: 1px dashed openmina.$base-tertiary;
border-left: 1px dashed mina-rust.$base-tertiary;
padding-left: 5px;
padding-right: 4px;
height: 100px;
Expand All @@ -17,19 +17,19 @@

div {
width: calc((100% - 15px) / 15);
background-color: openmina.$success-tertiary;
background-color: mina-rust.$success-tertiary;
margin-right: 1px;
transition: height 200ms ease-in;

&:hover {
background-color: openmina.$success-primary;
background-color: mina-rust.$success-primary;
}

&.future {
background-color: openmina.$base-tertiary;
background-color: mina-rust.$base-tertiary;

&:hover {
background-color: openmina.$base-primary;
background-color: mina-rust.$base-primary;
}
}
}
Expand All @@ -47,19 +47,19 @@
transition: height 200ms ease-in;

&:first-child {
background-color: openmina.$special-selected-alt-1-tertiary;
background-color: mina-rust.$special-selected-alt-1-tertiary;

&:hover {
background-color: openmina.$special-selected-alt-1-primary;
background-color: mina-rust.$special-selected-alt-1-primary;
}
}

&:last-child {
margin-top: 1px;
background-color: openmina.$warn-tertiary;
background-color: mina-rust.$warn-tertiary;

&:hover {
background-color: openmina.$warn-primary;
background-color: mina-rust.$warn-primary;
}
}
}
Expand All @@ -70,32 +70,32 @@
top: 0;
left: 0;
z-index: -1;
border-right: 2px solid openmina.$base-primary;
border-right: 2px solid mina-rust.$base-primary;
}

&:hover .overlay:not(.bg-selected-container) {
background-color: openmina.$base-container;
background-color: mina-rust.$base-container;
}

&.active-epoch {
.title {
color: openmina.$selected-primary !important;
color: mina-rust.$selected-primary !important;
}

.positive div:not(.future) {
background-color: openmina.$success-primary;
background-color: mina-rust.$success-primary;
}

.negative .bar div:first-child {
background-color: openmina.$special-selected-alt-1-primary;
background-color: mina-rust.$special-selected-alt-1-primary;
}

.negative .bar div:last-child {
background-color: openmina.$warn-primary;
background-color: mina-rust.$warn-primary;
}

.overlay {
border-right: 2px solid openmina.$selected-primary;
border-right: 2px solid mina-rust.$selected-primary;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use 'openmina';
@use 'mina-rust';

.side-panel-stepper {
.step {
Expand Down Expand Up @@ -29,25 +29,25 @@
}

.tab-group {
@include openmina.flexRowVertCenter();
@include mina-rust.flexRowVertCenter();

.tab {
min-width: 90px;
max-width: 200px;
width: 50%;
text-align: center;
border-radius: 6px;
color: openmina.$base-secondary;
color: mina-rust.$base-secondary;
transition: 0.2s;
background-color: transparent;

&.selected {
background-color: openmina.$selected-container;
color: openmina.$selected-primary;
background-color: mina-rust.$selected-container;
color: mina-rust.$selected-primary;
}

&:hover:not(.selected) {
background-color: openmina.$base-container;
background-color: mina-rust.$base-container;
}
}
}
Expand All @@ -58,19 +58,19 @@
}

div:nth-child(1) {
background-color: openmina.$success-primary;
background-color: mina-rust.$success-primary;
}

div:nth-child(2) {
background-color: openmina.$special-selected-alt-1-primary;
background-color: mina-rust.$special-selected-alt-1-primary;
}

div:nth-child(3) {
background-color: openmina.$warn-primary;
background-color: mina-rust.$warn-primary;
}

div:nth-child(4) {
background-color: openmina.$base-tertiary;
background-color: mina-rust.$base-tertiary;
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use 'openmina';
@use 'mina-rust';

:host {
min-height: 0;
Expand Down
Loading
Loading