mirror of
https://github.com/wekan/wekan.git
synced 2026-03-07 14:20:15 +01:00
Replace templates:tabs Atmosphere package with inline Blaze implementation
Drop the templates:tabs dependency as part of Meteor 3.0 migration prep. The package is replaced by a lightweight inline basicTabs/tabContent template pair with identical API, so no consumer template changes needed.
This commit is contained in:
parent
ff7729fc35
commit
81d3a08b9b
7 changed files with 91 additions and 7 deletions
|
|
@ -477,9 +477,39 @@ a:not(.disabled).is-active i.fa {
|
|||
.viewer a:hover {
|
||||
color: #333;
|
||||
}
|
||||
.basicTabs-container .tabs-list {
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
}
|
||||
.basicTabs-container .tabs-list .tab-item {
|
||||
font-weight: 600;
|
||||
font-size: 13px;
|
||||
display: inline-block;
|
||||
padding: 13px 15px;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
.basicTabs-container .tabs-list .tab-item.active {
|
||||
border-radius: 5px 5px 0 0;
|
||||
border: 1px solid #ddd;
|
||||
border-bottom: none;
|
||||
margin-bottom: -1px !important;
|
||||
padding: 12px 14px 14px 14px !important;
|
||||
background-color: #fff;
|
||||
color: #333;
|
||||
}
|
||||
.basicTabs-container .tabs-content-container {
|
||||
padding: 0;
|
||||
padding-top: 15px;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
.basicTabs-container .tabs-content {
|
||||
display: none;
|
||||
}
|
||||
.basicTabs-container .tabs-content.active {
|
||||
display: block;
|
||||
}
|
||||
.no-scrollbars {
|
||||
scrollbar-width: none;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue