Skip to content

Commit

Permalink
Update theme color.
Browse files Browse the repository at this point in the history
  • Loading branch information
toddbirchard committed May 7, 2024
1 parent f26de5e commit c48562c
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pythonmyadmin/static/dist/css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 10 additions & 3 deletions pythonmyadmin/static/less/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@ html {
padding: 0 !important;
}

a {
a,
.link {
text-decoration: none;
color: @link-color;
color: @theme-color;
font-size: 1.2em;
line-height: 1.1;
font-weight: 500;
&:hover {
cursor: pointer;
opacity: 1;
opacity: 0.8;
}
}

Expand Down Expand Up @@ -74,6 +77,10 @@ html {
}
}

.link {
color: @theme-color;
}

.dash-spreadsheet-container {
max-width: 100%;
margin: 40px auto !important;
Expand Down
1 change: 1 addition & 0 deletions pythonmyadmin/static/less/nav.less
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ header {
.nav-link {
color: #59657b;
line-height: 1;
font-size: 1.1em;
text-decoration: none;
}

Expand Down
2 changes: 1 addition & 1 deletion pythonmyadmin/static/less/table.less
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@

.input-active {
overflow: visible !important;
color: #829ab2;
color: @theme-color;
text-align: left !important;
}
}
Expand Down
2 changes: 1 addition & 1 deletion pythonmyadmin/static/less/variables.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@background-color: #e7ecf7;
@link-color: #5eb9d7;
@theme-color: #0297f6;

@body-font: 'Lato', helvetica, sans-serif;

Expand Down
2 changes: 1 addition & 1 deletion pythonmyadmin/templates/index.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<ul>
{% for table in tables %}
<li>
<a href="/table/{{table}}">{{table}}</a>
<a href="/table/{{table}}" class="link">{{table}}</a>
</li>
{% endfor %}
</ul>
Expand Down

0 comments on commit c48562c

Please sign in to comment.