mirror of
https://github.com/wekan/wekan.git
synced 2026-01-14 13:38:51 +01:00
Change Admin Panel "Attachment Settings" and "Cron Settings" options to be tabs, not submenu.
Thanks to xet7 !
This commit is contained in:
parent
0e3a17d922
commit
ae2aa1f5cd
7 changed files with 200 additions and 135 deletions
67
client/components/settings/settingsTabs.css
Normal file
67
client/components/settings/settingsTabs.css
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
/* Settings Tabs Styles */
|
||||
.settings-tabs {
|
||||
margin-bottom: 20px;
|
||||
border-bottom: 1px solid #e0e0e0;
|
||||
}
|
||||
|
||||
.tab-nav {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.tab-nav li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.tab-nav li a {
|
||||
display: block;
|
||||
padding: 12px 20px;
|
||||
text-decoration: none;
|
||||
color: #666;
|
||||
border-bottom: 3px solid transparent;
|
||||
transition: all 0.3s ease;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.tab-nav li a:hover {
|
||||
color: #333;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
.tab-nav li.active a {
|
||||
color: #2196F3;
|
||||
border-bottom-color: #2196F3;
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
|
||||
.tab-nav li a i {
|
||||
margin-right: 8px;
|
||||
width: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
padding: 20px 0;
|
||||
min-height: 400px;
|
||||
}
|
||||
|
||||
/* Responsive design */
|
||||
@media (max-width: 768px) {
|
||||
.tab-nav {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.tab-nav li a {
|
||||
border-bottom: 1px solid #e0e0e0;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
.tab-nav li.active a {
|
||||
border-bottom-color: #2196F3;
|
||||
border-right: 3px solid #2196F3;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue