Skip to content

Commit

Permalink
Fix scrolling sidebar nav menu, remove white lines from tables
Browse files Browse the repository at this point in the history
  • Loading branch information
Janell-Huyck committed Nov 15, 2024
1 parent d0ca207 commit c3db66e
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 11 deletions.
1 change: 1 addition & 0 deletions app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ a:hover {
width: 100% !important;
background-color: transparent;
border-radius: 5px;
border-color: black;
}

.table td, .table th {
Expand Down
3 changes: 2 additions & 1 deletion app/assets/stylesheets/software_records.scss
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ option {
}

#pillSideNav span {
position: absolute;
position: fixed;
left: -117px;
top: 100px;
transition: 0.3s;
Expand Down Expand Up @@ -238,6 +238,7 @@ option {
width: 100% !important;
background-color: transparent;
border-radius: 5px;
border-color: black;
}

.table td, .table th {
Expand Down
2 changes: 1 addition & 1 deletion app/views/change_requests/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<% if @change_request_counts != 0 %>
<div class="container" style="margin-bottom: 10rem;">
<div class="row">
<table class="table table-bordered text-center">
<table class="table text-center">
<thead class="table-light">
<tr>
<th class="text-start ps-5" style="background-color: black ; color: white">Completed</th>
Expand Down
10 changes: 5 additions & 5 deletions app/views/front/dashboard.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,27 @@
<% if @indesign_count != 0 %>
<table class="table text-center w-25" style="padding-left: 20p; background-color: black">
<thead>
<tr">
<tr>
<th class="align-left" style="padding-left: 20px; background-color: black ; color: white"><%= sortable "title", "Software Record" %>
<% if params[:direction] == "asc" || params[:direction] == nil %>
<i class="fa fa-caret-up"></i>
<% else %>
<i class="fa fa-caret-down float-none"></i>
<% end %></th>
<th class="align-left" style="padding-left: 20px; padding-left: 20px; background-color: black ; color: white"><%= sortable "vendor_record_id", "Vendor" %>
<th class="align-left" style="padding-left: 20px; background-color: black ; color: white"><%= sortable "vendor_record_id", "Vendor" %>
<% if params[:direction] == "asc" || params[:direction] == nil %>
<i class="fa fa-caret-up"></i>
<% else %>
<i class="fa fa-caret-down float-none"></i>
<% end %></th>
<th class="align-left" style="padding-left: 20px; padding-left: 20px; background-color: black ; color: white"><%= sortable "current_version", "Current Version" %>
<th class="align-left" style="padding-left: 20px; background-color: black ; color: white"><%= sortable "current_version", "Current Version" %>
<% if params[:direction] == "asc" || params[:direction] == nil %>
<i class="fa fa-caret-up"></i>
<% else %>
<i class="fa fa-caret-down float-none"></i>
<% end %></th>
<th class="align-left" style="padding-left: 20px; padding-left: 20px; background-color: black ; color: white">Status</th>
<th class="align-left" style="padding-left: 20px; padding-left: 20px; background-color: black ; color: white""><%= sortable "production_url", "URL" %>
<th class="align-left" style="padding-left: 20px; background-color: black ; color: white">Status</th>
<th class="align-left" style="padding-left: 20px; background-color: black ; color: white""><%= sortable "production_url", "URL" %>
<% if params[:direction] == "asc" || params[:direction] == nil %>
<i class="fa fa-caret-up"></i>
<% else %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/hosting_environments/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<% if @hosting_env_counts != 0 %>
<div class="container" style="margin-bottom: 10rem;">
<div class="row">
<table class="table table-bordered text-center">
<table class="table text-center">
<thead class="table-light">
<tr>
<th class="text-start ps-5" style="background-color: black ; color: white"><%= sortable "title", "Hosting Environment" %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/software_types/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<% if @softwaretypes_count != 0 %>
<div class="container" style="margin-bottom: 10rem;">
<div class="row">
<table class="table table-bordered text-center">
<table class="table text-center">
<thead class="table-light">
<tr>
<th class="text-start ps-5" style="background-color: black ; color: white" ><%= sortable "title", "Software Types" %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/statuses/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<% if @statuses_count != 0 %>
<div class="container" style="margin-bottom: 10rem;">
<div class="row">
<table class="table table-bordered text-center">
<table class="table text-center">
<thead class="table-light">
<tr>
<th class="text-start ps-5" style="background-color: black ; color: white"><%= sortable "title", "Status" %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/vendor_records/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<% if @vendorrecords_count != 0 %>
<div class="container" style="margin-bottom: 10rem;">
<div class="row">
<table class="table table-bordered text-center">
<table class="table text-center">
<thead class="table-light">
<tr>
<th class="text-start ps-5" style="padding-left: 20px; background-color: black ; color: white"><%= sortable "title", "Vendors" %>
Expand Down

0 comments on commit c3db66e

Please sign in to comment.