doc-msp-theme 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +52 -0
  4. data/_includes/footer.html +16 -0
  5. data/_includes/header.html +55 -0
  6. data/_layouts/article.html +46 -0
  7. data/_layouts/chapter.html +39 -0
  8. data/_layouts/default.html +75 -0
  9. data/_sass/.csslintrc +20 -0
  10. data/_sass/.scss-lint.yml +212 -0
  11. data/_sass/_accessibility-seo.md +233 -0
  12. data/_sass/_accessibility.md +17 -0
  13. data/_sass/_accessibility.scss +30 -0
  14. data/_sass/_animation.scss +17 -0
  15. data/_sass/_badges.md +39 -0
  16. data/_sass/_badges.scss +50 -0
  17. data/_sass/_brandbar.scss +34 -0
  18. data/_sass/_brandcolor.md +92 -0
  19. data/_sass/_brandcolor.scss +24 -0
  20. data/_sass/_brandheader.scss +35 -0
  21. data/_sass/_brandnav.scss +224 -0
  22. data/_sass/_breadcrumb.md +39 -0
  23. data/_sass/_breadcrumb.scss +44 -0
  24. data/_sass/_button.md +218 -0
  25. data/_sass/_button.scss +146 -0
  26. data/_sass/_cancel.scss +13 -0
  27. data/_sass/_checkbox.md +55 -0
  28. data/_sass/_checkbox.scss +124 -0
  29. data/_sass/_close.scss +16 -0
  30. data/_sass/_collapse.scss +30 -0
  31. data/_sass/_content-list.md +375 -0
  32. data/_sass/_content-list.scss +49 -0
  33. data/_sass/_doc-msp-theme.md +106 -0
  34. data/_sass/_doc-msp-theme.scss +59 -0
  35. data/_sass/_expandable.md +141 -0
  36. data/_sass/_expandable.scss +21 -0
  37. data/_sass/_font-faces.md +83 -0
  38. data/_sass/_font-faces.scss +15 -0
  39. data/_sass/_footer.md +392 -0
  40. data/_sass/_footer.scss +147 -0
  41. data/_sass/_forms.md +139 -0
  42. data/_sass/_forms.scss +199 -0
  43. data/_sass/_functions.md +251 -0
  44. data/_sass/_functions.scss +389 -0
  45. data/_sass/_grid.md +449 -0
  46. data/_sass/_grid.scss +314 -0
  47. data/_sass/_header.md +1042 -0
  48. data/_sass/_helper.md +212 -0
  49. data/_sass/_helper.scss +150 -0
  50. data/_sass/_icons.md +153 -0
  51. data/_sass/_icons.scss +154 -0
  52. data/_sass/_images.md +21 -0
  53. data/_sass/_images.scss +54 -0
  54. data/_sass/_jsbutton.md +171 -0
  55. data/_sass/_media.scss +48 -0
  56. data/_sass/_mixins.scss +430 -0
  57. data/_sass/_modal.md +329 -0
  58. data/_sass/_modal.scss +117 -0
  59. data/_sass/_nav.scss +40 -0
  60. data/_sass/_navbar.scss +250 -0
  61. data/_sass/_normalize.md +7 -0
  62. data/_sass/_normalize.scss +423 -0
  63. data/_sass/_notifications.md +211 -0
  64. data/_sass/_notifications.scss +110 -0
  65. data/_sass/_pager.md +67 -0
  66. data/_sass/_pager.scss +138 -0
  67. data/_sass/_pagination.md +49 -0
  68. data/_sass/_pagination.scss +95 -0
  69. data/_sass/_qtip.md +74 -0
  70. data/_sass/_qtip.scss +175 -0
  71. data/_sass/_radio.md +53 -0
  72. data/_sass/_radio.scss +122 -0
  73. data/_sass/_scaffolding.scss +61 -0
  74. data/_sass/_search.md +0 -0
  75. data/_sass/_search.scss +90 -0
  76. data/_sass/_select.md +55 -0
  77. data/_sass/_select.scss +146 -0
  78. data/_sass/_tables.md +405 -0
  79. data/_sass/_tables.scss +131 -0
  80. data/_sass/_totop.md +126 -0
  81. data/_sass/_totop.scss +33 -0
  82. data/_sass/_type.md +817 -0
  83. data/_sass/_type.scss +450 -0
  84. data/_sass/_variables.scss +480 -0
  85. data/_sass/themes/bevel-theme/theme.scss +13 -0
  86. data/_sass/themes/dark-theme/_badges.scss +37 -0
  87. data/_sass/themes/dark-theme/_brandnav.scss +30 -0
  88. data/_sass/themes/dark-theme/_breadcrumb.scss +17 -0
  89. data/_sass/themes/dark-theme/_button.scss +86 -0
  90. data/_sass/themes/dark-theme/_checkbox.scss +9 -0
  91. data/_sass/themes/dark-theme/_content-list.scss +40 -0
  92. data/_sass/themes/dark-theme/_forms.scss +107 -0
  93. data/_sass/themes/dark-theme/_images.scss +30 -0
  94. data/_sass/themes/dark-theme/_mixins.scss +67 -0
  95. data/_sass/themes/dark-theme/_modal.scss +9 -0
  96. data/_sass/themes/dark-theme/_navbar.scss +15 -0
  97. data/_sass/themes/dark-theme/_notifications.scss +94 -0
  98. data/_sass/themes/dark-theme/_pager.scss +46 -0
  99. data/_sass/themes/dark-theme/_pagination.scss +81 -0
  100. data/_sass/themes/dark-theme/_qtip.scss +8 -0
  101. data/_sass/themes/dark-theme/_radio.scss +9 -0
  102. data/_sass/themes/dark-theme/_scaffolding.scss +29 -0
  103. data/_sass/themes/dark-theme/_select.scss +93 -0
  104. data/_sass/themes/dark-theme/_tables.scss +57 -0
  105. data/_sass/themes/dark-theme/_type.scss +70 -0
  106. data/_sass/themes/dark-theme/_variables.scss +171 -0
  107. data/_sass/themes/dark-theme/theme.scss +36 -0
  108. data/_sass/themes/debug-theme/theme.scss +415 -0
  109. metadata +179 -0
