Skip to content

Commit

Permalink
Merge pull request #4 from natal-chart/transit-styles
Browse files Browse the repository at this point in the history
Styles for transits, plus more inline style
  • Loading branch information
lfborjas authored Dec 22, 2020
2 parents 7618bbb + bb4b528 commit 6ed9554
Show file tree
Hide file tree
Showing 7 changed files with 78 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@
<h3 class="d-inline text-primary">Planet Positions</h3>
</summary>
<div class="accordion-body scrollable-container">
<table class="table table-no-borders">
<table class="table table-no-borders table-hover-dark">
<thead>
<tr>
<th>Planet</th>
Expand Down
37 changes: 37 additions & 0 deletions dist/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
border-bottom-style: none !important;
}

.table-hover-dark tbody tr:hover
{
background: #0e1c8c;
}

/* Generated by Glyphter (http://www.glyphter.com) on Sat Sep 12 2020*/
@font-face
{
Expand Down Expand Up @@ -426,6 +431,16 @@ svg .radix path
fill-opacity: 0; stroke: rgba(255, 255, 255, .5);
}

svg .transiting-house-segment g,
svg .transiting-house-segment path,
svg .transiting-house-segment text,
svg .transiting-house-label g,
svg .transiting-house-label path,
svg .transiting-house-label text
{
fill-opacity: 0; stroke: rgba(255, 255, 255, .7); fill: rgba(255, 255, 255, .7);
}

svg .planet g,
svg .planet path
{
Expand All @@ -443,6 +458,23 @@ svg .planet-lines path
stroke: rgba(184, 150, 98, .6);
}

svg .transiting-planet g,
svg .transiting-planet path
{
stroke: purple; fill: #670067;
}

svg .transiting-planet text
{
fill: #670067;
}

svg .transiting-planet-lines g,
svg .transiting-planet-lines path
{
stroke: rgba(128, 0, 128, .6);
}

svg .container-circle
{
stroke: #fff;
Expand Down Expand Up @@ -595,6 +627,11 @@ svg .synthetic-aspect path
flex: auto;
}

.light-links a
{
color: white !important;
}

.divider-dark
{
border-top: .05rem solid #000950 !important;
Expand Down
2 changes: 1 addition & 1 deletion dist/base.min.css

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions src/_charts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ svg{
}
}

.transiting-house-segment, .transiting-house-label {
g, path, text{
fill-opacity: 0;
stroke: transparentize($white-color, 0.3);
fill: transparentize($white-color, 0.3);
}
}

.planet {
g, path{
stroke: $primary-color;
Expand All @@ -33,6 +41,23 @@ svg{
}
}

.transiting-planet {
g, path{
stroke: $transit-color;
fill: darken($transit-color, 5%);
}

text{
fill: darken($transit-color, 5%);
}
}

.transiting-planet-lines{
g, path{
stroke: transparentize($transit-color, 0.4);
}
}

.container-circle{
stroke: $white-color;
}
Expand Down
1 change: 1 addition & 0 deletions src/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
flex: auto;
}
}
.light-links a{ color: white !important; }
11 changes: 11 additions & 0 deletions src/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,14 @@
border-bottom-style: none !important;
}
}

//.table-hover-dark tr:hover{ border-bottom: .05rem solid #9da8ff !important; }
.table-hover-dark{
tbody{
tr{
&:hover{
background: lighten($darkish-color, 5%);
}
}
}
}
2 changes: 2 additions & 0 deletions src/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ $water-color: #07B1E7;
$earth-color: #00D89C;
$air-color: #EEB357;

$transit-color: purple;

$success-color: $earth-color;
$warning-color: $air-color;
$error-color: $fire-color;
Expand Down

0 comments on commit 6ed9554

Please sign in to comment.