geekyll 0.0.9

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 (104) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +48 -0
  4. data/_includes/footer.html +20 -0
  5. data/_includes/head.html +27 -0
  6. data/_includes/header.html +18 -0
  7. data/_includes/image.html +14 -0
  8. data/_includes/javascripts.html +7 -0
  9. data/_includes/navigation.html +16 -0
  10. data/_includes/social.html +15 -0
  11. data/_layouts/default.html +10 -0
  12. data/_layouts/index.html +48 -0
  13. data/_layouts/page.html +23 -0
  14. data/_layouts/post.html +5 -0
  15. data/_layouts/root.html +14 -0
  16. data/_sass/geekyll/_icons.scss +9 -0
  17. data/_sass/geekyll/_layout.scss +233 -0
  18. data/_sass/geekyll/_pages.scss +232 -0
  19. data/_sass/geekyll/_typography.scss +4 -0
  20. data/_sass/geekyll/bootstrap4alpha4/_alert.scss +56 -0
  21. data/_sass/geekyll/bootstrap4alpha4/_animation.scss +27 -0
  22. data/_sass/geekyll/bootstrap4alpha4/_breadcrumb.scss +38 -0
  23. data/_sass/geekyll/bootstrap4alpha4/_button-group.scss +234 -0
  24. data/_sass/geekyll/bootstrap4alpha4/_buttons.scss +176 -0
  25. data/_sass/geekyll/bootstrap4alpha4/_card.scss +320 -0
  26. data/_sass/geekyll/bootstrap4alpha4/_carousel.scss +253 -0
  27. data/_sass/geekyll/bootstrap4alpha4/_close.scss +31 -0
  28. data/_sass/geekyll/bootstrap4alpha4/_code.scss +57 -0
  29. data/_sass/geekyll/bootstrap4alpha4/_custom-forms.scss +265 -0
  30. data/_sass/geekyll/bootstrap4alpha4/_custom.scss +4 -0
  31. data/_sass/geekyll/bootstrap4alpha4/_dropdown.scss +179 -0
  32. data/_sass/geekyll/bootstrap4alpha4/_forms.scss +364 -0
  33. data/_sass/geekyll/bootstrap4alpha4/_grid.scss +39 -0
  34. data/_sass/geekyll/bootstrap4alpha4/_images.scss +52 -0
  35. data/_sass/geekyll/bootstrap4alpha4/_input-group.scss +188 -0
  36. data/_sass/geekyll/bootstrap4alpha4/_jumbotron.scss +20 -0
  37. data/_sass/geekyll/bootstrap4alpha4/_list-group.scss +123 -0
  38. data/_sass/geekyll/bootstrap4alpha4/_media.scss +81 -0
  39. data/_sass/geekyll/bootstrap4alpha4/_mixins.scss +54 -0
  40. data/_sass/geekyll/bootstrap4alpha4/_modal.scss +132 -0
  41. data/_sass/geekyll/bootstrap4alpha4/_nav.scss +157 -0
  42. data/_sass/geekyll/bootstrap4alpha4/_navbar.scss +256 -0
  43. data/_sass/geekyll/bootstrap4alpha4/_normalize.scss +424 -0
  44. data/_sass/geekyll/bootstrap4alpha4/_pagination.scss +73 -0
  45. data/_sass/geekyll/bootstrap4alpha4/_popover.scss +147 -0
  46. data/_sass/geekyll/bootstrap4alpha4/_print.scss +116 -0
  47. data/_sass/geekyll/bootstrap4alpha4/_progress.scss +145 -0
  48. data/_sass/geekyll/bootstrap4alpha4/_reboot.scss +393 -0
  49. data/_sass/geekyll/bootstrap4alpha4/_responsive-embed.scss +39 -0
  50. data/_sass/geekyll/bootstrap4alpha4/_tables.scss +196 -0
  51. data/_sass/geekyll/bootstrap4alpha4/_tags.scss +77 -0
  52. data/_sass/geekyll/bootstrap4alpha4/_tooltip.scss +87 -0
  53. data/_sass/geekyll/bootstrap4alpha4/_type.scss +150 -0
  54. data/_sass/geekyll/bootstrap4alpha4/_utilities.scss +9 -0
  55. data/_sass/geekyll/bootstrap4alpha4/_variables.scss +830 -0
  56. data/_sass/geekyll/bootstrap4alpha4/bootstrap-flex.scss +8 -0
  57. data/_sass/geekyll/bootstrap4alpha4/bootstrap-grid.scss +23 -0
  58. data/_sass/geekyll/bootstrap4alpha4/bootstrap-reboot.scss +11 -0
  59. data/_sass/geekyll/bootstrap4alpha4/bootstrap.scss +54 -0
  60. data/_sass/geekyll/bootstrap4alpha4/mixins/_alert.scss +14 -0
  61. data/_sass/geekyll/bootstrap4alpha4/mixins/_background-variant.scss +13 -0
  62. data/_sass/geekyll/bootstrap4alpha4/mixins/_border-radius.scss +35 -0
  63. data/_sass/geekyll/bootstrap4alpha4/mixins/_breakpoints.scss +86 -0
  64. data/_sass/geekyll/bootstrap4alpha4/mixins/_buttons.scss +113 -0
  65. data/_sass/geekyll/bootstrap4alpha4/mixins/_cards.scss +44 -0
  66. data/_sass/geekyll/bootstrap4alpha4/mixins/_clearfix.scss +7 -0
  67. data/_sass/geekyll/bootstrap4alpha4/mixins/_forms.scss +86 -0
  68. data/_sass/geekyll/bootstrap4alpha4/mixins/_gradients.scss +43 -0
  69. data/_sass/geekyll/bootstrap4alpha4/mixins/_grid-framework.scss +70 -0
  70. data/_sass/geekyll/bootstrap4alpha4/mixins/_grid.scss +84 -0
  71. data/_sass/geekyll/bootstrap4alpha4/mixins/_hover.scss +60 -0
  72. data/_sass/geekyll/bootstrap4alpha4/mixins/_image.scss +34 -0
  73. data/_sass/geekyll/bootstrap4alpha4/mixins/_list-group.scss +30 -0
  74. data/_sass/geekyll/bootstrap4alpha4/mixins/_lists.scss +7 -0
  75. data/_sass/geekyll/bootstrap4alpha4/mixins/_nav-divider.scss +10 -0
  76. data/_sass/geekyll/bootstrap4alpha4/mixins/_navbar-align.scss +9 -0
  77. data/_sass/geekyll/bootstrap4alpha4/mixins/_pagination.scss +21 -0
  78. data/_sass/geekyll/bootstrap4alpha4/mixins/_progress.scss +23 -0
  79. data/_sass/geekyll/bootstrap4alpha4/mixins/_pulls.scss +6 -0
  80. data/_sass/geekyll/bootstrap4alpha4/mixins/_reset-filter.scss +8 -0
  81. data/_sass/geekyll/bootstrap4alpha4/mixins/_reset-text.scss +17 -0
  82. data/_sass/geekyll/bootstrap4alpha4/mixins/_resize.scss +6 -0
  83. data/_sass/geekyll/bootstrap4alpha4/mixins/_screen-reader.scss +32 -0
  84. data/_sass/geekyll/bootstrap4alpha4/mixins/_size.scss +6 -0
  85. data/_sass/geekyll/bootstrap4alpha4/mixins/_tab-focus.scss +9 -0
  86. data/_sass/geekyll/bootstrap4alpha4/mixins/_table-row.scss +30 -0
  87. data/_sass/geekyll/bootstrap4alpha4/mixins/_tag.scss +11 -0
  88. data/_sass/geekyll/bootstrap4alpha4/mixins/_text-emphasis.scss +12 -0
  89. data/_sass/geekyll/bootstrap4alpha4/mixins/_text-hide.scss +8 -0
  90. data/_sass/geekyll/bootstrap4alpha4/mixins/_text-truncate.scss +8 -0
  91. data/_sass/geekyll/bootstrap4alpha4/utilities/_background.scss +19 -0
  92. data/_sass/geekyll/bootstrap4alpha4/utilities/_clearfix.scss +3 -0
  93. data/_sass/geekyll/bootstrap4alpha4/utilities/_display.scss +13 -0
  94. data/_sass/geekyll/bootstrap4alpha4/utilities/_flex.scss +37 -0
  95. data/_sass/geekyll/bootstrap4alpha4/utilities/_pulls.scss +13 -0
  96. data/_sass/geekyll/bootstrap4alpha4/utilities/_screenreaders.scss +11 -0
  97. data/_sass/geekyll/bootstrap4alpha4/utilities/_spacing.scss +43 -0
  98. data/_sass/geekyll/bootstrap4alpha4/utilities/_text.scss +51 -0
  99. data/_sass/geekyll/bootstrap4alpha4/utilities/_visibility.scss +55 -0
  100. data/_sass/geekyll/reset.scss +9 -0
  101. data/_sass/geekyll/social.scss +5 -0
  102. data/_sass/geekyll.scss +39 -0
  103. data/screenshot.png +0 -0
  104. metadata +188 -0
