generated from feelpp/feelpp-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prettier ui & fix overflow in param table :)
- Loading branch information
1 parent
26fd84e
commit cd751f9
Showing
2 changed files
with
71 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,78 @@ | ||
.figure-container { | ||
position: relative; | ||
} | ||
margin: 1.5rem auto; | ||
padding: 1rem; | ||
background-color: #fff; | ||
border: 1px solid #ddd; | ||
border-radius: 8px; | ||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); | ||
} | ||
|
||
.subfigure-container { | ||
.subfigure-container { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
transition: opacity 0.2s ease; | ||
} | ||
background-color: #f9f9f9; | ||
padding: 1rem; | ||
border: 1px solid #ddd; | ||
border-top: none; | ||
border-radius: 0 0 8px 8px; | ||
} | ||
|
||
.subfigure-container.active { | ||
.subfigure-container.active { | ||
position: relative; | ||
opacity: 1; | ||
pointer-events: auto; | ||
z-index: 1; | ||
} | ||
} | ||
|
||
.subfigure-container.inactive { | ||
.subfigure-container.inactive { | ||
opacity: 0; | ||
pointer-events: none; | ||
z-index: 0; | ||
} | ||
} | ||
|
||
/* Tabs container: display buttons inline with a bottom border to indicate grouping */ | ||
.tabs-container { | ||
display: flex; | ||
border-bottom: 2px solid #007acc; | ||
margin-bottom: 0.5rem; | ||
} | ||
|
||
/* Figure tab button styling */ | ||
.figure-tab { | ||
background: transparent; | ||
border: none; | ||
outline: none; | ||
padding: 0.5rem 1rem; | ||
margin-right: 0.3rem; | ||
font-size: 1rem; | ||
color: #007acc; | ||
cursor: pointer; | ||
border-radius: 4px 4px 0 0; | ||
transition: background-color 0.2s ease, color 0.2s ease; | ||
} | ||
|
||
.figure-tab:hover, | ||
.figure-tab.active { | ||
background-color: #007acc; | ||
color: #fff; | ||
} | ||
|
||
.export-container button { | ||
background-color: #007acc; | ||
color: #fff; | ||
border: none; | ||
padding: 0.4rem 0.8rem; | ||
margin-right: 0.4rem; | ||
border-radius: 4px; | ||
cursor: pointer; | ||
font-size: 0.9rem; | ||
transition: background-color 0.2s ease; | ||
} | ||
|
||
.export-container button:hover { | ||
background-color: #005fa3; | ||
} |