UI update
-- Added red line for fund end -- added tag for latest fund
This commit is contained in:
parent
a389ffa946
commit
2b86ac226d
21
css/main.css
21
css/main.css
@ -1,3 +1,4 @@
|
||||
@charset "UTF-8";
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
@ -695,6 +696,26 @@ sm-option {
|
||||
justify-self: center;
|
||||
}
|
||||
|
||||
fund-block:first-of-type::before {
|
||||
display: inline-flex;
|
||||
content: "• Latest Fund";
|
||||
padding: 0.4rem 0.8rem;
|
||||
font-weight: 700;
|
||||
font-size: 1rem;
|
||||
color: white;
|
||||
background-color: var(--accent-color);
|
||||
border-radius: 0.3rem 0.3rem 0 0;
|
||||
}
|
||||
fund-block:not(:last-of-type)::after {
|
||||
display: flex;
|
||||
content: "";
|
||||
padding: 0.4rem 0;
|
||||
font-weight: 700;
|
||||
width: 100%;
|
||||
background-color: var(--error-color);
|
||||
border-radius: 0 0 0.5rem 0.5rem;
|
||||
}
|
||||
|
||||
.flex-grid {
|
||||
grid-template-columns: repeat(auto-fill, minmax(24rem, 1fr));
|
||||
}
|
||||
|
||||
2
css/main.min.css
vendored
2
css/main.min.css
vendored
File diff suppressed because one or more lines are too long
@ -618,6 +618,31 @@ sm-option{
|
||||
}
|
||||
}
|
||||
|
||||
fund-block{
|
||||
&:first-of-type::before{
|
||||
display: inline-flex;
|
||||
content: '• Latest Fund';
|
||||
padding: 0.4rem 0.8rem;
|
||||
font-weight: 700;
|
||||
font-size: 1rem;
|
||||
color: white;
|
||||
background-color: var(--accent-color);
|
||||
border-radius: 0.3rem 0.3rem 0 0;
|
||||
}
|
||||
&:not(:last-of-type)::after{
|
||||
display: flex;
|
||||
content: '';
|
||||
// justify-content: center;
|
||||
padding: 0.4rem 0;
|
||||
font-weight: 700;
|
||||
width: 100%;
|
||||
// font-size: 0.9rem;
|
||||
// color: var(--background-color);
|
||||
background-color: var(--error-color);
|
||||
border-radius: 0 0 0.5rem 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.flex-grid{
|
||||
grid-template-columns: repeat(auto-fill, minmax(24rem, 1fr));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user