-
-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #438 from black7375/dev
Ver 6.0.0 Feedback Thread
- Loading branch information
Showing
98 changed files
with
5,462 additions
and
1,658 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
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 |
---|---|---|
@@ -0,0 +1,118 @@ | ||
@use 'true' as *; | ||
@use "example" as *; | ||
@use "../src/utils/one_liner"; | ||
|
||
@include test-module("One Liner [mix]") { | ||
@include test("content") { | ||
@include assert { | ||
@include output { | ||
@include one_liner.OneLinerContent { | ||
@include example; | ||
} | ||
} | ||
@include expect { | ||
@supports not -moz-bool-pref("userChrome.tabbar.one_liner.responsive") { | ||
@include example; | ||
} | ||
@supports -moz-bool-pref("userChrome.tabbar.one_liner.responsive") { | ||
@media screen and (min-width: 1100px) { | ||
@include example; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
@include test("explicitly") { | ||
@include assert { | ||
@include output { | ||
@include one_liner.OneLiner { | ||
@include example; | ||
} | ||
} | ||
@include expect { | ||
@supports -moz-bool-pref("userChrome.tabbar.one_liner") { | ||
@supports not -moz-bool-pref("userChrome.tabbar.one_liner.responsive") { | ||
@include example; | ||
} | ||
@supports -moz-bool-pref("userChrome.tabbar.one_liner.responsive") { | ||
@media screen and (min-width: 1100px) { | ||
@include example; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
@include test-module("One Liner for Responsive [mix]") { | ||
@include test("Tabs on bottom") { | ||
@include assert { | ||
@include output { | ||
@include one_liner.OneLinerOnBottom { | ||
@include example; | ||
} | ||
} | ||
@include expect { | ||
@supports not -moz-bool-pref("userChrome.tabbar.one_liner") { | ||
@include example; | ||
} | ||
@supports -moz-bool-pref("userChrome.tabbar.one_liner") { | ||
@supports -moz-bool-pref("userChrome.tabbar.one_liner.responsive") { | ||
@media screen and (max-width: 1100px) { | ||
@include example; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
@include test("Tab bar") { | ||
@include assert { | ||
@include output { | ||
@include one_liner.OneLinerTabbar { | ||
@include example; | ||
} | ||
} | ||
@include expect { | ||
@supports not -moz-bool-pref("userChrome.tabbar.one_liner.responsive") { | ||
@include example; | ||
} | ||
@supports -moz-bool-pref("userChrome.tabbar.one_liner.responsive") { | ||
@media screen and (min-width: 1100px) { | ||
@include example; | ||
} | ||
@supports -moz-bool-pref("userChrome.autohide.tabbar") { | ||
@include example; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
@include test("Nav Bar") { | ||
@include assert { | ||
@include output { | ||
@include one_liner.OneLinerNavbar { | ||
@include example; | ||
} | ||
} | ||
@include expect { | ||
@supports -moz-bool-pref("userChrome.autohide.navbar") { | ||
@supports not -moz-bool-pref("userChrome.tabbar.one_liner") { | ||
@include example; | ||
} | ||
@supports -moz-bool-pref("userChrome.tabbar.one_liner") { | ||
@supports -moz-bool-pref("userChrome.tabbar.one_liner.responsive") { | ||
@media screen and (max-width: 1100px) { | ||
@include example; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.