shift-ui-kit 0.0.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +7 -0
  2. data/assets/fonts/din_next_light.woff +0 -0
  3. data/assets/fonts/din_next_light.woff2 +0 -0
  4. data/assets/fonts/din_next_light_italic.woff +0 -0
  5. data/assets/fonts/din_next_light_italic.woff2 +0 -0
  6. data/assets/fonts/din_next_medium.woff +0 -0
  7. data/assets/fonts/din_next_medium.woff2 +0 -0
  8. data/assets/fonts/din_next_regular.woff +0 -0
  9. data/assets/fonts/din_next_regular.woff2 +0 -0
  10. data/assets/images/accept-icon.svg +8 -0
  11. data/assets/images/app-loading.svg +25 -0
  12. data/assets/images/checkbox--determinate-checked.svg +4 -0
  13. data/assets/images/checkbox--indeterminate-checked.svg +4 -0
  14. data/assets/images/dropdown-arrow.svg +12 -0
  15. data/assets/images/forgotten-password-icon.svg +12 -0
  16. data/assets/images/global-search-form-icon.svg +11 -0
  17. data/assets/images/icons/close.svg +10 -0
  18. data/assets/images/icons/plus.svg +10 -0
  19. data/assets/images/logo.svg +9 -0
  20. data/assets/images/section-heading-icons/access-keys.svg +6 -0
  21. data/assets/images/section-heading-icons/account-settings.svg +7 -0
  22. data/assets/images/section-heading-icons/action-accept.svg +6 -0
  23. data/assets/images/section-heading-icons/action-archive.svg +10 -0
  24. data/assets/images/section-heading-icons/action-cancel.svg +6 -0
  25. data/assets/images/section-heading-icons/action-create.svg +6 -0
  26. data/assets/images/section-heading-icons/action-delete.svg +6 -0
  27. data/assets/images/section-heading-icons/action-edit.svg +7 -0
  28. data/assets/images/section-heading-icons/action-merchandise.svg +3 -0
  29. data/assets/images/section-heading-icons/assets.svg +8 -0
  30. data/assets/images/section-heading-icons/attributes.svg +12 -0
  31. data/assets/images/section-heading-icons/carts.svg +9 -0
  32. data/assets/images/section-heading-icons/category-trees.svg +7 -0
  33. data/assets/images/section-heading-icons/customer-segments.svg +8 -0
  34. data/assets/images/section-heading-icons/customers.svg +9 -0
  35. data/assets/images/section-heading-icons/environment-configurations.svg +7 -0
  36. data/assets/images/section-heading-icons/environments.svg +8 -0
  37. data/assets/images/section-heading-icons/menus.svg +8 -0
  38. data/assets/images/section-heading-icons/payment-gateways.svg +7 -0
  39. data/assets/images/section-heading-icons/products.svg +7 -0
  40. data/assets/images/section-heading-icons/promotions.svg +10 -0
  41. data/assets/images/section-heading-icons/retail-stores.svg +12 -0
  42. data/assets/images/section-heading-icons/roles.svg +9 -0
  43. data/assets/images/section-heading-icons/search.svg +7 -0
  44. data/assets/images/section-heading-icons/shipping-methods.svg +10 -0
  45. data/assets/images/section-heading-icons/static-pages.svg +7 -0
  46. data/assets/images/section-heading-icons/tax-codes.svg +11 -0
  47. data/assets/images/section-heading-icons/taxonomies.svg +7 -0
  48. data/assets/images/section-heading-icons/template-definitions.svg +6 -0
  49. data/assets/images/section-heading-icons/user-profile.svg +8 -0
  50. data/assets/images/section-heading-icons/users.svg +7 -0
  51. data/assets/images/section-heading-icons/variants.svg +7 -0
  52. data/assets/itcss/1-settings/_breakpoints.scss +1 -0
  53. data/assets/itcss/1-settings/_colors.scss +16 -0
  54. data/assets/itcss/1-settings/_index.scss +9 -0
  55. data/assets/itcss/1-settings/_spacing.scss +2 -0
  56. data/assets/itcss/2-tools/_color.scss +17 -0
  57. data/assets/itcss/2-tools/_index.scss +1 -0
  58. data/assets/itcss/3-generic/_animations.scss +4 -0
  59. data/assets/itcss/3-generic/_clearfix.scss +26 -0
  60. data/assets/itcss/3-generic/_fonts.scss +31 -0
  61. data/assets/itcss/3-generic/_index.scss +4 -0
  62. data/assets/itcss/3-generic/_reset.scss +40 -0
  63. data/assets/itcss/4-elements/_index.scss +45 -0
  64. data/assets/itcss/5-objects/_index.scss +5 -0
  65. data/assets/itcss/5-objects/_o-breadcrumb.scss +11 -0
  66. data/assets/itcss/5-objects/_o-btn.scss +3 -0
  67. data/assets/itcss/5-objects/_o-flash-message.scss +17 -0
  68. data/assets/itcss/5-objects/_o-grid.scss +33 -0
  69. data/assets/itcss/5-objects/_o-password-strength-meter.scss +43 -0
  70. data/assets/itcss/6-components/_c-action-bar.scss +22 -0
  71. data/assets/itcss/6-components/_c-app-loading.scss +30 -0
  72. data/assets/itcss/6-components/_c-app.scss +3 -0
  73. data/assets/itcss/6-components/_c-btn-default.scss +62 -0
  74. data/assets/itcss/6-components/_c-checkbox.scss +38 -0
  75. data/assets/itcss/6-components/_c-data-table.scss +535 -0
  76. data/assets/itcss/6-components/_c-default-breadcrumb.scss +16 -0
  77. data/assets/itcss/6-components/_c-display-layers.scss +3 -0
  78. data/assets/itcss/6-components/_c-dropdown-group.scss +3 -0
  79. data/assets/itcss/6-components/_c-dropdown.scss +183 -0
  80. data/assets/itcss/6-components/_c-examples-nav.scss +21 -0
  81. data/assets/itcss/6-components/_c-flash-message.scss +40 -0
  82. data/assets/itcss/6-components/_c-form-field.scss +40 -0
  83. data/assets/itcss/6-components/_c-form-message.scss +15 -0
  84. data/assets/itcss/6-components/_c-loader.scss +43 -0
  85. data/assets/itcss/6-components/_c-main-view-wrapper.scss +9 -0
  86. data/assets/itcss/6-components/_c-main-view.scss +6 -0
  87. data/assets/itcss/6-components/_c-nav-bar.scss +38 -0
  88. data/assets/itcss/6-components/_c-pagination.scss +60 -0
  89. data/assets/itcss/6-components/_c-panel.scss +17 -0
  90. data/assets/itcss/6-components/_c-popup-inject-point.scss +16 -0
  91. data/assets/itcss/6-components/_c-popup.scss +3 -0
  92. data/assets/itcss/6-components/_c-section-heading.scss +58 -0
  93. data/assets/itcss/6-components/_c-select-all-cell.scss +4 -0
  94. data/assets/itcss/6-components/_c-select-row-cell.scss +4 -0
  95. data/assets/itcss/6-components/_c-tab-set.scss +50 -0
  96. data/assets/itcss/6-components/_c-title-bar.scss +29 -0
  97. data/assets/itcss/6-components/_index.scss +28 -0
  98. data/assets/itcss/7-themes/_index.scss +0 -0
  99. data/assets/itcss/8-trumps/_index.scss +15 -0
  100. data/assets/itcss/app.scss +59 -0
  101. data/lib/shift_ui_kit.rb +9 -0
  102. metadata +173 -0
