Layout updates, Info section

This commit is contained in:
Gene Mecija 2020-01-31 01:45:12 -08:00
parent a41921c15b
commit 535621a206
8 changed files with 213 additions and 187 deletions

View file

@ -23,6 +23,7 @@ import MorseButtons from './components/MorseButtons'
import Footer from './components/Footer';
import StraightKey from './components/StraightKey';
import ElectronicKey from './components/ElectronicKey';
import Info from './components/Info';
export default React.memo(function App() {
@ -39,7 +40,9 @@ export default React.memo(function App() {
<WordListPickerContextProvider>
<WordFeederContextProvider>
<div id="sidebar">
<Info />
<div id="mainOptions">
<h2>Options</h2>
<ModePicker />
<KeyTypePicker />
<WordsPerMinute />

11
src/components/Info.js Normal file
View file

@ -0,0 +1,11 @@
import React from "react"
export default React.memo(function Info() {
return (
<div id="info">
<h2>Info</h2>
<p>This is my info section. It will contain information morse code, e.g. how long dits, dahs, and spacing is.</p>
</div>
)
})

View file

@ -36,7 +36,7 @@ export default React.memo(function KeyTypePicker() {
return (
<div id="keyType" className="mode-picker">
<div id="title">
Keyer Type&nbsp;<i className="ri-question-line"></i>
Keyer&nbsp;<i className="ri-question-line"></i>
</div>
<div id="buttons">
<button id="straight" className="selected" onClick={handleClick}>

View file

@ -26,7 +26,7 @@ function Legend() {
}
const legend = Object.keys(morseCode).map((morse, index) =>
<div key={"legend_item_"+index}>
<div key={"legend_item_"+index} className="item">
<button key={"legend_btn_"+index} onClick={handleClick}>{morse.toUpperCase()}</button>
<span key={"legend_spn_"+index}>{morseCode[morse]}</span>
</div>
@ -34,10 +34,17 @@ function Legend() {
return (
<div id="legend">
{legend}
<button id="test" onClick={handleClick}>Anya</button>
<button id="test" onClick={handleClick}>Alexandra</button>
<button id="test" onClick={handleClick}>Paris</button>
<div id="title">
<h2>Legend</h2>
</div>
<div id="legend-items">
{legend}
<div>
<button id="test" onClick={handleClick}>Anya</button>
<button id="test" onClick={handleClick}>Alexandra</button>
<button id="test" onClick={handleClick}>Paris</button>
</div>
</div>
</div>
)
}

View file

@ -27,8 +27,8 @@ export default React.memo(function WordsPerMinute(props) {
WPM
</div>
<div id='input'>
<button id='wpm-down' onClick={decrement}><i className="ri-arrow-down-s-line"></i></button>&nbsp;
<input type="number" name="wpm" id='wpm-input' min="5" max="30" value={wpm} onChange={handleChange}></input>&nbsp;
<button id='wpm-down' onClick={decrement}><i className="ri-arrow-down-s-line"></i></button>
<input type="number" name="wpm" id='wpm-input' min="5" max="30" value={wpm} onChange={handleChange}></input>
<button id='wpm-up' onClick={increment}><i className="ri-arrow-up-s-line"></i></button>
</div>
</div>

View file

@ -65,9 +65,8 @@ header {
-ms-flex-pack: distribute;
justify-content: space-around;
height: 100%;
width: 350px;
padding-top: 50px;
padding-bottom: 50px;
width: 500px;
padding: 1.5em;
}
#main-content #main-interface {
@ -85,11 +84,15 @@ header {
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
width: 900px;
width: 600px;
height: 100%;
min-width: 400px;
}
h2 {
margin-bottom: 0.5em;
}
i[class*="ri-"] {
cursor: pointer;
font-weight: normal;
@ -97,10 +100,6 @@ i[class*="ri-"] {
color: #777;
}
i[class*="ri-"]:hover {
color: goldenrod;
}
#mainOptions {
display: -webkit-box;
display: -ms-flexbox;
@ -115,7 +114,6 @@ i[class*="ri-"]:hover {
width: 100%;
max-width: 95vw;
height: 200px;
border: 1px solid red;
}
#mainOptions .mode-picker {
@ -132,8 +130,25 @@ i[class*="ri-"]:hover {
justify-content: flex-start;
}
#mainOptions .mode-picker div {
padding: 5px;
height: 2.4em;
}
#mainOptions .mode-picker #title {
font-weight: bold;
font-size: 1.1em;
height: 100%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
padding-left: 0px;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
#mainOptions .mode-picker #buttons {
@ -148,10 +163,6 @@ i[class*="ri-"]:hover {
align-items: center;
}
#mainOptions .mode-picker #buttons button {
height: 1.4rem;
}
#mainOptions .mode-picker #input {
margin-left: 10px;
display: -webkit-box;
@ -171,6 +182,7 @@ i[class*="ri-"]:hover {
border-radius: 3px;
border: 1px solid #ddd;
height: 1.3rem;
font-size: 0.75em;
}
#mainOptions .mode-picker #input select {
@ -178,100 +190,92 @@ i[class*="ri-"]:hover {
}
#mainOptions .mode-picker #input button {
height: 20px;
width: 20px;
border-radius: 50%;
line-height: 10px;
height: 20px;
border-radius: 3px;
}
#mainOptions .mode-picker #input button i {
position: relative;
left: -2px;
left: -1px;
font-size: 1.1em;
font-weight: bold;
}
.mode-picker {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-item-align: center;
align-self: center;
}
.mode-picker #title {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
margin: 7px;
}
.mode-picker button {
#mainOptions .mode-picker button {
background: #f1f1f1;
color: #333;
margin: 7px;
padding: 5px;
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3), 0px -1px 1px white;
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3), 0px -1px 1px white;
border-radius: 3px;
border: 0px;
border-radius: 5px;
padding: 0.3em;
margin-left: 10px;
margin-right: 10px;
font-size: 0.75em;
color: #333;
}
.mode-picker .selected {
-webkit-box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.2), inset 0px -1px 1px white;
box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.2), inset 0px -1px 1px white;
#mainOptions .mode-picker button.selected {
-webkit-box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.3), inset 0px -1px 1px white;
box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.3), inset 0px -1px 1px white;
}
#legend {
background: #f1f1f1;
width: 100%;
max-width: 95vw;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: space-evenly;
-ms-flex-pack: space-evenly;
justify-content: space-evenly;
top: 250px;
left: 50px;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
#legend div {
#legend #legend-items {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
width: 100%;
}
#legend #legend-items .item {
border: 1px solid #ccc;
border-radius: 3px;
margin: 1px;
width: 80px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
}
#legend div button {
#legend #legend-items .item button {
width: 20px;
height: 20px;
margin: 4px;
border: 0px;
border-radius: 2px;
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3), 0px -1px 1px white;
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3), 0px -1px 1px white;
}
#legend div button:active {
#legend #legend-items .item button:active {
-webkit-transform: translateY(3px);
transform: translateY(3px);
-webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
}
#legend div span {
#legend #legend-items .item span {
width: 60%;
-webkit-box-pack: center;
-ms-flex-pack: center;
@ -296,8 +300,8 @@ i[class*="ri-"]:hover {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3), 0px -1px 1px white;
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3), 0px -1px 1px white;
-webkit-transition: width 500ms ease-out, background 500ms ease-out, -webkit-transform 40ms ease-out, -webkit-box-shadow 40ms ease-out;
transition: width 500ms ease-out, background 500ms ease-out, -webkit-transform 40ms ease-out, -webkit-box-shadow 40ms ease-out;
transition: transform 40ms ease-out, box-shadow 40ms ease-out, width 500ms ease-out, background 500ms ease-out;
@ -319,10 +323,10 @@ i[class*="ri-"]:hover {
background: #f4f4f4;
margin: 0px;
border: 0px;
-webkit-transition: width 500ms ease-out, background 500ms ease-out, -webkit-transform 40ms ease-out, -webkit-box-shadow 40ms ease-out;
transition: width 500ms ease-out, background 500ms ease-out, -webkit-transform 40ms ease-out, -webkit-box-shadow 40ms ease-out;
transition: transform 40ms ease-out, box-shadow 40ms ease-out, width 500ms ease-out, background 500ms ease-out;
transition: transform 40ms ease-out, box-shadow 40ms ease-out, width 500ms ease-out, background 500ms ease-out, -webkit-transform 40ms ease-out, -webkit-box-shadow 40ms ease-out;
-webkit-transition: width 500ms ease-out, background 500ms ease-out, color 500ms ease-out, -webkit-transform 40ms ease-out, -webkit-box-shadow 40ms ease-out;
transition: width 500ms ease-out, background 500ms ease-out, color 500ms ease-out, -webkit-transform 40ms ease-out, -webkit-box-shadow 40ms ease-out;
transition: transform 40ms ease-out, box-shadow 40ms ease-out, width 500ms ease-out, background 500ms ease-out, color 500ms ease-out;
transition: transform 40ms ease-out, box-shadow 40ms ease-out, width 500ms ease-out, background 500ms ease-out, color 500ms ease-out, -webkit-transform 40ms ease-out, -webkit-box-shadow 40ms ease-out;
}
#morseButton button.showPaddles {
@ -331,8 +335,8 @@ i[class*="ri-"]:hover {
font-weight: bold;
width: 60px;
height: 55px;
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3), 0px -1px 1px white;
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3), 0px -1px 1px white;
}
#morseButton button#left {
@ -402,9 +406,9 @@ i[class*="ri-"]:hover {
margin-bottom: 20px;
padding-left: 10px;
padding-right: 10px;
border-radius: 4px;
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
border-radius: 3px;
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3), 0px -1px 1px white;
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3), 0px -1px 1px white;
font-size: 3rem;
font-family: "Courier", monospace;
font-weight: bold;
@ -464,9 +468,9 @@ i[class*="ri-"]:hover {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
border-radius: 4px;
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
border-radius: 3px;
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3), 0px -1px 1px white;
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3), 0px -1px 1px white;
}
#morseBufferDisplay #alphanumeric-container #alphanumeric {
@ -480,7 +484,7 @@ i[class*="ri-"]:hover {
}
#morseBufferDisplay #alphanumeric-container #alphanumeric span {
padding: 4px;
padding: 3px;
-webkit-transition: background 300ms ease-in-out;
transition: background 300ms ease-in-out;
}
@ -504,7 +508,7 @@ i[class*="ri-"]:hover {
}
#morseBufferDisplay #ditDahs span {
padding: 4px;
padding: 3px;
-webkit-transition: background 100ms ease-in-out;
transition: background 100ms ease-in-out;
}
@ -514,7 +518,7 @@ i[class*="ri-"]:hover {
height: 40px;
width: 30px !important;
margin-left: 3px;
border-radius: 5px;
border-radius: 3px;
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px rgba(255, 255, 255, 0.1);
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px rgba(255, 255, 255, 0.1);
display: -webkit-box;
@ -608,9 +612,9 @@ i[class*="ri-"]:hover {
height: 40px;
width: 30px !important;
margin-left: 3px;
border-radius: 5px;
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
border-radius: 3px;
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3), 0px -1px 1px white;
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3), 0px -1px 1px white;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
@ -634,12 +638,12 @@ i[class*="ri-"]:hover {
.morseError {
background: rgba(255, 0, 0, 0.4);
color: #780000;
border-radius: 5px;
border-radius: 3px;
}
.correct {
background: rgba(0, 255, 0, 0.4);
border-radius: 5px;
border-radius: 3px;
}
#morseHistory-textbox {
@ -661,7 +665,6 @@ i[class*="ri-"]:hover {
}
#morseHistory {
border: 1px solid purple;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
@ -736,7 +739,7 @@ i[class*="ri-"]:hover {
background: rgba(255, 0, 0, 0.4);
height: 1.7rem;
color: #780000;
border-radius: 5px;
border-radius: 3px;
}
.morseCard .ditDahs-container, .morseCard .alphanumeric-container {

File diff suppressed because one or more lines are too long

View file

@ -10,12 +10,12 @@ $main-bg-color-light: #f1f1f1;
$main-font-color-light: #333;
$morseCard-shadow-light: 0px 3px 3px rgba(0, 0, 0, 0.2);
$main-box-shadow-light: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px rgba(255, 255, 255, 1);
$main-box-shadow-light-selected: inset 0px 2px 2px rgba(0, 0, 0, 0.2), inset 0px -1px 1px rgba(255, 255, 255, 1);
$main-box-shadow-light: 0px 3px 3px rgba(0, 0, 0, 0.3), 0px -1px 1px rgba(255, 255, 255, 1);
$main-box-shadow-light-selected: inset 0px 2px 2px rgba(0, 0, 0, 0.3), inset 0px -1px 1px rgba(255, 255, 255, 1);
$main-box-shadow-dark: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px rgba(255, 255, 255, 0.1);
$main-box-shadow-dark-selected: inset 0px 2px 2px rgba(0, 0, 0, 0.2), inset 0px -1px 1px rgba(255, 255, 255, 0.1);
$main-border-radius: 5px;
$main-border-radius: 3px;
$border-radius-neumorphic: 0px -6px 10px rgba(255, 255, 255, 1), 0px 4px 15px rgba(0, 0, 0, 0.15);
$border-radius-neumorphic-dark: 0px -10px 20px rgba(255, 255, 255, 0.1), 0px 10px 10px rgba(0, 0, 0, 0.4);
@ -62,9 +62,8 @@ header {
flex-direction: column;
justify-content: space-around;
height: 100%;
width: 350px;
padding-top: 50px;
padding-bottom: 50px;
width: 500px;
padding: 1.5em;
}
#main-interface {
border: 1px solid blue;
@ -72,7 +71,7 @@ header {
flex-direction: column;
align-items: center;
justify-content: center;
width: 900px;
width: 600px;
height: 100%;
min-width: 400px;
}
@ -80,15 +79,14 @@ header {
footer {
}
h2 {
margin-bottom: 0.5em;
}
i[class*="ri-"] {
cursor: pointer;
font-weight: normal;
font-size: 0.9rem;
color: #777;
&:hover {
color: goldenrod;
}
}
#mainOptions {
@ -98,7 +96,7 @@ i[class*="ri-"] {
width: 100%;
max-width: 95vw;
height: 200px;
border: 1px solid red;
// border: 1px solid red;
.mode-picker {
// border: 1px solid green;
width: 100%;
@ -106,19 +104,27 @@ i[class*="ri-"] {
align-self: flex-start;
align-content: center;
justify-content: flex-start;
// height: 60px;
// height: 45px;
div {
padding: 5px;
height: 2.4em;
}
#title {
font-weight: bold;
font-size: 1.1em;
// border: 1px solid red;
height: 100%;
display: flex;
padding-left: 0px;
justify-content: flex-start;
align-items: center;
}
#buttons {
// border: 1px solid blue;
display: flex;
justify-content: space-between;
align-items: center;
button {
height: 1.4rem;
}
}
#input {
margin-left: 10px;
@ -131,90 +137,86 @@ i[class*="ri-"] {
border-radius: 3px;
border: 1px solid #ddd;
height: 1.3rem;
font-size: 0.75em;
}
select {
height: 1.4rem;
}
button {
height: 20px;
width: 20px;
border-radius: 50%;
line-height: 10px;
height: 20px;
border-radius: 3px;
// line-height: 10px;
i {
position: relative;
left: -2px;
left: -1px;
// top: -2px;
font-size: 1.1em;
font-weight: bold;
}
}
}
}
}
.mode-picker {
display: flex;
align-self: center;
#title {
display: flex;
justify-content: center;
align-items: center;
margin: 7px;
}
button {
// background: #fcfcfc;
background: $main-bg-color-light;
color: $main-font-color-light;
margin: 7px;
padding: 5px;
box-shadow: $main-box-shadow-light;
border: 0px;
border-radius: $main-border-radius;
}
.selected {
// color: goldenrod;
box-shadow: $main-box-shadow-light-selected;
}
}
#legend {
background: $main-bg-color-light;
width: 100%;
max-width: 95vw;
// height: 325px;
display: flex;
// flex-direction: column;
justify-content: space-evenly;
top: 250px;
left: 50px;
flex-wrap: wrap;
div {
border: 1px solid #ccc;
border-radius: 3px;
margin: 1px;
width: 80px;
display: flex;
flex-wrap: nowrap;
// background: #BBB;
button {
width: 20px;
height: 20px;
margin: 4px;
border: 0px;
border-radius: 2px;
background: $main-bg-color-light;
box-shadow: $main-box-shadow-light;
&:active {
transform: translateY(3px);
box-shadow: 0px 0px 2px rgba(0,0,0,0.3);
border-radius: $main-border-radius;
border: 0px;
padding: 0.3em;
margin-left: 10px;
margin-right: 10px;
font-size: 0.75em;
color: $main-font-color-light;
&.selected {
box-shadow: $main-box-shadow-light-selected;
}
}
span {
width: 60%;
justify-content: center;
text-align: center;
}
}
#legend {
// border: 1px solid orange;
background: $main-bg-color-light;
width: 100%;
// height: 325px;
display: flex;
flex-direction: column;
justify-content: space-evenly;
flex-wrap: wrap;
#legend-items {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
width: 100%;
.item {
border: 1px solid #ccc;
margin: 1px;
width: 80px;
display: flex;
button {
width: 20px;
height: 20px;
margin: 4px;
border: 0px;
border-radius: 2px;
box-shadow: $main-box-shadow-light;
&:active {
transform: translateY(3px);
box-shadow: 0px 0px 2px rgba(0,0,0,0.3);
}
}
span {
width: 60%;
justify-content: center;
text-align: center;
}
}
}
}
#morseButton {
@ -249,7 +251,7 @@ i[class*="ri-"] {
margin: 0px;
border: 0px;
// transition: all 20ms ease-out;
transition: transform 40ms ease-out, box-shadow 40ms ease-out, width 500ms ease-out, background 500ms ease-out;
transition: transform 40ms ease-out, box-shadow 40ms ease-out, width 500ms ease-out, background 500ms ease-out, color 500ms ease-out;
&.showPaddles {
color: #888;
@ -378,7 +380,7 @@ i[class*="ri-"] {
padding-right: 10px;
// border: 1px solid green;
border-radius: 4px;
border-radius: $main-border-radius;
box-shadow: $main-box-shadow-light;
font-size: 3rem;
@ -425,7 +427,7 @@ i[class*="ri-"] {
display: flex;
justify-content: center;
align-items: center;
border-radius: 4px;
border-radius: $main-border-radius;
box-shadow: $main-box-shadow-light;
// box-shadow: $morseCard-shadow-light;
@ -441,7 +443,7 @@ i[class*="ri-"] {
}
span {
padding: 4px;
padding: $main-border-radius;
transition: background 300ms ease-in-out;
}
}
@ -460,7 +462,7 @@ i[class*="ri-"] {
font-weight: bold;
span {
padding: 4px;
padding: $main-border-radius;
transition: background 100ms ease-in-out;
}
@ -560,13 +562,13 @@ i[class*="ri-"] {
.morseError {
background: rgba(255,0,0,0.4);
color: rgb(120, 0, 0);
border-radius: 5px;
border-radius: $main-border-radius;
// text-decoration: line-through;
}
.correct {
background: rgba(0,255,0,0.4);
// color: rgb(120, 0, 0);
border-radius: 5px;
border-radius: $main-border-radius;
}
// #morseHistory {
@ -593,7 +595,7 @@ i[class*="ri-"] {
}
}
#morseHistory {
border: 1px solid purple;
// border: 1px solid purple;
display: flex;
flex-direction: column;
width: 100%;
@ -647,7 +649,7 @@ i[class*="ri-"] {
background: #fdfdfd;
// width: 50%;
white-space: nowrap;
border-radius: 3px;
border-radius: $main-border-radius;
box-shadow: $morseCard-shadow-light;
line-height: 1.7rem;
display: flex;
@ -657,7 +659,7 @@ i[class*="ri-"] {
height: 1.7rem;
// background: blue;
color: rgb(120, 0, 0);
border-radius: 5px;
border-radius: $main-border-radius;
// text-decoration: line-through;
}
}