aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fixtures/less
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fixtures/less')
-rw-r--r--tests/fixtures/less/_label.less10
-rw-r--r--tests/fixtures/less/buttons.less51
-rw-r--r--tests/fixtures/less/mixins.less8
-rw-r--r--tests/fixtures/less/nested.less17
4 files changed, 86 insertions, 0 deletions
diff --git a/tests/fixtures/less/_label.less b/tests/fixtures/less/_label.less
new file mode 100644
index 0000000..43c13a4
--- /dev/null
+++ b/tests/fixtures/less/_label.less
@@ -0,0 +1,10 @@
+/*
+A default form label
+
+Styleguide 5.0.0
+*/
+label {
+ display: block;
+ float: left;
+ width: 150px;
+} \ No newline at end of file
diff --git a/tests/fixtures/less/buttons.less b/tests/fixtures/less/buttons.less
new file mode 100644
index 0000000..afc58ac
--- /dev/null
+++ b/tests/fixtures/less/buttons.less
@@ -0,0 +1,51 @@
+/*
+Your standard form button.
+
+:hover - Highlights when hovering.
+:disabled - Dims the button when disabled.
+.primary - Indicates button is the primary action.
+.smaller - A little bit smaller now.
+
+Styleguide 2.1.1.
+*/
+button, .button {
+ padding:5px 15px;
+
+ &.primary, &.primary:hover{
+ color:#fff;
+ }
+
+ &.smaller{
+ font-size:9px;
+ }
+
+ &:hover{
+ color:#337797;
+ }
+
+ &:disabled{
+ opacity:0.5;
+ }
+}
+
+/*
+A button suitable for giving stars to someone.
+
+.star-given - A highlight indicating you've already given a star.
+.disabled - Dims the button to indicate it cannot be used.
+
+Styleguide 2.2.1.
+*/
+a.button.star{
+ display:inline-block;
+
+ .star{ font-size:10px; }
+
+ &.star-given{
+ color:#ae7e00;
+ }
+
+ &.disabled{
+ opacity:0.5;
+ }
+} \ No newline at end of file
diff --git a/tests/fixtures/less/mixins.less b/tests/fixtures/less/mixins.less
new file mode 100644
index 0000000..87b5272
--- /dev/null
+++ b/tests/fixtures/less/mixins.less
@@ -0,0 +1,8 @@
+/*
+Your standard grid helper.
+
+Styleguide 4.0.0.
+*/
+.grid(@columns, @max: 10) {
+ width: (@columns / @max) * 960px;
+} \ No newline at end of file
diff --git a/tests/fixtures/less/nested.less b/tests/fixtures/less/nested.less
new file mode 100644
index 0000000..3eea176
--- /dev/null
+++ b/tests/fixtures/less/nested.less
@@ -0,0 +1,17 @@
+@import "_label";
+/*
+Your standard form element.
+
+Styleguide 3.0.0
+*/
+form {
+
+ /*
+ Your standard text input box.
+
+ Styleguide 3.0.1
+ */
+ input[type="text"] {
+ border: 1px solid #ccc;
+ }
+} \ No newline at end of file