@@ -0,0 +1,8 @@
1
+ <svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg">
2
+ <g stroke="#666" stroke-width="2" stroke-linejoin="round" stroke-linecap="round" fill-rule="evenodd">
3
+ <path fill="#fff" d="M3 10h54v40H3z" />
4
+ <path fill="#e2d5a9" stroke="#695924" d="M27.98 29L27 30.91h-2.335c-1.198 0-2.165.915-2.165 2.045V35h15v-2.045c0-1.128-.97-2.046-2.165-2.046h-2.623l-.98-1.91" />
5
+ <path fill="#e2d5a9" stroke="#695924" d="M24.248 20.366C24.448 17.37 26.954 15 30 15h5.765v5.368c.698.1 1.235.705 1.235 1.42v.424c0 .728-.54 1.33-1.248 1.422C35.552 26.63 33.046 29 30 29c-3.052 0-5.55-2.375-5.752-5.366-.704-.095-1.248-.702-1.248-1.422v-.424c0-.728.54-1.33 1.248-1.422z" />
6
+ <path d="M17 40h26m-22 4h18" stroke-linecap="square" />
7
+ </g>
8
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg">
2
+ <g transform="translate(3 4)" stroke="#666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" fill-rule="evenodd">
3
+ <circle cx="27" cy="27" r="27" />
4
+ <path d="M23 33l-2.244 5.455H16.07c-2.806 0-5.07 2.136-5.07 4.772V48.5m32 0v-5.273c0-2.63-2.27-4.772-5.07-4.772h-5.362L30 33" />
5
+ <path fill="#d69090" stroke="#571111" d="M17.156 19.182c0 4.12-2.156 12.363-2.156 12.363S20.03 33 26.5 33 38 31.545 38 31.545s-2.156-8.242-2.156-12.363v-2.324c0-4.34-3.515-7.858-7.858-7.858h-2.972c-4.34 0-7.858 3.526-7.858 7.858v2.324z" />
6
+ </g>
7
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg">
2
+ <g transform="rotate(45 24.42 48.713)" stroke="#223446" fill="none" stroke-width="2" stroke-linejoin="round" stroke-linecap="round" fill-rule="evenodd">
3
+ <path fill="#a9b3bd" d="M6.938 0h16.124C23.022.328 23 .66 23 1c0 4.08 3.054 7.446 7 7.938V56H0V8.938C3.946 8.446 7 5.08 7 1c0-.34-.02-.672-.062-1z"/>
4
+ <circle fill="#ddd" cx="15" cy="9" r="3" />
5
+ <path d="M7 18v26.173M15 27v17.173M23 22v22.173" stroke-linecap="square" />
6
+ </g>
7
+ </svg>
@@ -0,0 +1 @@
1
+ $breakpoints: (sm: 480px, md: 640px, lg: 960px);
@@ -0,0 +1,16 @@
1
+ $colors: (
2
+ brand: #43678B,
3
+ info: #43678B,
4
+ unsafe: #AD2121,
5
+ warning: #D1B147,
6
+ accept: #21AD34,
7
+ highlight: #F6F0DB
8
+ );
9
+
10
+ // deprecated, replaced by color(brand) etc.
11
+ $color-brand: map-get($colors, brand);
12
+ $color-info: map-get($colors, info);
13
+ $color-unsafe: map-get($colors, unsafe);
14
+ $color-warning: map-get($colors, warning);
15
+ $color-accept: map-get($colors, accept);
16
+ $color-highlight: map-get($colors, highlight);
@@ -0,0 +1,9 @@
1
+ @import 'colors';
2
+ @import 'breakpoints';
3
+ @import 'spacing';
4
+
5
+ $baseFontSize: 1.3em;
6
+ $h1FontSize: 2.4em;
7
+ $h2FontSize: 2em;
8
+ $h3FontSize: 1.6em;
9
+ $DBbaseline: 23px;
@@ -0,0 +1,2 @@
1
+ $default-spacing: 20px;
2
+ $tight-spacing: $default-spacing / 2;
@@ -0,0 +1,17 @@
1
+ @function color($key, $tone: base, $swatches: $colors) {
2
+
3
+ @if map-has-key($colors, $key) {
4
+ $color: map-get($colors, $key);
5
+ @if $tone == base {
6
+ @return $color;
7
+ } @else if $tone == muted {
8
+ @return desaturate(mix(#fff, $color), 10%);
9
+ } @else {
10
+ @warn "Unknown tone `#{$tone}` use for color function";
11
+ }
12
+ }
13
+
14
+ @warn "Unknown `#{$key}` in `#{$swatches}`.";
15
+ @return null;
16
+
17
+ }
@@ -0,0 +1 @@
1
+ @import 'color';
@@ -0,0 +1,4 @@
1
+ @keyframes spin {
2
+ from { transform: rotate(0deg); }
3
+ to { transform: rotate(360deg); }
4
+ }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * For modern browsers
3
+ * 1. The space content is one way to avoid an Opera bug when the
4
+ * contenteditable attribute is included anywhere else in the document.
5
+ * Otherwise it causes space to appear at the top and bottom of elements
6
+ * that are clearfixed.
7
+ * 2. The use of `table` rather than `block` is only necessary if using
8
+ * `:before` to contain the top-margins of child elements.
9
+ */
10
+ .clearfix:before,
11
+ .clearfix:after {
12
+ content: " "; /* 1 */
13
+ display: table; /* 2 */
14
+ }
15
+
16
+ .clearfix:after {
17
+ clear: both;
18
+ }
19
+
20
+ /**
21
+ * For IE 6/7 only
22
+ * Include this rule to trigger hasLayout and contain floats.
23
+ */
24
+ .clearfix {
25
+ *zoom: 1;
26
+ }
@@ -0,0 +1,31 @@
1
+ @font-face {
2
+ font-family: 'DIN Next';
3
+ font-style: normal;
4
+ font-weight: normal;
5
+ src: url("/assets/fonts/din_next_regular.woff2") format("woff2"),
6
+ url("/assets/fonts/din_next_regular.woff") format("woff");
7
+ }
8
+
9
+ @font-face {
10
+ font-family: 'DIN Next';
11
+ font-style: normal;
12
+ font-weight: bold;
13
+ src: url("/assets/fonts/din_next_medium.woff2") format("woff2"),
14
+ url("/assets/fonts/din_next_medium.woff") format("woff");
15
+ }
16
+
17
+ @font-face {
18
+ font-family: 'DIN Next';
19
+ font-style: normal;
20
+ font-weight: lighter;
21
+ src: url("/assets/fonts/din_next_light.woff2") format("woff2"),
22
+ url("/assets/fonts/din_next_light.woff") format("woff");
23
+ }
24
+
25
+ @font-face {
26
+ font-family: 'DIN Next';
27
+ font-style: italic;
28
+ font-weight: normal;
29
+ src: url("/assets/fonts/din_next_light_italic.woff2") format("woff2"),
30
+ url("/assets/fonts/din_next_light_italic.woff") format("woff");
31
+ }
@@ -0,0 +1,4 @@
1
+ @import 'reset';
2
+ @import 'clearfix';
3
+ @import 'animations';
4
+ @import 'fonts';
@@ -0,0 +1,40 @@
1
+ /* http://meyerweb.com/eric/tools/css/reset/
2
+ v2.0 | 20110126
3
+ License: none (public domain)
4
+ */
5
+
6
+ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
7
+ margin: 0;
8
+ padding: 0;
9
+ border: 0;
10
+ font-size: 100%;
11
+ font: inherit;
12
+ vertical-align: baseline; }
13
+
14
+ /* HTML5 display-role reset for older browsers */
15
+
16
+ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
17
+ display: block; }
18
+
19
+ body {
20
+ line-height: 1; }
21
+
22
+ ol, ul {
23
+ list-style: none; }
24
+
25
+ blockquote, q {
26
+ quotes: none; }
27
+
28
+ blockquote {
29
+ &:before, &:after {
30
+ content: '';
31
+ content: none; } }
32
+
33
+ q {
34
+ &:before, &:after {
35
+ content: '';
36
+ content: none; } }
37
+
38
+ table {
39
+ border-collapse: collapse;
40
+ border-spacing: 0; }
@@ -0,0 +1,45 @@
1
+ *, *:after, *:before {
2
+ font: inherit;
3
+ box-sizing: inherit;
4
+ }
5
+
6
+ * {
7
+ margin: 0;
8
+ padding: 0;
9
+ }
10
+
11
+ html, body {
12
+ height: 100%;
13
+ box-sizing: border-box;
14
+ font: 16px/1 "DIN Next", "Helvetica Neue Condensed", helvetica, sans-serif;
15
+ }
16
+
17
+ body {
18
+ background: #eee;
19
+ }
20
+
21
+ a, button, input { -webkit-tap-highlight-color: transparent }
22
+ a, a:hover { text-decoration: none }
23
+ button { color: inherit; border: 0; cursor: pointer }
24
+ input { border-radius: 0 }
25
+ input:-webkit-autofill { box-shadow: 0 0 0px 1000px white inset }
26
+ table { table-layout: fixed }
27
+ td, th { vertical-align: middle }
28
+
29
+ h1 {
30
+ font-size: 1.5em;
31
+ margin-top: $default-spacing;
32
+ margin-bottom: $default-spacing;
33
+ }
34
+
35
+ h2 {
36
+ font-size: 1.25em;
37
+ margin-top: $default-spacing;
38
+ margin-bottom: $default-spacing;
39
+ }
40
+
41
+ h3 {
42
+ font-weight: bold;
43
+ margin-top: $tight-spacing;
44
+ margin-bottom: $tight-spacing;
45
+ }
@@ -0,0 +1,5 @@
1
+ @import 'o-breadcrumb';
2
+ @import 'o-flash-message';
3
+ @import 'o-grid';
4
+ @import 'o-password-strength-meter';
5
+ @import 'o-btn';
@@ -0,0 +1,11 @@
1
+ .o-breadcrumb {
2
+ display: inline-flex;
3
+ flex-wrap: wrap;
4
+ justify-content: flex-start;
5
+ align-items: center;
6
+ align-content: center;
7
+
8
+ &__item, &__separator {
9
+ margin-right: $tight-spacing;
10
+ }
11
+ }
@@ -0,0 +1,3 @@
1
+ .o-btn {
2
+ display: inline-block;
3
+ }
@@ -0,0 +1,17 @@
1
+ .o-flash-message {
2
+ display: flex;
3
+ justify-content: space-between;
4
+ align-items: center;
5
+
6
+ &--fixed {
7
+ position: fixed;
8
+ top: 15px;
9
+ left: 15px;
10
+ right: 15px;
11
+ z-index: 9999;
12
+ }
13
+
14
+ &--inline {
15
+ width: 100%;
16
+ }
17
+ }
@@ -0,0 +1,33 @@
1
+ .o-grid {
2
+ display: flex;
3
+ flex-wrap: wrap;
4
+ justify-content: flex-start;
5
+ align-items: stretch;
6
+
7
+ &__cell {
8
+ min-width: 100%;
9
+ max-width: 100%;
10
+ flex: 1 1 100%;
11
+
12
+ @mixin grid-size($numerator, $denominator) {
13
+ $min-width: (100% / (($denominator + 1) / $numerator)) + 1%;
14
+ $max-width: 100% / ($denominator / $numerator);
15
+ min-width: $min-width;
16
+ max-width: $max-width;
17
+ flex-basis: $min-width;
18
+ }
19
+
20
+ $fractions: (1,2), (1,3), (2, 3), (3, 4), (1,4);
21
+ @each $numerator, $denominator in $fractions {
22
+ &--#{$numerator}\/#{$denominator} {
23
+ @include grid-size($numerator, $denominator);
24
+
25
+ @each $key, $size in $breakpoints {
26
+ @media (min-width: $size) {
27
+ &\@#{$key} { @include grid-size($numerator, $denominator); }
28
+ }
29
+ }
30
+ }
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,43 @@
1
+ .o-password-strength-meter {
2
+ &__meter, &__label {
3
+ width: 100%;
4
+ display: block;
5
+ }
6
+
7
+ &__meter {
8
+ height: 3px;
9
+ appearance: none;
10
+
11
+ &, &::-webkit-meter-bar {
12
+ background: none;
13
+ background-color: rgba(0, 0, 0, 0.1);
14
+ }
15
+
16
+ &, &[value="0"], &[value="1"] {
17
+ &::-webkit-meter-optimum-value { background: $color-unsafe }
18
+ &::-moz-meter-bar { background: $color-unsafe }
19
+ }
20
+
21
+ &[value="2"] {
22
+ &::-webkit-meter-optimum-value { background: mix($color-warning, $color-unsafe) }
23
+ &::-moz-meter-bar { background: mix($color-warning, $color-unsafe) }
24
+ }
25
+
26
+ &[value="3"] {
27
+ &::-webkit-meter-optimum-value { background: $color-warning }
28
+ &::-moz-meter-bar { background: $color-warning }
29
+ }
30
+
31
+ &[value="4"] {
32
+ &::-webkit-meter-optimum-value { background: $color-accept }
33
+ &::-moz-meter-bar { background: $color-accept }
34
+ }
35
+ }
36
+
37
+ &__label {
38
+ margin-top: 5px;
39
+ &__feedback {
40
+ margin-left: 10px;
41
+ }
42
+ }
43
+ }
@@ -0,0 +1,22 @@
1
+ .c-action-bar {
2
+ position: relative;
3
+ text-align: center;
4
+
5
+ &__left-group {
6
+ position: absolute;
7
+ top: 0;
8
+ left: 0;
9
+ text-align: left;
10
+ }
11
+
12
+ &__middle-group {
13
+ display: inline-block;
14
+ }
15
+
16
+ &__right-group {
17
+ top: 0;
18
+ position: absolute;
19
+ right: 0;
20
+ text-align: right;
21
+ }
22
+ }
@@ -0,0 +1,30 @@
1
+ .c-app-loading {
2
+ min-width: 100vw;
3
+ min-height: 100vh;
4
+ display: block;
5
+ position: absolute;
6
+ top: 0;
7
+ left: 0;
8
+ right: 0;
9
+ bottom: 0;
10
+
11
+ &__icon {
12
+ width: 60px;
13
+ height: 60px;
14
+
15
+ display: block;
16
+ position: absolute;
17
+ top: 50%;
18
+ left: 50%;
19
+ margin-top: -30px;
20
+ margin-left: -30px;
21
+
22
+ background: url("/assets/images/app-loading.svg") center center no-repeat;
23
+ background-size: contain;
24
+
25
+ will-change: transform;
26
+ transform: rotate(0deg);
27
+
28
+ animation: spin 3s linear infinite;
29
+ }
30
+ }
@@ -0,0 +1,3 @@
1
+ .c-app {
2
+ height: 100%;
3
+ }
@@ -0,0 +1,62 @@
1
+ .c-btn-default {
2
+ font-weight: bold;
3
+ border-width: 2px;
4
+ border-style: solid;
5
+ padding: 8px 10px;
6
+ border-radius: 3px;
7
+ background: none;
8
+ transition: border-color 0.2s ease, color 0.2s ease;
9
+
10
+ $base-color: $color-info;
11
+ border-color: desaturate(mix($base-color, #fff), 10%);
12
+ color: $base-color;
13
+ &:hover, &:active, &.is-loading {
14
+ border-color: $base-color;
15
+ color: darken($base-color, 10%);
16
+ }
17
+
18
+ &--accept {
19
+ $base-color: $color-accept;
20
+ border-color: desaturate(mix($base-color, #fff), 10%);
21
+ color: $base-color;
22
+ &:hover, &:active, &.is-loading {
23
+ border-color: $base-color;
24
+ color: darken($base-color, 10%);
25
+ }
26
+ }
27
+
28
+ &--unsafe {
29
+ $base-color: $color-unsafe;
30
+ border-color: desaturate(mix($base-color, #fff), 10%);
31
+ color: $base-color;
32
+ &:hover, &:active, &.is-loading {
33
+ border-color: $base-color;
34
+ color: darken($base-color, 10%);
35
+ }
36
+ }
37
+
38
+ &--wide {
39
+ padding-left: 20px;
40
+ padding-right: 20px;
41
+ }
42
+
43
+ &--small {
44
+ font-size: 0.8rem;
45
+ padding: 6px 8px;
46
+ }
47
+
48
+ &--disabled {
49
+ &, &:hover, &:active {
50
+ border-color: #ccc;
51
+ color: #ccc;
52
+ cursor: not-allowed;
53
+ }
54
+ }
55
+
56
+ &.is-loading {
57
+ opacity: 0.5;
58
+ cursor: wait;
59
+ }
60
+
61
+ & + & { margin-left: 10px; }
62
+ }