aboutsummaryrefslogtreecommitdiff
path: root/src/scss/objects
diff options
context:
space:
mode:
authorPhil <phil.buschmann@tum.de>2018-05-15 11:22:35 +0200
committerPhil <phil.buschmann@tum.de>2018-05-15 11:22:35 +0200
commitf80bf66d3bb01deead290961f5d8d3b579bd4195 (patch)
tree83359ebc284136ebed93e83d886fe7df3d9e7601 /src/scss/objects
parent4ef6ebf0928e23bc8677a8de6c0c0d36f47308f3 (diff)
downloadgnunet-webui-f80bf66d3bb01deead290961f5d8d3b579bd4195.tar.gz
gnunet-webui-f80bf66d3bb01deead290961f5d8d3b579bd4195.zip
SCSS with iotaCSS added
Diffstat (limited to 'src/scss/objects')
-rw-r--r--src/scss/objects/_container.scss56
-rw-r--r--src/scss/objects/_grid.scss81
-rw-r--r--src/scss/objects/_list.scss78
-rw-r--r--src/scss/objects/_media.scss89
-rw-r--r--src/scss/objects/_type.scss19
5 files changed, 323 insertions, 0 deletions
diff --git a/src/scss/objects/_container.scss b/src/scss/objects/_container.scss
new file mode 100644
index 0000000..2b28286
--- /dev/null
+++ b/src/scss/objects/_container.scss
@@ -0,0 +1,56 @@
1/**
2 * Allows you to change the default container name
3 * from .o-container.
4 *
5 * Type: String
6 */
7
8$iota-objs-container-namespace: 'container';
9
10
11/**
12 * Allows you to specify the default set of padding
13 * left and right of your container. You can use a
14 * map in case you would like to specify responsive
15 * gutter sizes.
16 *
17 * Type: Number / List / Map
18 */
19
20$iota-objs-container-gutter-default: $iota-global-gutter-default;
21
22
23/**
24 * Allows you to specify more sets of padding left and
25 * right of your container. You can use a nested map in
26 * case you would like to specify responsive gutter sizes.
27 *
28 * Type: Map
29 */
30
31$iota-objs-container-gutter-extra: ();
32
33
34/**
35 * Allows you to specify the default max-width of your
36 * container. You can use a map in case you would like
37 * to specify a responsive size.
38 *
39 * Type: String / Map
40 */
41
42$iota-objs-container-size-default: 1000px;
43
44
45/**
46 * Allows you to specify more sets of max-width for your
47 * container. You can use a nested map in case you would
48 * like to specify a responsive size.
49 *
50 * Type: Map
51 */
52
53$iota-objs-container-size-extra: ();
54
55
56@import 'node_modules/iotacss/objects/container';
diff --git a/src/scss/objects/_grid.scss b/src/scss/objects/_grid.scss
new file mode 100644
index 0000000..93a3c48
--- /dev/null
+++ b/src/scss/objects/_grid.scss
@@ -0,0 +1,81 @@
1/**
2 * Enable / Disable aligment modifiers.
3 * .o-grid--right : Align columns on right horizontally
4 * .o-grid--center : Align columns on center horizontally
5 * .o-grid--middle : Align columns on middle vertically
6 * .o-grid--bottom : Align columns on bottom vertically
7 *
8 * Type: Boolean
9 */
10
11$iota-objs-grid-aligned: false;
12
13
14/**
15 * Enable / Disable reversed modifier
16 * .o-grid--rev : Reverse columns order
17 *
18 * Type: Boolean
19 */
20
21$iota-objs-grid-rev: false;
22
23
24/**
25 * Default gutter size. Use a number for a single size or
26 * a map for a responsive size.
27 *
28 * Type: Number / Map
29 */
30
31$iota-objs-grid-gutter-default: $iota-global-gutter-default;
32
33
34/**
35 * Extra gutters map. Each gutter size will be available as a
36 * modifier that will be named according to the gutter name.
37 * Each gutter size will be available as a modifier that will
38 * be named according to the gutter name.
39 * E.g. If $iota-objs-grid-gutter-extra: ('compact': '10px');
40 * then .o-grid--compact will be available for use.
41 *
42 * Type: Map
43 */
44
45$iota-objs-grid-gutter-extra: ();
46
47
48/**
49 * Enable / Disable flexbox on grid.
50 *
51 * Type: Boolean
52 */
53
54$iota-objs-grid-flex: $iota-global-flex;
55
56
57/**
58 * Enable / Disable equal height modifier .o-grid--equal-height.
59 * Works only if $iota-obj-grid-flex is enabled.
60 *
61 * Type: Boolean
62 */
63
64$iota-objs-grid-equal-height: false;
65
66
67/**
68 * Namespace classes
69 *
70 * Type: String
71 */
72
73$iota-objs-grid-namespace : 'grid';
74$iota-objs-grid-column-name : 'col';
75$iota-objs-grid-align-right-name : 'right';
76$iota-objs-grid-align-center-name : 'center';
77$iota-objs-grid-align-top-name : 'top';
78$iota-objs-grid-namespace : 'grid';
79
80
81@import 'node_modules/iotacss/objects/grid';
diff --git a/src/scss/objects/_list.scss b/src/scss/objects/_list.scss
new file mode 100644
index 0000000..7e91ef1
--- /dev/null
+++ b/src/scss/objects/_list.scss
@@ -0,0 +1,78 @@
1/**
2 * Enable / Disable aligment modifiers.
3 * .o-list--middle : Align list items on middle vertically
4 * .o-list--bottom : Align list items on bottom vertically
5 *
6 * Type: Boolean
7 */
8
9$iota-objs-list-aligned: false;
10
11
12/**
13 * Enable / Disable block modifier. .o-list--block : Each list
14 * item will have display block with a bottom margin.
15 *
16 * Type: Boolean
17 */
18
19$iota-objs-list-block: false;
20
21
22/**
23 * Enable / Disable inline modifier. .o-list--inline Each list
24 * item will have display inline-block with a right margin.
25 *
26 * Type: Boolean
27 */
28
29$iota-objs-list-inline: false;
30
31
32/**
33 * Enable / Disable span modifier. .o-list--span : Each list
34 * item will have display table-cell with a border spacing so
35 * that they never wrap to a new row.
36 *
37 * Type: Boolean
38 */
39
40$iota-objs-list-span: false;
41
42
43/**
44 * Default gutter size. Use a number for a single size or
45 * a map for a responsive size.
46 *
47 * Type: Number / Map
48 */
49
50$iota-objs-list-gutter-default: $iota-global-gutter-default;
51
52
53/**
54 * Extra gutters map. Each gutter size will be available
55 * as a modifier that will be named according to the gutter
56 * name. E.g. If $iota-objs-list-gutter-extra: ('compact': '10px');
57 * then .o-list--compact will be available for use.
58 *
59 * Type: Map
60 */
61
62$iota-objs-list-gutter-extra: ();
63
64
65/**
66 * Namespace classes
67 *
68 * Type: String
69 */
70
71$iota-objs-list-namespace : 'list';
72$iota-objs-list-item-name : 'item';
73$iota-objs-list-block-name : 'block';
74$iota-objs-list-inline-name : 'inline';
75$iota-objs-list-span-name : 'span';
76
77
78@import 'node_modules/iotacss/objects/list';
diff --git a/src/scss/objects/_media.scss b/src/scss/objects/_media.scss
new file mode 100644
index 0000000..2c52f87
--- /dev/null
+++ b/src/scss/objects/_media.scss
@@ -0,0 +1,89 @@
1/**
2 * Enable / Disable aligment modifiers.
3 * .o-media--middle Align columns at middle vertically
4 * .o-media--bottom Align columns at bottom vertically.
5 *
6 * Type: Boolean
7 */
8
9$iota-objs-media-aligned: false;
10
11
12/**
13 * Enable / Disable reversed modifier
14 * .o-media--rev Reverse columns order
15 *
16 * Type: Boolean
17 */
18
19$iota-objs-media-rev: false;
20
21
22/**
23 * Default gutter size. Use a number for a single size or
24 * a map for a responsive size.
25 *
26 * Type: Number / Map
27 */
28
29$iota-objs-media-gutter-default: $iota-global-gutter-default;
30
31
32/**
33 * Extra gutters map. Each gutter size will be available as
34 * a modifier that will be named according to the gutter name.
35 * Use a map for a single size or a nested map for a responsive
36 * size. E.g. If $iota-objs-media-gutter-extra: ('compact': '10px');
37 * then .o-media--compact will be available for use.
38 *
39 * Type: Map
40 */
41
42$iota-objs-media-gutter-extra: ();
43
44
45/**
46 * Enable / Disable flexbox
47 *
48 * Type: Boolean
49 */
50
51$iota-objs-media-flex: $iota-global-flex;
52
53
54/**
55 * Enable / Disable responsive modifier.
56 * .o-media--res Collapse fluid section bellow fixed one,
57 * at a specific max-width breakpoint.
58 *
59 * Type: Boolean
60 */
61
62$iota-objs-media-res: false;
63
64
65/**
66 * Specify max-width for breakpoint to collapse at.
67 *
68 * Type: Number
69 */
70
71$iota-objs-media-collapse-at: 767px;
72
73
74/**
75 * Namespace classes
76 *
77 * Type: String
78 */
79
80$iota-objs-media-namespace : 'media';
81$iota-objs-media-fixed-name : 'fixed';
82$iota-objs-media-fluid-name : 'fluid';
83$iota-objs-media-reversed-name : 'rev';
84$iota-objs-media-align-middle-name : 'middle';
85$iota-objs-media-align-bottom-name : 'bottom';
86$iota-objs-media-responsive-name : 'res';
87
88
89@import 'node_modules/iotacss/objects/media';
diff --git a/src/scss/objects/_type.scss b/src/scss/objects/_type.scss
new file mode 100644
index 0000000..ed74bde
--- /dev/null
+++ b/src/scss/objects/_type.scss
@@ -0,0 +1,19 @@
1/**
2 * Allows you to change the default type name from .o-type-.
3 *
4 * Type: String
5 */
6
7$iota-objs-type-namespace: 'type-';
8
9
10/**
11 * Allows you to specify typography sizes.
12 *
13 * Type: Map
14 */
15
16$iota-objs-type-sizes: ();
17
18
19@import 'node_modules/iotacss/objects/type';