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,9 @@
1
+ //
2
+ // Notifications
3
+ // ----------------------------------------
4
+
5
+ .dark {
6
+ .modal-content {
7
+ background-color: $modal-content-bgr;
8
+ }
9
+ }
@@ -0,0 +1,15 @@
1
+
2
+
3
+ .dark {
4
+
5
+ .navbar-nav {
6
+ > li > a {
7
+ @include button-variant($font-color-regular, $background-color-regular, $color-element-border);
8
+ }
9
+ }
10
+
11
+ .navbar-default {
12
+ background-color: $background-color-regular;
13
+ color: $font-color-regular;
14
+ }
15
+ }
@@ -0,0 +1,94 @@
1
+ //
2
+ // Notifications
3
+ // ----------------------------------------
4
+ .dark {
5
+ .notification {
6
+ background-color: fallback-rgba(#525252, .3, $background-color-regular);
7
+ // background-color: rgba(82, 82, 82, .92); since alpha is to low
8
+
9
+ &:empty {
10
+ display: none;
11
+ }
12
+
13
+ }
14
+
15
+ .notification-dismissible {
16
+ padding-right: building-units(4);
17
+
18
+ > .close {
19
+ margin-right: building-units(-3);
20
+ margin-top: -7px;
21
+ margin-left: building-units(1.5);
22
+
23
+ &.focus,
24
+ &:focus {
25
+ color: $notification-close-button-focus;
26
+ outline: 0;
27
+ }
28
+
29
+ &.hover,
30
+ &:hover {
31
+ color: $notification-close-button-hover;
32
+ }
33
+
34
+ &.active,
35
+ &:active {
36
+ color: $notification-close-button-active;
37
+ }
38
+
39
+ }
40
+ }
41
+
42
+ .notification-content,
43
+ .notification-left,
44
+ .notification-right {
45
+ overflow: hidden;
46
+ zoom: 1;
47
+ }
48
+
49
+ .notification-content > p {
50
+ padding: 0;
51
+ margin: 0;
52
+ }
53
+
54
+ .notification-left {
55
+ float: left;
56
+ margin-right: building-units(1);
57
+ }
58
+
59
+ .notification-right {
60
+ float: right;
61
+ margin-left: building-units(1);
62
+ }
63
+
64
+ .notification-heading {
65
+ font-size: $font-size-headline-h3;
66
+ font-weight: 600;
67
+ padding: 0;
68
+ margin: 0;
69
+ }
70
+
71
+ .notification-overlay {
72
+ box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
73
+ }
74
+
75
+ .notification-positive {
76
+ @include notification-variant($color-positive, $color-positive, $color-bright);
77
+ }
78
+
79
+ .notification-warning {
80
+ @include notification-variant($color-warning, $color-warning, $color-bright);
81
+ }
82
+
83
+ .notification-negative {
84
+ @include notification-variant($color-negative, $color-negative, $color-bright);
85
+ }
86
+
87
+ .notification-badge {
88
+ float: right;
89
+ margin-top: building-units(-.5) + 1;
90
+ margin-right: building-units(-1);
91
+ background-color: $color-gray-dark;
92
+ color: #fff;
93
+ }
94
+ }
@@ -0,0 +1,46 @@
1
+ //
2
+ // Pager
3
+ // ----------------------------------------
4
+ .dark {
5
+
6
+ ////// Pager //////
7
+ .pager {
8
+ background: $pager-background-color;
9
+ border-color: $pager-border-color;
10
+ color: $pager-text-color;
11
+ cursor: pointer;
12
+ text-decoration: none;
13
+
14
+ &.focus,
15
+ &:focus {
16
+ text-decoration: none;
17
+ }
18
+
19
+ &.hover,
20
+ &:hover {
21
+ text-decoration: none;
22
+ background-color: hsv-lighten($pager-background-color, 7%, true);
23
+ border-color: hsv-lighten($pager-border-color, 7%, true);
24
+ }
25
+
26
+ &.active,
27
+ &:active {
28
+ text-decoration: none;
29
+ background-color: hsv-lighten($pager-background-color, 15%, true);
30
+ border-color: hsv-lighten($pager-border-color, 15%, true);
31
+ }
32
+
33
+ &.disabled,
34
+ &[disabled] {
35
+ cursor: not-allowed;
36
+ background: $pager-disabled-bgr-color;
37
+ border-color: $pager-disabled-border-color;
38
+ color: $pager-disabled-text-color;
39
+ }
40
+ }
41
+
42
+ .pager-clean {
43
+ border-color: transparent;
44
+ }
45
+ }
46
+
@@ -0,0 +1,81 @@
1
+ //
2
+ // Pagination
3
+ // ----------------------------------------
4
+ .dark {
5
+ .pagination {
6
+
7
+ > li {
8
+
9
+ > a {
10
+ background-color: $pagination-bgr-color;
11
+ border: 1px solid $pagination-border-color;
12
+ }
13
+ }
14
+
15
+ > li > a {
16
+
17
+ &.focus,
18
+ &:focus {
19
+ background-color: hsv-lighten($pagination-bgr-color, 21%, true);
20
+ border-color: hsv-lighten($pagination-border-color, 21%, true);
21
+ }
22
+
23
+ &.hover,
24
+ &:hover {
25
+ background-color: hsv-lighten($pagination-bgr-color, 7%, true);
26
+ border-color: hsv-lighten($pagination-border-color, 7%, true);
27
+ }
28
+
29
+ &.active,
30
+ &:active {
31
+ background-color: hsv-lighten($pagination-bgr-color, 15%, true);
32
+ border-color: hsv-lighten($pagination-border-color, 15%, true);
33
+ }
34
+
35
+ }
36
+
37
+ > .active > a {
38
+ background-color: $pagination-active-bgr-color;
39
+ border-color: $pagination-active-border-color;
40
+ overflow: hidden;
41
+
42
+ &:before {
43
+ content: url('data:image/gif;base64,R0lGODdhDAAMAKUiAOYgheYhhuYihuYih+Yjh+YjiOYkh+YkiOYliOYlieYmiOYmieYniecniecniuYoiucoiecoiuYpiucpiucqiucqi+cri+csjOctjOcujecvjecvjucwjugxj+gyj+g0kOg1kOg1kf///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////ywAAAAADAAMAAAGXUAE4lAYBACAAOFwEB4IRqSS6YQGroKls3gNZJsJptWrXSzEAnKT8XgQ3oOvgiGpVN54A4JuuVzwTXMPFhgaGwVMCQ0QERQYHB4eiQ0RExQWGR0fIIkOlRWYHiAhQQA7');
44
+ }
45
+
46
+ &.focus,
47
+ &:focus {
48
+ background-color: hsv-darken($pagination-active-bgr-color, 16%, true);
49
+ border-color: hsv-darken($pagination-active-border-color, 16%, true);
50
+ }
51
+
52
+ &.hover,
53
+ &:hover {
54
+ background-color: hsv-darken($pagination-active-bgr-color, 5%, true);
55
+ border-color: hsv-darken($pagination-active-border-color, 5%, true);
56
+ }
57
+
58
+ &.active,
59
+ &:active {
60
+ background-color: hsv-darken($pagination-active-bgr-color, 10%, true);
61
+ border-color: hsv-darken($pagination-active-border-color, 10%, true);
62
+ }
63
+ }
64
+
65
+ > .disabled {
66
+ > a,
67
+ > a:hover,
68
+ > a:focus,
69
+ > a:active {
70
+ background-color: $pagination-disabled-bgr-color;
71
+ border-color: $pagination-disabled-border-color;
72
+ cursor: not-allowed;
73
+ }
74
+ }
75
+
76
+ }
77
+
78
+ .pagination-small {
79
+ @include pagination-variant($pagination-width-small, $pagination-height-small, $pagination-gutter-small);
80
+ }
81
+ }
@@ -0,0 +1,8 @@
1
+ //
2
+ // QTip2 Vendor JavaScript - Styling
3
+ // ----------------------------------------
4
+
5
+ .qtip-default {
6
+ background-color: #fff;
7
+ color: $font-color-dark;
8
+ }
@@ -0,0 +1,9 @@
1
+ //
2
+ // Radio - JS
3
+ // ----------------------------------------
4
+
5
+ .dark {
6
+ .form-radio-js > .border {
7
+ color: $radio-border-color;
8
+ }
9
+ }
@@ -0,0 +1,29 @@
1
+ //
2
+ // Common HTML Scaffolding
3
+ // ----------------------------------------
4
+
5
+
6
+
7
+ // set typo basics for all components
8
+ .dark {
9
+ background-color: $background-color-regular;
10
+ color: $font-color-regular;
11
+
12
+
13
+ // link definitions
14
+ a {
15
+ color: $font-color-link;
16
+ text-decoration: none;
17
+
18
+ &:focus { color: $font-color-link-focus; text-decoration: underline; }
19
+ &:hover { color: $font-color-link-hover; text-decoration: underline; }
20
+ &:active { color: $font-color-link-active; }
21
+ }
22
+
23
+ hr {
24
+ margin-top: $line-height-extracted;
25
+ margin-bottom: $line-height-extracted;
26
+ border: 0;
27
+ border-top: 1px solid $hr-border-color;
28
+ }
29
+ }
@@ -0,0 +1,93 @@
1
+ //
2
+ // Select - JS
3
+ // ----------------------------------------
4
+ .dark {
5
+ .form-select-js {
6
+ position: relative;
7
+ cursor: default;
8
+
9
+ .form-select-js-choice {
10
+ background-color: $select-bgr-color;
11
+ border-color: $select-border-color;
12
+ color: $select-font-color;
13
+ }
14
+
15
+
16
+ &.focus .form-select-js-choice ,
17
+ &:focus .form-select-js-choice {
18
+ background-color: hsv-lighten($select-bgr-color, 21%, true);
19
+ }
20
+
21
+ &.hover .form-select-js-choice ,
22
+ &:hover .form-select-js-choice {
23
+ background-color: hsv-lighten($select-bgr-color, 7%, true);
24
+ }
25
+
26
+ &.selected .form-select-js-choice ,
27
+ &:selected .form-select-js-choice {
28
+ background-color: hsv-darken($select-bgr-color, -15%, true);
29
+ }
30
+
31
+ &.active .form-select-js-choice ,
32
+ &:active .form-select-js-choice {
33
+ background-color: hsv-lighten($select-bgr-color, 15%, true);
34
+ }
35
+
36
+ &[aria-disabled=true] .form-select-js-choice {
37
+ background-color: $select-disabled-bgr-color;
38
+ border-color: $select-disabled-border-color;
39
+ color: $select-disabled-font-color;
40
+ }
41
+ }
42
+
43
+ .form-select-js-option-scroll-wrapper {
44
+
45
+ background-color: $select-options-bgr-color;
46
+ border: 0;
47
+ color: $select-font-color-dropdown;
48
+
49
+ .form-select-js-options {
50
+
51
+ > li {
52
+
53
+ &.focus,
54
+ &:focus {
55
+ background-color: hsv-darken($select-options-bgr-color, 15%, true);
56
+ }
57
+
58
+ &.hover { // do hover only by javascript to prevent hover after key event
59
+ background-color: hsv-darken($select-options-bgr-color, 7%, true);
60
+ }
61
+
62
+ &.active,
63
+ &:active {
64
+ background-color: hsv-darken($select-options-bgr-color, 15%, true);
65
+ }
66
+
67
+ &[aria-disabled=true] {
68
+ background-color: inherit;
69
+ color: #eee;
70
+ }
71
+
72
+ &.selected {
73
+ background-color: $select-options-active-bgr-color;
74
+ color: $select-font-color-dropdown;
75
+
76
+ &.focus,
77
+ &:focus {
78
+ background-color: hsv-darken($select-options-active-bgr-color, 15%, true);
79
+ }
80
+
81
+ &.hover { // do hover only by javascript to prevent hover after key event
82
+ background-color: hsv-darken($select-options-active-bgr-color, 7%, true);
83
+ }
84
+
85
+ &.active,
86
+ &:active {
87
+ background-color: hsv-darken($select-options-active-bgr-color, 15%, true);
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
@@ -0,0 +1,57 @@
1
+
2
+ .dark {
3
+ .table {
4
+ width: 100%;
5
+
6
+ > thead,
7
+ > tbody,
8
+ > tfoot {
9
+ > tr {
10
+ > th,
11
+ > td {
12
+ border-bottom: $table-row-border-bottom;
13
+ }
14
+ }
15
+ }
16
+
17
+ // set header & footer font weight
18
+
19
+
20
+ // align header text to bottom and header borders
21
+ > thead > tr > th {
22
+ border-bottom: $table-header-border-bottom;
23
+ }
24
+
25
+ // set footer borders
26
+ > tfoot > tr > th {
27
+ border-top: $table-footer-border-top;
28
+ border-bottom: $table-footer-border-bottom;
29
+ }
30
+
31
+ // common table caption
32
+ > caption {
33
+ border-bottom: $table-header-border-bottom;
34
+ }
35
+ }
36
+
37
+ .table-hover {
38
+ > tbody > tr:hover {
39
+ > th,
40
+ > td {
41
+ color: $table-font-color-hover;
42
+ background-color: $table-bgr-color-hover;
43
+ }
44
+ }
45
+ }
46
+
47
+ .table-striped {
48
+ @include table-striped-variant($table-gray-odd-font-color, $table-gray-odd-bgr-color);
49
+ }
50
+
51
+ @include table-row-variant('positive', $table-font-color-positive, $table-bgr-color-positive, $background-color-regular);
52
+ @include table-row-variant('warning', $table-font-color-warning, $table-bgr-color-warning, $background-color-regular);
53
+ @include table-row-variant('negative', $table-font-color-negative, $table-bgr-color-negative, $background-color-regular);
54
+ @include table-row-variant('brand', $table-font-color-brand, $table-bgr-color-brand, $background-color-regular);
55
+ @include table-row-variant('inactive', $table-font-color-inactive, $table-bgr-color-inactive, $background-color-regular);
56
+
57
+ }