Skip to content

Commit 0368933

Browse files
committed
Fix tab-active styles
1 parent 39565a5 commit 0368933

File tree

4 files changed

+120
-3
lines changed

4 files changed

+120
-3
lines changed

dist/examples/github.raml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,27 @@ traits:
138138
Only issues updated at or after this time are returned.
139139
type: string
140140
# Search
141+
/test:
142+
/1:
143+
get:
144+
/2:
145+
post:
146+
/3:
147+
put:
148+
/4:
149+
delete:
150+
/5:
151+
patch:
152+
/6:
153+
options:
154+
/8:
155+
trace:
156+
/9:
157+
connect:
158+
/10:
159+
head:
160+
161+
141162
/search:
142163
/repositories:
143164
type: collection

dist/styles/api-console-dark-theme.css

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1699,7 +1699,39 @@ th {
16991699
color: #fff;
17001700
}
17011701

1702-
.raml-console-tab.raml-console-is-active .raml-console-tab-box {
1702+
.raml-console-tab.raml-console-is-active .raml-console-tab-get::before {
1703+
background: #18191d;
1704+
}
1705+
1706+
.raml-console-tab.raml-console-is-active .raml-console-tab-post::before {
1707+
background: #18191d;
1708+
}
1709+
1710+
.raml-console-tab.raml-console-is-active .raml-console-tab-put::before {
1711+
background: #18191d;
1712+
}
1713+
1714+
.raml-console-tab.raml-console-is-active .raml-console-tab-patch::before {
1715+
background: #18191d;
1716+
}
1717+
1718+
.raml-console-tab.raml-console-is-active .raml-console-tab-delete::before {
1719+
background: #18191d;
1720+
}
1721+
1722+
.raml-console-tab.raml-console-is-active .raml-console-tab-trace::before {
1723+
background: #18191d;
1724+
}
1725+
1726+
.raml-console-tab.raml-console-is-active .raml-console-tab-options::before {
1727+
background: #18191d;
1728+
}
1729+
1730+
.raml-console-tab.raml-console-is-active .raml-console-tab-head::before {
1731+
background: #18191d;
1732+
}
1733+
1734+
.raml-console-tab.raml-console-is-active .raml-console-tab-connect::before {
17031735
background: #18191d;
17041736
}
17051737

dist/styles/api-console-light-theme.css

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1699,7 +1699,39 @@ th {
16991699
color: #333;
17001700
}
17011701

1702-
.raml-console-tab.raml-console-is-active .raml-console-tab-box {
1702+
.raml-console-tab.raml-console-is-active .raml-console-tab-get::before {
1703+
background: #fff;
1704+
}
1705+
1706+
.raml-console-tab.raml-console-is-active .raml-console-tab-post::before {
1707+
background: #fff;
1708+
}
1709+
1710+
.raml-console-tab.raml-console-is-active .raml-console-tab-put::before {
1711+
background: #fff;
1712+
}
1713+
1714+
.raml-console-tab.raml-console-is-active .raml-console-tab-patch::before {
1715+
background: #fff;
1716+
}
1717+
1718+
.raml-console-tab.raml-console-is-active .raml-console-tab-delete::before {
1719+
background: #fff;
1720+
}
1721+
1722+
.raml-console-tab.raml-console-is-active .raml-console-tab-trace::before {
1723+
background: #fff;
1724+
}
1725+
1726+
.raml-console-tab.raml-console-is-active .raml-console-tab-options::before {
1727+
background: #fff;
1728+
}
1729+
1730+
.raml-console-tab.raml-console-is-active .raml-console-tab-head::before {
1731+
background: #fff;
1732+
}
1733+
1734+
.raml-console-tab.raml-console-is-active .raml-console-tab-connect::before {
17031735
background: #fff;
17041736
}
17051737

src/scss/_tab.scss

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,38 @@
278278
color: $color-console-tab-active;
279279
}
280280

281-
.tab.is-active .tab-box {
281+
.tab.is-active .tab-get::before {
282+
background: $color-console-tab-active-bg;
283+
}
284+
285+
.tab.is-active .tab-post::before {
286+
background: $color-console-tab-active-bg;
287+
}
288+
289+
.tab.is-active .tab-put::before {
290+
background: $color-console-tab-active-bg;
291+
}
292+
293+
.tab.is-active .tab-patch::before {
294+
background: $color-console-tab-active-bg;
295+
}
296+
297+
.tab.is-active .tab-delete::before {
298+
background: $color-console-tab-active-bg;
299+
}
300+
301+
.tab.is-active .tab-trace::before {
302+
background: $color-console-tab-active-bg;
303+
}
304+
305+
.tab.is-active .tab-options::before {
306+
background: $color-console-tab-active-bg;
307+
}
308+
309+
.tab.is-active .tab-head::before {
310+
background: $color-console-tab-active-bg;
311+
}
312+
313+
.tab.is-active .tab-connect::before {
282314
background: $color-console-tab-active-bg;
283315
}

0 commit comments

Comments
 (0)