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,13 @@
1
+ @import '../../mixins';
2
+
3
+ .btn-bevel {
4
+ &.btn-default {
5
+ @include linear-gradient(#fff, #e7e7e7);
6
+ text-shadow: 0 1px 0 #fff;
7
+ }
8
+
9
+ &.btn-primary {
10
+ @include linear-gradient(#fe319a, #ce006a);
11
+ text-shadow: 0 -1px 0 #cc0069;
12
+ }
13
+ }
@@ -0,0 +1,37 @@
1
+ //
2
+ // Badges
3
+ // ----------------------------------------
4
+ .dark {
5
+ .badge {
6
+ background-color: $badges-bgr-color;
7
+ color: $badges-font-color-normal;
8
+
9
+ &:empty {
10
+ display: none;
11
+ }
12
+ }
13
+
14
+ .badge-positive {
15
+ @include badge-variant($badges-bgr-color-positive);
16
+ }
17
+
18
+ .badge-warning {
19
+ @include badge-variant($badges-bgr-color-warning);
20
+ }
21
+
22
+ .badge-negative {
23
+ @include badge-variant($badges-bgr-color-negative, $badges-font-color-bright);
24
+ }
25
+
26
+ .badge-function {
27
+ @include badge-variant($badges-bgr-color-function, $badges-font-color-bright);
28
+ }
29
+
30
+ .badge-brand {
31
+ @include badge-variant($badges-bgr-color-brand, $badges-font-color-bright);
32
+ }
33
+
34
+ .badge-dark {
35
+ @include badge-variant($badges-bgr-color-dark, $badges-font-color-bright);
36
+ }
37
+ }
@@ -0,0 +1,30 @@
1
+
2
+
3
+ .dark {
4
+ .brandnav {
5
+ > ul > li > a {
6
+ @include button-variant($font-color-regular, $background-color-regular, $color-element-border);
7
+ }
8
+ }
9
+
10
+ .brandnav-lvl-2 {
11
+ background-color: $background-color-regular;
12
+
13
+ @media (min-width: #{$grid-float-breakpoint}px) {
14
+ > ul > li > a {
15
+ &,
16
+ &:hover,
17
+ &:active,
18
+ &:focus {
19
+ color: $font-color-regular;
20
+ background-color: transparent;
21
+ }
22
+ }
23
+ }
24
+ }
25
+
26
+ .brandnavhead {
27
+ background-color: $background-color-regular;
28
+ }
29
+
30
+ }
@@ -0,0 +1,17 @@
1
+ //
2
+ // Breadcrumb
3
+ // ----------------------------------------
4
+
5
+ .dark {
6
+ .breadcrumb {
7
+ > li {
8
+ + li:before {
9
+ color: $breadcrumb-color;
10
+ }
11
+ }
12
+
13
+ > .active {
14
+ color: $breadcrumb-color;
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,86 @@
1
+ //
2
+ // Buttons
3
+ // ----------------------------------------
4
+ .dark {
5
+
6
+ .btn {
7
+
8
+ &.hover,
9
+ &:hover {
10
+ text-decoration: none;
11
+ }
12
+
13
+ &.disabled,
14
+ &[disabled],
15
+ &.disabled:hover,
16
+ &[disabled]:hover, {
17
+ cursor: not-allowed;
18
+ background: hsv-darken($color-element-background, 5%, true);
19
+ border-color: hsv-darken($color-element-border, 14%, true);
20
+ color: hsv-darken($font-color-regular, 50%, true);
21
+ }
22
+ }
23
+
24
+ %btn-default,
25
+ .btn-default {
26
+ @include button-variant($font-color-regular, $color-element-background, $color-element-border);
27
+ }
28
+
29
+ .btn-brand {
30
+ @include button-variant($color-bright, $color-brand, $button-border-color-brand, #f4067d, #f4c8df, #ff0683, #ffd0e8);
31
+
32
+ &.disabled,
33
+ &[disabled] {
34
+ &,
35
+ &.focus,
36
+ &:focus,
37
+ &.hover,
38
+ &:hover {
39
+ color: $color-bright;
40
+ background: $color-brand;
41
+ border-color: $button-border-color-brand;
42
+ opacity: .3;
43
+ }
44
+ }
45
+ }
46
+
47
+ .btn-positive {
48
+ @include button-variant($color-bright, $color-positive, $button-border-color-positive);
49
+ }
50
+
51
+ .btn-negative {
52
+ @include button-variant($color-bright, $color-negative, $button-border-color-negative);
53
+ }
54
+
55
+ .btn-clean {
56
+ @extend %btn-default;
57
+ color: $color-bright;
58
+ background-color: transparent;
59
+
60
+ &,
61
+ &.focus,
62
+ &:focus,
63
+ &.hover,
64
+ &:hover,
65
+ &.active,
66
+ &:active {
67
+ border-color: transparent;
68
+ }
69
+
70
+ &.hover,
71
+ &:hover {
72
+ background: hsv-lighten($color-element-background, 0%, true);
73
+ }
74
+
75
+ &.active,
76
+ &:active {
77
+ background: hsv-lighten($color-element-background, 15%, true);
78
+ }
79
+
80
+ &.focus,
81
+ &:focus {
82
+ background: hsv-lighten($color-element-background, 21%, true);
83
+ }
84
+
85
+ }
86
+ }
@@ -0,0 +1,9 @@
1
+ //
2
+ // Checkbox - JS
3
+ // ----------------------------------------
4
+
5
+ .dark {
6
+ .form-checkbox-js > .border {
7
+ color: $checkbox-border-color;
8
+ }
9
+ }
@@ -0,0 +1,40 @@
1
+ //
2
+ // Content-List
3
+ // ----------------------------------------
4
+ .dark {
5
+ .content-list {
6
+ > li,
7
+ > .content-list-item {
8
+ border-bottom: 1px solid $color-border-bright;
9
+ }
10
+ }
11
+
12
+ .content-list-item {
13
+ &.selected {
14
+ color: $color-brand;
15
+ }
16
+ }
17
+
18
+ a.content-list-item {
19
+ color: inherit;
20
+ text-decoration: none;
21
+
22
+ &.focus,
23
+ &:focus {
24
+
25
+ background-color: $cl-element-bgr-color-focus;
26
+ }
27
+
28
+ &.hover,
29
+ &:hover {
30
+ background-color: $cl-element-bgr-color-hover;
31
+ }
32
+
33
+ &.active,
34
+ &:active {
35
+ background-color: $cl-element-bgr-color-active;
36
+ }
37
+ }
38
+
39
+ @include content-list-item-variant('brand', $cl-element-font-color-brand, $cl-element-bgr-color-brand);
40
+ }
@@ -0,0 +1,107 @@
1
+ //
2
+ // Default Form Elements
3
+ // ----------------------------------------
4
+
5
+ .dark {
6
+ label {
7
+ display: inline-block;
8
+ }
9
+
10
+ .form-input {
11
+ background-color: $input-bgr-color;
12
+ border-color: $input-border-color;
13
+ @include placeholder($input-font-color-placeholder);
14
+
15
+
16
+ &.hover,
17
+ &:hover { // on input fields the cursor indicates focus, so we need no hover on focuesed states
18
+ background-color: hsv-darken($input-bgr-color, 7%, true);
19
+ }
20
+
21
+ &.focus,
22
+ &:focus {
23
+ background-color: $input-bgr-color;
24
+ }
25
+
26
+ &.active,
27
+ &:active {
28
+ background-color: hsv-darken($input-bgr-color, 15%, true);
29
+ }
30
+
31
+ &.disabled,
32
+ &.readonly,
33
+ &[disabled],
34
+ &[readonly] {
35
+ background-color: $input-disabled-bgr-color;
36
+ border-color: $input-disabled-border-color;
37
+ color: $input-disabled-font-color;
38
+ @include placeholder($input-disabled-font-color-placeholder);
39
+ }
40
+ }
41
+
42
+ // firefox fix to prevent textareas < one line
43
+ .decoration-positive { @include input-decoration-variant($color-positive, $input-border-color-positive, #fff); }
44
+ .decoration-warning { @include input-decoration-variant($color-warning, $input-border-color-warning, #fff); }
45
+ .decoration-negative { @include input-decoration-variant($color-negative, $input-border-color-negative, #fff); }
46
+
47
+
48
+ // default checkbox/radio style
49
+ .form-radio-set,
50
+ .form-checkbox-set {
51
+
52
+ &.disabled label {
53
+ color: $input-disabled-font-color;
54
+ }
55
+ }
56
+
57
+ .form-fieldset {
58
+
59
+ > legend {
60
+ color: $font-color-light;
61
+ border-bottom-color: $heading-border-color;
62
+ }
63
+ }
64
+
65
+ // fieldset width fix for ff
66
+ // @-moz-document url-prefix() {
67
+ // .form-fieldset {
68
+ // display: table-cell;
69
+ // }
70
+ // }
71
+
72
+ .form-select {
73
+ background-color: $color-element-background;
74
+ border-color: $input-border-color;
75
+ color: $input-font-color;
76
+
77
+ option {
78
+ background-color: #fff; // reset background color
79
+ }
80
+
81
+ &.focus,
82
+ &:focus {
83
+ background-color: #ededed;
84
+ outline: 0;
85
+ }
86
+
87
+ &.hover,
88
+ &:hover {
89
+ background-color: hsv-darken(#ededed, 7%, true);
90
+ }
91
+
92
+ &.active,
93
+ &:active {
94
+ background-color: hsv-darken(#ededed, 15%, true);
95
+ }
96
+
97
+ &.disabled,
98
+ &.readonly,
99
+ &[disabled],
100
+ &[readonly] {
101
+ background-color: #f7f7f7;
102
+ border-color: $input-disabled-border-color;
103
+ color: $input-disabled-font-color;
104
+ @include placeholder($input-disabled-font-color-placeholder);
105
+ }
106
+ }
107
+ }
@@ -0,0 +1,30 @@
1
+ //
2
+ // Default Image Classes
3
+ // ----------------------------------------
4
+
5
+
6
+ .dark {
7
+ .img-thumbnail {
8
+ border-color: $color-element-border;
9
+ background: #fff;
10
+ }
11
+
12
+ .img-vignette-square {
13
+ display: inline-block;
14
+ font-size: 1px;
15
+
16
+ > img {
17
+ outline-color: $color-element-border;
18
+ outline-offset: -1px;
19
+ padding: .5px;
20
+ }
21
+ }
22
+
23
+
24
+ .img-vignette-round {
25
+ &:after {
26
+ content: '';
27
+ border-color: $color-element-border;
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,67 @@
1
+ //
2
+ // Mixins
3
+ // ----------------------------------------
4
+
5
+ @mixin button-variant($color-text, $color-background, $color-border, $color-background-hover: false, $color-border-hover: false, $color-background-active: false, $color-border-active: false, $color-background-disabled: false, $color-border-disabled: false) {
6
+
7
+ @if $color-background-hover == false {
8
+ $color-background-hover: hsv-lighten($color-background, 7%, true);
9
+ }
10
+
11
+ @if $color-border-hover == false {
12
+ $color-border-hover: hsv-lighten($color-border, 7%, true);
13
+ }
14
+
15
+ @if $color-background-active == false {
16
+ $color-background-active: hsv-lighten($color-background, 15%, true);
17
+ }
18
+
19
+ @if $color-border-active == false {
20
+ $color-border-active: hsv-lighten($color-border, 15%, true);
21
+ }
22
+
23
+ @if $color-background-disabled == false {
24
+ $color-background-disabled: hsv-darken($color-element-background, 5%, true);
25
+ }
26
+
27
+ @if $color-border-disabled == false {
28
+ $color-border-disabled: hsv-darken($color-element-border, 14%, true);
29
+ }
30
+
31
+
32
+ color: $color-text;
33
+ background-color: $color-background;
34
+ border-color: $color-border;
35
+
36
+ &.focus,
37
+ &:focus {
38
+ color: $color-text;
39
+ }
40
+
41
+ &.hover,
42
+ &:hover {
43
+ color: $color-text;
44
+ background-color: $color-background-hover;
45
+ border-color: $color-border-hover;
46
+ }
47
+
48
+ &.active,
49
+ &:active {
50
+ color: $color-text;
51
+ background-color: $color-background-active;
52
+ border-color: $color-border-active;
53
+ }
54
+
55
+ &.disabled,
56
+ &[disabled] {
57
+ &,
58
+ &.focus,
59
+ &:focus,
60
+ &.hover,
61
+ &:hover {
62
+ color: hsv-darken($font-color-regular, 50%, true);
63
+ background: $color-background-disabled;
64
+ border-color: $color-border-disabled;
65
+ }
66
+ }
67
+ }