mirror of
https://github.com/bendtherules/smallcase-portfolio-builder.git
synced 2026-08-18 22:02:56 +00:00
Adjust section widths and place remove button
This commit is contained in:
@@ -58,17 +58,21 @@
|
|||||||
padding: 0.25em;
|
padding: 0.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.portfolio-manager .editor-body .section-remove-btn {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
.portfolio-manager .section-stock {
|
.portfolio-manager .section-stock {
|
||||||
width: 35%;
|
width: 30%;
|
||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.portfolio-manager .section-shares {
|
.portfolio-manager .section-shares {
|
||||||
width: 23%;
|
width: 22%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.portfolio-manager .section-price, .portfolio-manager .section-weight {
|
.portfolio-manager .section-price, .portfolio-manager .section-weight {
|
||||||
width: 17%;
|
width: 20%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.portfolio-manager .section-remove-btn {
|
.portfolio-manager .section-remove-btn {
|
||||||
@@ -82,6 +86,27 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.portfolio-manager .editor-body .section-remove-btn {
|
.portfolio-manager .editor-body .section-remove-btn {
|
||||||
|
position: relative;
|
||||||
|
height: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.portfolio-manager .editor-body .section-remove-btn button {
|
||||||
|
position: absolute;
|
||||||
|
right: 0.5em;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
|
||||||
|
border-radius: 50%;
|
||||||
|
background-color: #EE6723;
|
||||||
|
color: white;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.portfolio-manager .editor-header .section-price, .portfolio-manager .editor-header .section-weight {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.portfolio-manager .editor-header .section-shares {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -90,14 +115,14 @@
|
|||||||
padding-right: 0.5em;
|
padding-right: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* +,-,remove Button styles */
|
||||||
|
|
||||||
.portfolio-manager button {
|
.portfolio-manager button {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 1em;
|
width: 1em;
|
||||||
height: 1em;
|
height: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* +,-,remove Button styles */
|
|
||||||
|
|
||||||
.portfolio-manager button .btn-text {
|
.portfolio-manager button .btn-text {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
@@ -127,6 +152,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Rupee styling */
|
/* Rupee styling */
|
||||||
|
|
||||||
.portfolio-manager .rupee-sign {
|
.portfolio-manager .rupee-sign {
|
||||||
font-family: PingFangSC-Light, serif;
|
font-family: PingFangSC-Light, serif;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user