diff --git a/app/assets/stylesheets/tables.css b/app/assets/stylesheets/tables.css new file mode 100644 index 0000000..2d4a280 --- /dev/null +++ b/app/assets/stylesheets/tables.css @@ -0,0 +1,30 @@ +#table-content{ + padding: 1em; + background-color: var(--inset-bg-color); + border: 1px solid #000; + z-index: 1; +} + +.table-tabs { + ul { + margin: 0; + } + li { + list-style-type: none; + display: inline; + a:link, a:visited { + color: inherit; + text-decoration: none; + background-color: var(--inset-bg-color); + padding: .5em 1em; + border: 1px solid black; + position: relative; + top: 1px; + } + a:link.active, a:visited.active { + display: inline-block; + z-index: 1000; + border-bottom: none; + } + } +} diff --git a/app/views/layouts/table.html.erb b/app/views/layouts/table.html.erb index e35448f..efa9959 100644 --- a/app/views/layouts/table.html.erb +++ b/app/views/layouts/table.html.erb @@ -1,12 +1,13 @@ <% content_for :submenu do %>

<%= @table.name %>

-