Skip to content

Commit 801dd8e

Browse files
fix muted text style and search btn (#881)
1 parent dce76a8 commit 801dd8e

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

pgml-dashboard/static/css/scss/components/_buttons.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,14 @@
232232
}
233233
}
234234

235+
.btn-search-alt {
236+
border-radius: 0px;
237+
border-left: none;
238+
border-top: none;
239+
border-right: none;
240+
font-weight: $font-weight-medium;
241+
}
242+
235243
.postgres-logo {
236244
display: flex;
237245
align-items: center;
@@ -246,6 +254,7 @@
246254
color: #{$gray-100};
247255
display: flex;
248256
justify-content: space-between;
257+
font-weight: $font-weight-normal;
249258

250259
--bs-btn-border-color: transparent;
251260
--bs-btn-border-width: 1px;

pgml-dashboard/static/css/scss/themes/dark.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
--bs-link-color: #{$purple};
2020
--bs-link-hover-color:#{$purple};
2121

22+
--bs-secondary-color: #{$gray-300};
23+
2224
.list-group-item {
2325
--bs-list-group-color: #{$hp-white};
2426
}

pgml-dashboard/templates/components/left_nav_menu.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<% if link.icon.as_ref().is_some() { %>
1111
<span class="material-symbols-outlined"><%- link.icon.unwrap() %></span>
1212
<% } %>
13-
<span class="collapse collapse-horizontal leftnav-collapse show"><%= link.name %></span>
13+
<span class="fw-normal collapse collapse-horizontal leftnav-collapse show"><%= link.name %></span>
1414
</a>
1515
</li>
1616
<% } %>

pgml-dashboard/templates/layout/nav/top.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<a class="nav-link p-0" href="https://github.com/postgresml/postgresml">Open Source</a>
3636
</li>
3737
<li class="nav-item d-flex align-items-center">
38-
<button type="text" class="btn nav-link p-0" name="search" data-bs-toggle="modal" data-bs-target="#search" autocomplete="off" data-search-target="searchTrigger" data-action="search#openSearch">
38+
<button type="text" class="btn nav-link btn-search-alt p-0" name="search" data-bs-toggle="modal" data-bs-target="#search" autocomplete="off" data-search-target="searchTrigger" data-action="search#openSearch">
3939
Search
4040
</button>
4141
</li>

0 commit comments

Comments
 (0)