Skip to content

Commit bac82f8

Browse files
committed
Update Docs to v1.12.0
1 parent d3ff783 commit bac82f8

File tree

2 files changed

+393
-87
lines changed

2 files changed

+393
-87
lines changed

dist/css/tani.css

Lines changed: 167 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Name: Tani
33
Description: A utility-first framework with rich component library
44
Author: Raymond Baghumian
5-
Version: 1.10.1
5+
Version: 1.12.0
66
License: MIT
77
*/
88

@@ -82,7 +82,7 @@ html {
8282
}
8383

8484
/* Layout container */
85-
.container {
85+
/* .container {
8686
max-width: var(--container-max);
8787
margin-left: auto;
8888
margin-right: auto;
@@ -94,7 +94,7 @@ html {
9494
width: 100%;
9595
padding-left: calc(var(--gutter) * 0.5);
9696
padding-right: calc(var(--gutter) * 0.5);
97-
}
97+
} */
9898

9999
/* ======================
100100
Typography
@@ -156,7 +156,7 @@ p {
156156
padding: 0.375rem 0.75rem;
157157
font-size: 1rem;
158158
border-radius: var(--border-radius);
159-
/* Removed transition for no animations */
159+
font-family: inherit;
160160
}
161161

162162
.btn:hover {
@@ -1178,6 +1178,9 @@ p {
11781178
.text-white {
11791179
color: var(--white) !important;
11801180
}
1181+
.text-decoration-none {
1182+
text-decoration: none !important;
1183+
}
11811184

11821185
/* Background */
11831186
.bg-primary {
@@ -1532,6 +1535,51 @@ p {
15321535
.rounded-0 {
15331536
border-radius: 0 !important;
15341537
}
1538+
.rounded-1 {
1539+
border-radius: 5px !important;
1540+
}
1541+
.rounded-2 {
1542+
border-radius: 10px !important;
1543+
}
1544+
.rounded-3 {
1545+
border-radius: 15px !important;
1546+
}
1547+
.rounded-4 {
1548+
border-radius: 20px !important;
1549+
}
1550+
.rounded-5 {
1551+
border-radius: 25px !important;
1552+
}
1553+
1554+
/* Font Sizes */
1555+
.fs-1 {
1556+
font-size: 1.5rem !important;
1557+
}
1558+
1559+
.fs-2 {
1560+
font-size: 1.25rem !important;
1561+
}
1562+
1563+
.fs-3 {
1564+
font-size: 1.12rem !important;
1565+
}
1566+
1567+
.fs-4 {
1568+
font-size: 0.87rem !important;
1569+
}
1570+
1571+
.fs-5 {
1572+
font-size: 0.75rem !important;
1573+
}
1574+
1575+
/* Font Weights */
1576+
.font-bold {
1577+
font-weight: bold !important;
1578+
}
1579+
1580+
.font-normal {
1581+
font-weight: normal !important;
1582+
}
15351583

15361584
/* Shadows */
15371585
.shadow-sm {
@@ -2012,10 +2060,105 @@ p {
20122060
cursor: default;
20132061
}
20142062

2063+
20152064
/* ======================
20162065
Navs and Tabs
20172066
====================== */
20182067

2068+
.tab {
2069+
display: flex;
2070+
flex-wrap: wrap;
2071+
padding-left: 0;
2072+
padding-right: 0;
2073+
margin-bottom: 0;
2074+
list-style: none;
2075+
}
2076+
2077+
.tab .nav-tab {
2078+
margin-right: 1rem;
2079+
margin-left: 1rem;
2080+
}
2081+
2082+
.tab .nav-tab:last-child {
2083+
margin-right: 0;
2084+
}
2085+
2086+
.tab-link {
2087+
display: block;
2088+
padding: 0.5rem 0.5rem 0.5rem 0.5rem;
2089+
text-decoration: none;
2090+
color: var(--dark);
2091+
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
2092+
}
2093+
2094+
.tab-link:hover,
2095+
.tab-link:focus {
2096+
color: var(--link-hover-color);
2097+
}
2098+
2099+
.tab-link.disabled {
2100+
color: var(--gray-500);
2101+
pointer-events: none;
2102+
cursor: default;
2103+
}
2104+
2105+
/* Active style mirrors .nav-tabs .nav-link.active */
2106+
.tab-link.active {
2107+
color: var(--gray-700);
2108+
background-color: var(--white);
2109+
}
2110+
2111+
/* Pills variant */
2112+
.tab-pills .tab-link {
2113+
border-radius: var(--border-radius);
2114+
background-color: transparent;
2115+
}
2116+
2117+
.tab-pills .tab-link.active {
2118+
color: var(--white);
2119+
background-color: var(--primary);
2120+
}
2121+
2122+
/* Fill / justified */
2123+
.tab-fill {
2124+
display: flex;
2125+
}
2126+
2127+
.tab-fill .nav-tab {
2128+
flex: 1 1 auto;
2129+
text-align: center;
2130+
}
2131+
2132+
.tab-justified .nav-tab {
2133+
flex-basis: 0;
2134+
flex-grow: 1;
2135+
text-align: center;
2136+
}
2137+
2138+
/* Vertical */
2139+
.tab-vertical {
2140+
flex-direction: column;
2141+
}
2142+
2143+
.tab-vertical .tab-link {
2144+
width: 100%;
2145+
}
2146+
2147+
.tab-content .tab-pane {
2148+
display: none;
2149+
}
2150+
.tab-content .tab-pane.active {
2151+
display: block;
2152+
}
2153+
.tab-content .tab-pane.fade {
2154+
opacity: 0;
2155+
transition: opacity 180ms linear;
2156+
}
2157+
.tab-content .tab-pane.fade.show {
2158+
opacity: 1;
2159+
}
2160+
2161+
20192162
/* Base nav styles */
20202163
.nav {
20212164
display: flex;
@@ -2029,7 +2172,7 @@ p {
20292172
display: block;
20302173
padding: 0.5rem 1rem;
20312174
text-decoration: none;
2032-
color: var(--primary);
2175+
color: var(--dark);
20332176
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
20342177
}
20352178

@@ -2044,20 +2187,21 @@ p {
20442187
cursor: default;
20452188
}
20462189

2190+
.nav-link.active {
2191+
color: var(--primary);
2192+
}
2193+
20472194
/* Nav tabs */
20482195
.nav-tabs {
20492196
border-bottom: 1px solid var(--border-color);
20502197
}
20512198

2052-
.nav-tabs .nav-item {
2053-
margin-bottom: -1px;
2054-
}
2055-
20562199
.nav-tabs .nav-link {
2200+
margin-bottom: -1px;
2201+
background: none;
20572202
border: 1px solid transparent;
20582203
border-top-left-radius: var(--border-radius);
20592204
border-top-right-radius: var(--border-radius);
2060-
background-color: transparent;
20612205
}
20622206

20632207
.nav-tabs .nav-link:hover,
@@ -2066,35 +2210,40 @@ p {
20662210
isolation: isolate;
20672211
}
20682212

2069-
.nav-tabs .nav-link.active {
2070-
color: var(--gray-700);
2071-
background-color: var(--white);
2072-
border-color: var(--border-color) var(--border-color) var(--white);
2073-
}
2074-
20752213
.nav-tabs .nav-link.disabled {
20762214
color: var(--gray-500);
20772215
background-color: transparent;
20782216
border-color: transparent;
20792217
}
20802218

2219+
.nav-tabs .nav-link.active,
2220+
.nav-tabs .nav-item.show .nav-link {
2221+
color: var(--gray-700);
2222+
background-color: var(--white);
2223+
border-color: var(--border-color) var(--border-color) var(--white);
2224+
}
2225+
20812226
/* Nav pills */
20822227
.nav-pills .nav-link {
2228+
background: none;
2229+
border: 0;
20832230
border-radius: var(--border-radius);
2084-
background-color: transparent;
20852231
}
20862232

2087-
.nav-pills .nav-link.active {
2233+
.nav-pills .nav-link.active,
2234+
.nav-pills .nav-item.show .nav-link {
20882235
color: var(--white);
20892236
background-color: var(--primary);
20902237
}
20912238

20922239
/* Nav fill and justified */
2240+
.nav-fill > .nav-link,
20932241
.nav-fill .nav-item {
20942242
flex: 1 1 auto;
20952243
text-align: center;
20962244
}
20972245

2246+
.nav-justified > .nav-link,
20982247
.nav-justified .nav-item {
20992248
flex-basis: 0;
21002249
flex-grow: 1;
@@ -2110,32 +2259,7 @@ p {
21102259
width: 100%;
21112260
}
21122261

2113-
/* Tab content */
2114-
.tab-content {
2115-
margin-top: 1rem;
2116-
}
2117-
2118-
.tab-pane {
2119-
display: none;
2120-
}
21212262

2122-
.tab-pane.active {
2123-
display: block;
2124-
}
2125-
2126-
/* Fade animation for tabs */
2127-
.tab-pane.fade {
2128-
opacity: 0;
2129-
transition: opacity 0.15s linear;
2130-
}
2131-
2132-
.tab-pane.fade.show {
2133-
opacity: 1;
2134-
}
2135-
2136-
.tab-pane.fade.active {
2137-
opacity: 1;
2138-
}
21392263

21402264
/* Responsive behavior */
21412265
@media (max-width: 991.98px) {

0 commit comments

Comments
 (0)