Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Optimized the style of the cursor hovering over tabs #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions demos/tabs.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
.tabs ol:first-child{ display: flex; border: 1px solid #B8B3AE; border-bottom: none; }
.tabs ol:first-child>li{ flex-grow: 1; padding: 20px; text-align: center; text-transform: uppercase;
background: linear-gradient(to bottom, #e5dfd3 0%,#d0c9b8 100%); color: #847E6F; text-shadow: 1px 1px 1px white;
box-shadow: inset 0 0 2px hsla(0,0%,0%,0.15); }
box-shadow: inset 0 0 2px hsla(0,0%,0%,0.15); cursor: pointer;}
.tabs ol:first-child>li.active{ background: linear-gradient(to bottom, white 0%,#F0EDE6 100%);
color: #222222; box-shadow: none; }
color: #222222; box-shadow: none; cursor: default; }
.tabs ol:nth-child(2){ border: 1px solid #B8B3AE; border-top: none; background: #F0EDE6; }
.tabs ol:nth-child(2) > li{ display: none; min-height: 5em; }
.tabs ol:nth-child(2) > li.active{ display: flex; justify-content: center; align-items: center; }
Expand Down