Skip to content

Commit

Permalink
Getting styles to look as close to the same as I can for different ta…
Browse files Browse the repository at this point in the history
…b mechanism that puts them in correct order.
  • Loading branch information
sfisher committed Jan 3, 2025
1 parent 0f080f7 commit 8a092f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 25 deletions.
18 changes: 5 additions & 13 deletions dev/scss/_tab.scss
Original file line number Diff line number Diff line change
Expand Up @@ -130,27 +130,19 @@

/* Active tab label styling */
.tabnew__input:checked + .tabnew__label {
/*
background: #ffffff;
border-bottom: 2px solid #007bff;
font-weight: bold;
*/
border-bottom: 1px solid $design-light-gray-bg-color;
background: $design-light-gray-bg-color;
color: $design-black-color;

+ .tabnew__content {
display: block;
}
}

/* Tab content */
.tabnew__content {
/*
padding: 20px;
background: #ffffff;
font-size: 16px;
line-height: 1.5;
*/

width: 100%;
margin-top: -1px;
margin-top: -2px;
padding: 10px;
border: 1px solid $design-light-gray-border-color;
background: $design-light-gray-bg-color;
Expand Down
15 changes: 3 additions & 12 deletions static_src/stylesheets/main2.min.css

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

0 comments on commit 8a092f9

Please sign in to comment.