@@ -0,0 +1,84 @@
1
+ /// Grid system
2
+ //
3
+ // Generate semantic grid columns with these mixins.
4
+
5
+ @mixin make-container($gutter: $grid-gutter-width) {
6
+ margin-left: auto;
7
+ margin-right: auto;
8
+ padding-left: ($gutter / 2);
9
+ padding-right: ($gutter / 2);
10
+ @if not $enable-flex {
11
+ @include clearfix();
12
+ }
13
+ }
14
+
15
+
16
+ // For each breakpoint, define the maximum width of the container in a media query
17
+ @mixin make-container-max-widths($max-widths: $container-max-widths, $breakpoints: $grid-breakpoints) {
18
+ @each $breakpoint, $container-max-width in $max-widths {
19
+ @include media-breakpoint-up($breakpoint, $breakpoints) {
20
+ max-width: $container-max-width;
21
+ }
22
+ }
23
+ }
24
+
25
+ @mixin make-row($gutter: $grid-gutter-width) {
26
+ @if $enable-flex {
27
+ display: flex;
28
+ flex-wrap: wrap;
29
+ } @else {
30
+ @include clearfix();
31
+ }
32
+ margin-left: ($gutter / -2);
33
+ margin-right: ($gutter / -2);
34
+ }
35
+
36
+ @mixin make-col-ready($gutter: $grid-gutter-width) {
37
+ position: relative;
38
+ min-height: 1px; // Prevent collapsing
39
+ padding-right: ($gutter / 2);
40
+ padding-left: ($gutter / 2);
41
+
42
+ // Prevent columns from becoming too narrow when at smaller grid tiers by
43
+ // always setting `width: 100%;`. This works because we use `flex` values
44
+ // later on to override this initial width.
45
+ @if $enable-flex {
46
+ width: 100%;
47
+ }
48
+ }
49
+
50
+ @mixin make-col($size, $columns: $grid-columns) {
51
+ @if $enable-flex {
52
+ flex: 0 0 percentage($size / $columns);
53
+ // Add a `max-width` to ensure content within each column does not blow out
54
+ // the width of the column. Applies to IE10+ and Firefox. Chrome and Safari
55
+ // do not appear to require this.
56
+ max-width: percentage($size / $columns);
57
+ } @else {
58
+ float: left;
59
+ width: percentage($size / $columns);
60
+ }
61
+ }
62
+
63
+ @mixin make-col-offset($size, $columns: $grid-columns) {
64
+ margin-left: percentage($size / $columns);
65
+ }
66
+
67
+ @mixin make-col-push($size, $columns: $grid-columns) {
68
+ left: if($size > 0, percentage($size / $columns), auto);
69
+ }
70
+
71
+ @mixin make-col-pull($size, $columns: $grid-columns) {
72
+ right: if($size > 0, percentage($size / $columns), auto);
73
+ }
74
+
75
+ @mixin make-col-modifier($type, $size, $columns) {
76
+ // Work around the lack of dynamic mixin @include support (https://github.com/sass/sass/issues/626)
77
+ @if $type == push {
78
+ @include make-col-push($size, $columns);
79
+ } @else if $type == pull {
80
+ @include make-col-pull($size, $columns);
81
+ } @else if $type == offset {
82
+ @include make-col-offset($size, $columns);
83
+ }
84
+ }
@@ -0,0 +1,60 @@
1
+ @mixin hover {
2
+ // TODO: re-enable along with mq4-hover-shim
3
+ // @if $enable-hover-media-query {
4
+ // // See Media Queries Level 4: http://drafts.csswg.org/mediaqueries/#hover
5
+ // // Currently shimmed by https://github.com/twbs/mq4-hover-shim
6
+ // @media (hover: hover) {
7
+ // &:hover { @content }
8
+ // }
9
+ // }
10
+ // @else {
11
+ &:hover { @content }
12
+ // }
13
+ }
14
+
15
+ @mixin hover-focus {
16
+ @if $enable-hover-media-query {
17
+ &:focus { @content }
18
+ @include hover { @content }
19
+ }
20
+ @else {
21
+ &:focus,
22
+ &:hover {
23
+ @content
24
+ }
25
+ }
26
+ }
27
+
28
+ @mixin plain-hover-focus {
29
+ @if $enable-hover-media-query {
30
+ &,
31
+ &:focus {
32
+ @content
33
+ }
34
+ @include hover { @content }
35
+ }
36
+ @else {
37
+ &,
38
+ &:focus,
39
+ &:hover {
40
+ @content
41
+ }
42
+ }
43
+ }
44
+
45
+ @mixin hover-focus-active {
46
+ @if $enable-hover-media-query {
47
+ &:focus,
48
+ &:active {
49
+ @content
50
+ }
51
+ @include hover { @content }
52
+ }
53
+ @else {
54
+ &:focus,
55
+ &:active,
56
+ &:hover {
57
+ @content
58
+ }
59
+ }
60
+ }
@@ -0,0 +1,34 @@
1
+ // Image Mixins
2
+ // - Responsive image
3
+ // - Retina image
4
+
5
+
6
+ // Responsive image
7
+ //
8
+ // Keep images from scaling beyond the width of their parents.
9
+
10
+ @mixin img-fluid($display: block) {
11
+ display: $display;
12
+ max-width: 100%; // Part 1: Set a maximum relative to the parent
13
+ height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
14
+ }
15
+
16
+
17
+ // Retina image
18
+ //
19
+ // Short retina mixin for setting background-image and -size.
20
+
21
+ @mixin img-retina($file-1x, $file-2x, $width-1x, $height-1x) {
22
+ background-image: url($file-1x);
23
+
24
+ // Autoprefixer takes care of adding -webkit-min-device-pixel-ratio and -o-min-device-pixel-ratio,
25
+ // but doesn't convert dppx=>dpi.
26
+ // There's no such thing as unprefixed min-device-pixel-ratio since it's nonstandard.
27
+ // Compatibility info: http://caniuse.com/#feat=css-media-resolution
28
+ @media
29
+ only screen and (min-resolution: 192dpi), // IE9-11 don't support dppx
30
+ only screen and (min-resolution: 2dppx) { // Standardized
31
+ background-image: url($file-2x);
32
+ background-size: $width-1x $height-1x;
33
+ }
34
+ }
@@ -0,0 +1,30 @@
1
+ // List Groups
2
+
3
+ @mixin list-group-item-variant($state, $background, $color) {
4
+ .list-group-item-#{$state} {
5
+ color: $color;
6
+ background-color: $background;
7
+ }
8
+
9
+ a.list-group-item-#{$state},
10
+ button.list-group-item-#{$state} {
11
+ color: $color;
12
+
13
+ .list-group-item-heading {
14
+ color: inherit;
15
+ }
16
+
17
+ @include hover-focus {
18
+ color: $color;
19
+ background-color: darken($background, 5%);
20
+ }
21
+
22
+ &.active {
23
+ @include plain-hover-focus {
24
+ color: #fff;
25
+ background-color: $color;
26
+ border-color: $color;
27
+ }
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,7 @@
1
+ // Lists
2
+
3
+ // Unstyled keeps list items block level, just removes default browser padding and list-style
4
+ @mixin list-unstyled {
5
+ padding-left: 0;
6
+ list-style: none;
7
+ }
@@ -0,0 +1,10 @@
1
+ // Horizontal dividers
2
+ //
3
+ // Dividers (basically an hr) within dropdowns and nav lists
4
+
5
+ @mixin nav-divider($color: #e5e5e5) {
6
+ height: 1px;
7
+ margin: ($spacer-y / 2) 0;
8
+ overflow: hidden;
9
+ background-color: $color;
10
+ }
@@ -0,0 +1,9 @@
1
+ // Navbar vertical align
2
+ //
3
+ // Vertically center elements in the navbar.
4
+ // Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.
5
+
6
+ // @mixin navbar-vertical-align($element-height) {
7
+ // margin-top: (($navbar-height - $element-height) / 2);
8
+ // margin-bottom: (($navbar-height - $element-height) / 2);
9
+ // }
@@ -0,0 +1,21 @@
1
+ // Pagination
2
+
3
+ @mixin pagination-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {
4
+ .page-link {
5
+ padding: $padding-y $padding-x;
6
+ font-size: $font-size;
7
+ }
8
+
9
+ .page-item {
10
+ &:first-child {
11
+ .page-link {
12
+ @include border-left-radius($border-radius);
13
+ }
14
+ }
15
+ &:last-child {
16
+ .page-link {
17
+ @include border-right-radius($border-radius);
18
+ }
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,23 @@
1
+ // Progress bars
2
+
3
+ @mixin progress-variant($color) {
4
+ &[value]::-webkit-progress-value {
5
+ background-color: $color;
6
+ }
7
+
8
+ &[value]::-moz-progress-bar {
9
+ background-color: $color;
10
+ }
11
+
12
+ // IE10+, Microsoft Edge
13
+ &[value]::-ms-fill {
14
+ background-color: $color;
15
+ }
16
+
17
+ // IE9
18
+ @media screen and (min-width:0\0) {
19
+ .progress-bar {
20
+ background-color: $color;
21
+ }
22
+ }
23
+ }
@@ -0,0 +1,6 @@
1
+ @mixin pull-left {
2
+ float: left !important;
3
+ }
4
+ @mixin pull-right {
5
+ float: right !important;
6
+ }
@@ -0,0 +1,8 @@
1
+ // Reset filters for IE
2
+ //
3
+ // When you need to remove a gradient background, do not forget to use this to reset
4
+ // the IE filter for IE9.
5
+
6
+ @mixin reset-filter() {
7
+ filter: "progid:DXImageTransform.Microsoft.gradient(enabled = false)";
8
+ }
@@ -0,0 +1,17 @@
1
+ @mixin reset-text {
2
+ font-family: $font-family-base;
3
+ // We deliberately do NOT reset font-size or word-wrap.
4
+ font-style: normal;
5
+ font-weight: normal;
6
+ letter-spacing: normal;
7
+ line-break: auto;
8
+ line-height: $line-height-base;
9
+ text-align: left; // Fallback for where `start` is not supported
10
+ text-align: start;
11
+ text-decoration: none;
12
+ text-shadow: none;
13
+ text-transform: none;
14
+ white-space: normal;
15
+ word-break: normal;
16
+ word-spacing: normal;
17
+ }
@@ -0,0 +1,6 @@
1
+ // Resize anything
2
+
3
+ @mixin resizable($direction) {
4
+ resize: $direction; // Options: horizontal, vertical, both
5
+ overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible`
6
+ }
@@ -0,0 +1,32 @@
1
+ // Only display content to screen readers
2
+ //
3
+ // See: http://a11yproject.com/posts/how-to-hide-content
4
+
5
+ @mixin sr-only {
6
+ position: absolute;
7
+ width: 1px;
8
+ height: 1px;
9
+ padding: 0;
10
+ margin: -1px;
11
+ overflow: hidden;
12
+ clip: rect(0,0,0,0);
13
+ border: 0;
14
+ }
15
+
16
+ // Use in conjunction with .sr-only to only display content when it's focused.
17
+ //
18
+ // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
19
+ //
20
+ // Credit: HTML5 Boilerplate
21
+
22
+ @mixin sr-only-focusable {
23
+ &:active,
24
+ &:focus {
25
+ position: static;
26
+ width: auto;
27
+ height: auto;
28
+ margin: 0;
29
+ overflow: visible;
30
+ clip: auto;
31
+ }
32
+ }
@@ -0,0 +1,6 @@
1
+ // Sizing shortcuts
2
+
3
+ @mixin size($width, $height: $width) {
4
+ width: $width;
5
+ height: $height;
6
+ }
@@ -0,0 +1,9 @@
1
+ // WebKit-style focus
2
+
3
+ @mixin tab-focus() {
4
+ // WebKit-specific. Other browsers will keep their default outline style.
5
+ // (Initially tried to also force default via `outline: initial`,
6
+ // but that seems to erroneously remove the outline in Firefox altogether.)
7
+ outline: 5px auto -webkit-focus-ring-color;
8
+ outline-offset: -2px;
9
+ }
@@ -0,0 +1,30 @@
1
+ // Tables
2
+
3
+ @mixin table-row-variant($state, $background) {
4
+ // Exact selectors below required to override `.table-striped` and prevent
5
+ // inheritance to nested tables.
6
+ .table-#{$state} {
7
+ &,
8
+ > th,
9
+ > td {
10
+ background-color: $background;
11
+ }
12
+ }
13
+
14
+ // Hover states for `.table-hover`
15
+ // Note: this is not available for cells or rows within `thead` or `tfoot`.
16
+ .table-hover {
17
+ $hover-background: darken($background, 5%);
18
+
19
+ .table-#{$state} {
20
+ @include hover {
21
+ background-color: $hover-background;
22
+
23
+ > td,
24
+ > th {
25
+ background-color: $hover-background;
26
+ }
27
+ }
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,11 @@
1
+ // Tags
2
+
3
+ @mixin tag-variant($color) {
4
+ background-color: $color;
5
+
6
+ &[href] {
7
+ @include hover-focus {
8
+ background-color: darken($color, 10%);
9
+ }
10
+ }
11
+ }
@@ -0,0 +1,12 @@
1
+ // Typography
2
+
3
+ @mixin text-emphasis-variant($parent, $color) {
4
+ #{$parent} {
5
+ color: $color !important;
6
+ }
7
+ a#{$parent} {
8
+ @include hover-focus {
9
+ color: darken($color, 10%) !important;
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,8 @@
1
+ // CSS image replacement
2
+ @mixin text-hide() {
3
+ font: 0/0 a;
4
+ color: transparent;
5
+ text-shadow: none;
6
+ background-color: transparent;
7
+ border: 0;
8
+ }
@@ -0,0 +1,8 @@
1
+ // Text truncate
2
+ // Requires inline-block or block for proper styling
3
+
4
+ @mixin text-truncate() {
5
+ overflow: hidden;
6
+ text-overflow: ellipsis;
7
+ white-space: nowrap;
8
+ }
@@ -0,0 +1,19 @@
1
+ //
2
+ // Contextual backgrounds
3
+ //
4
+
5
+ .bg-faded {
6
+ background-color: $gray-lightest;
7
+ }
8
+
9
+ @include bg-variant('.bg-primary', $brand-primary);
10
+
11
+ @include bg-variant('.bg-success', $brand-success);
12
+
13
+ @include bg-variant('.bg-info', $brand-info);
14
+
15
+ @include bg-variant('.bg-warning', $brand-warning);
16
+
17
+ @include bg-variant('.bg-danger', $brand-danger);
18
+
19
+ @include bg-variant('.bg-inverse', $brand-inverse);
@@ -0,0 +1,3 @@
1
+ .clearfix {
2
+ @include clearfix();
3
+ }
@@ -0,0 +1,13 @@
1
+ //
2
+ // Display utilities
3
+ //
4
+
5
+ .d-block {
6
+ display: block !important;
7
+ }
8
+ .d-inline-block {
9
+ display: inline-block !important;
10
+ }
11
+ .d-inline {
12
+ display: inline !important;
13
+ }
@@ -0,0 +1,37 @@
1
+ // Flex variation
2
+ //
3
+ // Custom styles for additional flex alignment options.
4
+
5
+ @if $enable-flex {
6
+ @each $breakpoint in map-keys($grid-breakpoints) {
7
+ // Flex column reordering
8
+ @include media-breakpoint-up($breakpoint) {
9
+ .flex-#{$breakpoint}-first { order: -1; }
10
+ .flex-#{$breakpoint}-last { order: 1; }
11
+ .flex-#{$breakpoint}-unordered { order: 0; }
12
+ }
13
+
14
+ // Alignment for every item
15
+ @include media-breakpoint-up($breakpoint) {
16
+ .flex-items-#{$breakpoint}-top { align-items: flex-start; }
17
+ .flex-items-#{$breakpoint}-middle { align-items: center; }
18
+ .flex-items-#{$breakpoint}-bottom { align-items: flex-end; }
19
+ }
20
+
21
+ // Alignment per item
22
+ @include media-breakpoint-up($breakpoint) {
23
+ .flex-#{$breakpoint}-top { align-self: flex-start; }
24
+ .flex-#{$breakpoint}-middle { align-self: center; }
25
+ .flex-#{$breakpoint}-bottom { align-self: flex-end; }
26
+ }
27
+
28
+ // Horizontal alignment of item
29
+ @include media-breakpoint-up($breakpoint) {
30
+ .flex-items-#{$breakpoint}-left { justify-content: flex-start; }
31
+ .flex-items-#{$breakpoint}-center { justify-content: center; }
32
+ .flex-items-#{$breakpoint}-right { justify-content: flex-end; }
33
+ .flex-items-#{$breakpoint}-around { justify-content: space-around; }
34
+ .flex-items-#{$breakpoint}-between { justify-content: space-between; }
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,13 @@
1
+ @each $breakpoint in map-keys($grid-breakpoints) {
2
+ @include media-breakpoint-up($breakpoint) {
3
+ .pull-#{$breakpoint}-left {
4
+ @include pull-left();
5
+ }
6
+ .pull-#{$breakpoint}-right {
7
+ @include pull-right();
8
+ }
9
+ .pull-#{$breakpoint}-none {
10
+ float: none !important;
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,11 @@
1
+ //
2
+ // Screenreaders
3
+ //
4
+
5
+ .sr-only {
6
+ @include sr-only();
7
+ }
8
+
9
+ .sr-only-focusable {
10
+ @include sr-only-focusable();
11
+ }
@@ -0,0 +1,43 @@
1
+ // Width
2
+
3
+ .w-100 { width: 100% !important; }
4
+
5
+ // Margin and Padding
6
+
7
+ .m-x-auto {
8
+ margin-right: auto !important;
9
+ margin-left: auto !important;
10
+ }
11
+
12
+ @each $prop, $abbrev in (margin: m, padding: p) {
13
+ @each $size, $lengths in $spacers {
14
+ $length-x: map-get($lengths, x);
15
+ $length-y: map-get($lengths, y);
16
+
17
+ .#{$abbrev}-a-#{$size} { #{$prop}: $length-y $length-x !important; } // a = All sides
18
+ .#{$abbrev}-t-#{$size} { #{$prop}-top: $length-y !important; }
19
+ .#{$abbrev}-r-#{$size} { #{$prop}-right: $length-x !important; }
20
+ .#{$abbrev}-b-#{$size} { #{$prop}-bottom: $length-y !important; }
21
+ .#{$abbrev}-l-#{$size} { #{$prop}-left: $length-x !important; }
22
+
23
+ // Axes
24
+ .#{$abbrev}-x-#{$size} {
25
+ #{$prop}-right: $length-x !important;
26
+ #{$prop}-left: $length-x !important;
27
+ }
28
+ .#{$abbrev}-y-#{$size} {
29
+ #{$prop}-top: $length-y !important;
30
+ #{$prop}-bottom: $length-y !important;
31
+ }
32
+ }
33
+ }
34
+
35
+ // Positioning
36
+
37
+ .pos-f-t {
38
+ position: fixed;
39
+ top: 0;
40
+ right: 0;
41
+ left: 0;
42
+ z-index: $zindex-navbar-fixed;
43
+ }
@@ -0,0 +1,51 @@
1
+ //
2
+ // Text
3
+ //
4
+
5
+ // Alignment
6
+
7
+ .text-justify { text-align: justify !important; }
8
+ .text-nowrap { white-space: nowrap !important; }
9
+ .text-truncate { @include text-truncate; }
10
+
11
+ // Responsive alignment
12
+
13
+ @each $breakpoint in map-keys($grid-breakpoints) {
14
+ @include media-breakpoint-up($breakpoint) {
15
+ .text-#{$breakpoint}-left { text-align: left !important; }
16
+ .text-#{$breakpoint}-right { text-align: right !important; }
17
+ .text-#{$breakpoint}-center { text-align: center !important; }
18
+ }
19
+ }
20
+
21
+ // Transformation
22
+
23
+ .text-lowercase { text-transform: lowercase !important; }
24
+ .text-uppercase { text-transform: uppercase !important; }
25
+ .text-capitalize { text-transform: capitalize !important; }
26
+
27
+ // Weight and italics
28
+
29
+ .font-weight-normal { font-weight: normal; }
30
+ .font-weight-bold { font-weight: bold; }
31
+ .font-italic { font-style: italic; }
32
+
33
+ // Contextual colors
34
+
35
+ @include text-emphasis-variant('.text-muted', $text-muted);
36
+
37
+ @include text-emphasis-variant('.text-primary', $brand-primary);
38
+
39
+ @include text-emphasis-variant('.text-success', $brand-success);
40
+
41
+ @include text-emphasis-variant('.text-info', $brand-info);
42
+
43
+ @include text-emphasis-variant('.text-warning', $brand-warning);
44
+
45
+ @include text-emphasis-variant('.text-danger', $brand-danger);
46
+
47
+ // Misc
48
+
49
+ .text-hide {
50
+ @include text-hide();
51
+ }