@@ -0,0 +1,49 @@
1
+ <!--
2
+ //
3
+ //
4
+ // Pagination
5
+ -->
6
+
7
+ Soll der Benutzer durch eine Reihe von Pages, Screens oder Bildern
8
+ geführt werden hilft die `.pagination` weiter. Die Klasse `.active` auf
9
+ einem Listenelement zeigt an, auf welcher Seite sich der Benutzer
10
+ gerade befindet. Sind Seiten inaktiv kann dem Listenelement die Klasse
11
+ `.disabled` zugeordnet werden:
12
+
13
+ <div class="tc-note">
14
+ **Anmerkung:**
15
+ Das Beispliel verwendet die Zentrierhelfer Komponente für die horizontale Ausrichtung
16
+ </div>
17
+
18
+
19
+ <div class="tc-example">
20
+ <div class="h-center">
21
+ <ul class="pagination">
22
+ <li><a href="#"><span class="sr-only">Seite 1</span></a></li>
23
+ <li><a href="#"><span class="sr-only">Seite 2</span></a></li>
24
+ <li><a href="#"><span class="sr-only">Seite 3</span></a></li>
25
+ <li class="active"><a href="#"><span class="sr-only">Seite 4 aktiv</span></a></li>
26
+ <li><a href="#"><span class="sr-only">Seite 5</span></a></li>
27
+ <li><a href="#"><span class="sr-only">Seite 6</span></a></li>
28
+ <li><a href="#"><span class="sr-only">Seite 7</span></a></li>
29
+ <li class="disabled" role="presentation"><a href="#"><span class="sr-only">Seite 8 inaktiv</span></a></li>
30
+ <li class="disabled" role="presentation"><a href="#"><span class="sr-only">Seite 9 inaktiv</span></a></li>
31
+ </ul>
32
+ </div>
33
+ </div>
34
+
35
+ ```html
36
+ <div class="h-center">
37
+ <ul class="pagination">
38
+ <li><a href="#"><span class="sr-only">Seite 1</span></a></li>
39
+ <li><a href="#"><span class="sr-only">Seite 2</span></a></li>
40
+ <li><a href="#"><span class="sr-only">Seite 3</span></a></li>
41
+ <li class="active"><a href="#"><span class="sr-only">Seite 4 aktiv</span></a></li>
42
+ <li><a href="#"><span class="sr-only">Seite 5</span></a></li>
43
+ <li><a href="#"><span class="sr-only">Seite 6</span></a></li>
44
+ <li><a href="#"><span class="sr-only">Seite 7</span></a></li>
45
+ <li class="disabled" role="presentation"><a href="#"><span class="sr-only">Seite 8 inaktiv</span></a></li>
46
+ <li class="disabled" role="presentation"><a href="#"><span class="sr-only">Seite 9 inaktiv</span></a></li>
47
+ </ul>
48
+ </div>
49
+ ```
@@ -0,0 +1,95 @@
1
+ //
2
+ // Pagination
3
+ // ----------------------------------------
4
+
5
+ .pagination {
6
+ display: inline-block;
7
+ padding-left: 0;
8
+ margin: 0 ($pagination-gutter / 2 * -1);
9
+
10
+ > li {
11
+ display: inline;
12
+
13
+ > a {
14
+ float: left;
15
+ display: block;
16
+ width: $pagination-width;
17
+ height: $pagination-height;
18
+ margin: 0 ($pagination-gutter / 2);
19
+ border-radius: 50%;
20
+ background-color: $pagination-bgr-color;
21
+ border: 1px solid $pagination-border-color;
22
+ @include transition(all $transition-time-out $transition-function);
23
+ }
24
+ }
25
+
26
+ > li > a {
27
+
28
+ &.focus,
29
+ &:focus {
30
+ background-color: hsv-darken($pagination-bgr-color, 21%, true);
31
+ border-color: hsv-darken($pagination-border-color, 21%, true);
32
+ outline: 0;
33
+ }
34
+
35
+ &.hover,
36
+ &:hover {
37
+ background-color: hsv-darken($pagination-bgr-color, 7%, true);
38
+ border-color: hsv-darken($pagination-border-color, 7%, true);
39
+ @include transition($transition-time-in, '-duration');
40
+ }
41
+
42
+ &.active,
43
+ &:active {
44
+ background-color: hsv-darken($pagination-bgr-color, 15%, true);
45
+ border-color: hsv-darken($pagination-border-color, 15%, true);
46
+ }
47
+
48
+ }
49
+
50
+ > .active > a {
51
+ background-color: $pagination-active-bgr-color;
52
+ border-color: $pagination-active-border-color;
53
+ overflow: hidden;
54
+
55
+ &:before {
56
+ content: url('data:image/gif;base64,R0lGODdhDAAMAKUiAOYgheYhhuYihuYih+Yjh+YjiOYkh+YkiOYliOYlieYmiOYmieYniecniecniuYoiucoiecoiuYpiucpiucqiucqi+cri+csjOctjOcujecvjecvjucwjugxj+gyj+g0kOg1kOg1kf///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////ywAAAAADAAMAAAGXUAE4lAYBACAAOFwEB4IRqSS6YQGroKls3gNZJsJptWrXSzEAnKT8XgQ3oOvgiGpVN54A4JuuVzwTXMPFhgaGwVMCQ0QERQYHB4eiQ0RExQWGR0fIIkOlRWYHiAhQQA7');
57
+ line-height: $pagination-height;
58
+ vertical-align: super;
59
+ }
60
+
61
+ &.focus,
62
+ &:focus {
63
+ background-color: hsv-darken($pagination-active-bgr-color, 21%, true);
64
+ border-color: hsv-darken($pagination-active-border-color, 21%, true);
65
+ }
66
+
67
+ &.hover,
68
+ &:hover {
69
+ background-color: hsv-darken($pagination-active-bgr-color, 7%, true);
70
+ border-color: hsv-darken($pagination-active-border-color, 7%, true);
71
+ }
72
+
73
+ &.active,
74
+ &:active {
75
+ background-color: hsv-darken($pagination-active-bgr-color, 15%, true);
76
+ border-color: hsv-darken($pagination-active-border-color, 15%, true);
77
+ }
78
+ }
79
+
80
+ > .disabled {
81
+ > a,
82
+ > a:hover,
83
+ > a:focus,
84
+ > a:active {
85
+ background-color: $pagination-disabled-bgr-color;
86
+ border-color: $pagination-disabled-border-color;
87
+ cursor: not-allowed;
88
+ }
89
+ }
90
+
91
+ }
92
+
93
+ .pagination-small {
94
+ @include pagination-variant($pagination-width-small, $pagination-height-small, $pagination-gutter-small);
95
+ }
@@ -0,0 +1,74 @@
1
+ <!--
2
+ //
3
+ //
4
+ // Tooltip
5
+ -->
6
+
7
+ Tooltips sind immer dann nützlich, wenn zusätzliche Informationen vorliegen die beschreibend oder zweitrangig sind.
8
+ Um diese Informationen im Kontext und bei Interaktion einzublenden kann das
9
+ jQuery-Plugin `qtip()` verwendet werden.
10
+
11
+ <div class="tc-note tc-note-info">
12
+ **Info:**
13
+ Es handelt sich dabei um das freie Plugin qTip2 (http://qtip2.com/).
14
+ Alle Optionen, Events und andere Möglichkeiten können in der Dokumentation
15
+ des Plugins nachgelesen werden.
16
+ </div>
17
+
18
+ Es wird direkt auf das Interaktionselement angewendet:
19
+
20
+ ```js
21
+ $(document).ready(function() {
22
+ $('#my-tooltip').qtip()
23
+ })
24
+ ```
25
+
26
+ <div class="tc-example">
27
+ <p>
28
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
29
+ sed diam nonumy eirmod tempor invidunt ut labore et
30
+ dolore magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet,
31
+ consetetur sadipscing elitr, sed diam nonumy eirmod
32
+ tempor invidunt ut <a href="#" id="my-tooltip" title="This is a tooltip">labore</a> et dolore magna aliquyam
33
+ erat, sed diam voluptua.
34
+ </p>
35
+ </div>
36
+
37
+ ```html
38
+ <a href="#" id="my-tooltip" title="This is a tooltip">labore</a>
39
+ ```
40
+
41
+ ### Info-Flags
42
+
43
+ ```js
44
+ $(document).ready(function() {
45
+ $('#my-info-flag').qtip({
46
+ content: {
47
+ title: 'Info Flag',
48
+ text: 'Info Flags are plain text...'
49
+ }
50
+ })
51
+ })
52
+ ```
53
+
54
+ <div class="tc-example">
55
+ <p>
56
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
57
+ sed diam nonumy eirmod tempor invidunt ut labore et
58
+ dolore magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet,
59
+ consetetur sadipscing elitr, sed diam nonumy eirmod
60
+ tempor invidunt ut <a href="#" id="my-info-flag" title="This is a tooltip">labore</a> et dolore magna aliquyam
61
+ erat, sed diam voluptua.
62
+ </p>
63
+ </div>
64
+
65
+ ```html
66
+ <a href="#" id="my-info-flag">labore</a>
67
+ ```
68
+
69
+ <div class="tc-note">
70
+ **Anmerkung Barrierefreiheit:**
71
+ Da Tooltips meist nur über Maus-Interaktionen aktiv werden sollten darin
72
+ nur unwichtige oder unterstützende Informationen hinterlegt sein.
73
+ Tooltips sollten nicht Voraussetzung für die Benutzerführung sein.
74
+ </div>
@@ -0,0 +1,175 @@
1
+ //
2
+ // QTip2 Vendor JavaScript - Styling
3
+ // ----------------------------------------
4
+
5
+ .qtip {
6
+ position: absolute;
7
+ left: -28000px;
8
+ top: -28000px;
9
+ display: none;
10
+
11
+ max-width: 280px;
12
+ min-width: 50px;
13
+
14
+ // font-size: 10.5px; // qtip defaults, not needed
15
+ // line-height: 12px; // qtip defaults, not needed
16
+
17
+ direction: ltr;
18
+
19
+ box-shadow: none;
20
+ padding: 0;
21
+ }
22
+
23
+ .qtip-content {
24
+ position: relative;
25
+ // padding: 5px 9px; // qtip defaults, not needed
26
+ overflow: hidden;
27
+
28
+ text-align: left;
29
+ word-wrap: break-word;
30
+ }
31
+
32
+ .qtip-titlebar {
33
+ position: relative;
34
+ // padding: 5px 35px 5px 10px; // qtip defaults, not needed
35
+ overflow: hidden;
36
+
37
+ border-width: 0 0 1px;
38
+ // font-weight: bold; // qtip defaults, not needed
39
+
40
+ + .qtip-content {
41
+ border-top-width: 0 !important;
42
+ }
43
+ }
44
+
45
+ // Default close button class
46
+ .qtip-close {
47
+ position: absolute;
48
+ right: -9px;
49
+ top: -9px;
50
+ z-index: 11; // Overlap .qtip-tip
51
+
52
+ cursor: pointer;
53
+ outline: medium none;
54
+
55
+ border: 1px solid transparent;
56
+
57
+ .qtip-titlebar & {
58
+ right: 4px;
59
+ top: 50%;
60
+ margin-top: -9px;
61
+ }
62
+ }
63
+
64
+ * html .qtip-titlebar .qtip-close { top: 16px; } // IE fix
65
+
66
+ .qtip-titlebar .ui-icon,
67
+ .qtip-icon .ui-icon {
68
+ display: block;
69
+ text-indent: -1000em;
70
+ direction: ltr;
71
+ }
72
+
73
+ .qtip-icon,
74
+ .qtip-icon .ui-icon {
75
+ border-radius: 3px;
76
+ text-decoration: none;
77
+ }
78
+
79
+ .qtip-icon .ui-icon {
80
+ width: 18px;
81
+ height: 14px;
82
+
83
+ line-height: 14px;
84
+ text-align: center;
85
+ text-indent: 0;
86
+ font: normal bold 10px/13px Tahoma,sans-serif;
87
+
88
+ color: inherit;
89
+ background: transparent none no-repeat -100em -100em;
90
+ }
91
+
92
+ // Applied to 'focused' tooltips e.g. most recently displayed/interacted with
93
+ // .qtip-focus {}
94
+
95
+ // Applied on hover of tooltips i.e. added/removed on mouseenter/mouseleave respectively
96
+ // .qtip-hover {}
97
+
98
+ // Default tooltip style - Telekom Components style
99
+ .qtip-default {
100
+ background-color: #262626;
101
+ background-color: rgba(0, 0, 0, .85);
102
+
103
+ color: #fff;
104
+ border: 0 solid transparent; // important for Tip-Extension
105
+ border-radius: 4px;
106
+
107
+ font-size: 15px;
108
+
109
+ .qtip-titlebar {
110
+ font-size: 18px;
111
+ font-weight: bold;
112
+ padding: 7px 12px 0;
113
+ background-color: transparent;
114
+
115
+ .qtip-close {
116
+ border-color: #aaa;
117
+ color: #111;
118
+ }
119
+
120
+ .ui-state-hover {
121
+ border-color: #303030;
122
+ }
123
+
124
+ + .qtip-content {
125
+ padding-top: 0;
126
+ }
127
+ }
128
+
129
+ .qtip-content {
130
+ padding: 9px 12px;
131
+ }
132
+
133
+ .qtip-icon {
134
+ background: #f1f1f1;
135
+ border-color: #222;
136
+ text-shadow: none;
137
+ color: #777;
138
+ }
139
+ }
140
+
141
+
142
+ // Tip-extension
143
+ .qtip .qtip-tip {
144
+ margin: 0 auto;
145
+ overflow: hidden;
146
+ z-index: 10;
147
+ }
148
+
149
+ // Opera bug #357 - Incorrect tip position
150
+ // https://github.com/Craga89/qTip2/issues/367
151
+ x:-o-prefocus, .qtip .qtip-tip {
152
+ visibility: hidden;
153
+ }
154
+
155
+ .qtip .qtip-tip,
156
+ .qtip .qtip-tip .qtip-vml,
157
+ .qtip .qtip-tip canvas {
158
+ position: absolute;
159
+
160
+ color: #123456;
161
+ background: transparent;
162
+ border: 0 dashed transparent;
163
+ }
164
+
165
+ .qtip .qtip-tip canvas {
166
+ top: 0;
167
+ left: 0;
168
+ }
169
+
170
+ .qtip .qtip-tip .qtip-vml {
171
+ // scss-lint:disable UrlQuotes, PropertySpelling, UrlFormat, HexValidation
172
+ behavior: url(#default#VML);
173
+ display: inline-block;
174
+ visibility: visible;
175
+ }
@@ -0,0 +1,53 @@
1
+ # Radio
2
+
3
+ Da Radiobuttons meist in Gruppen auftreten sollten diese nur innerhalb eines `<fieldset>` vorkommen um so deren Zusammengehörigkeit zu visualisieren. Der `<legend>`-Tag beinhaltet dabei die Beschreibung der Gruppe.
4
+
5
+ Ein einzelener Radio-Button wird mit dem `<input type="radio">`-Tag erzeugt. Die CSS-Klasse `.form-radio` verleiht ihm das Grundgerüst und die grundelegenden Eigenschaften die alle Browser gemeinsam abbilden können.
6
+
7
+ Für eine optimale Darstellung gibt es auch für Radiobuttons ein jQuery-Plugin:
8
+
9
+ ```javascript
10
+ $('.form-radio').radio()
11
+ ```
12
+
13
+ <div class="tc-example" role="application">
14
+ <fieldset class="form-fieldset">
15
+ <legend>Gruppen Beschriftung</legend>
16
+ <div class="form-radio-set">
17
+ <label>
18
+ <input type="radio" name="rb" value="rb1" class="form-radio">foo
19
+ </label>
20
+ </div>
21
+ <div class="form-radio-set">
22
+ <label>
23
+ <input type="radio" name="rb" value="rb2" class="form-radio" checked>bar
24
+ </label>
25
+ </div>
26
+ <div class="form-radio-set">
27
+ <label>
28
+ <input type="radio" name="rb" value="rb3" class="form-radio" disabled>Inaktiv
29
+ </label>
30
+ </div>
31
+ </fieldset>
32
+ </div>
33
+
34
+ ```html
35
+ <fieldset class="form-fieldset">
36
+ <legend>Gruppen Beschriftung</legend>
37
+ <div class="form-radio-set">
38
+ <label>
39
+ <input type="radio" name="rb" value="rb1" class="form-radio">foo
40
+ </label>
41
+ </div>
42
+ <div class="form-radio-set">
43
+ <label>
44
+ <input type="radio" name="rb" value="rb2" class="form-radio" checked>bar
45
+ </label>
46
+ </div>
47
+ <div class="form-radio-set">
48
+ <label>
49
+ <input type="radio" name="rb" value="rb3" class="form-radio" disabled>Inaktiv
50
+ </label>
51
+ </div>
52
+ </fieldset>
53
+ ```