mirror of https://github.com/sgoudham/carbon.git
parent
d77ff14e05
commit
7d95eb44b4
@ -0,0 +1,3 @@
|
||||
const withCSS = require('@zeit/next-css')
|
||||
/* Without CSS Modules, with PostCSS */
|
||||
module.exports = withCSS()
|
@ -1,163 +1 @@
|
||||
.ReactCrop {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
cursor: crosshair;
|
||||
overflow: hidden;
|
||||
max-width: 100%;
|
||||
background-color: #000; }
|
||||
.ReactCrop:focus {
|
||||
outline: none; }
|
||||
.ReactCrop--disabled {
|
||||
cursor: inherit; }
|
||||
.ReactCrop__image {
|
||||
display: block;
|
||||
max-width: 100%; }
|
||||
.ReactCrop--crop-invisible .ReactCrop__image {
|
||||
opacity: 0.5; }
|
||||
.ReactCrop__crop-selection {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
transform: translate3d(0, 0, 0);
|
||||
box-sizing: border-box;
|
||||
cursor: move;
|
||||
box-shadow: 0 0 0 9999em rgba(0, 0, 0, 0.5);
|
||||
border: 1px solid;
|
||||
border-image-source: url("data:image/gif;base64,R0lGODlhCgAKAJECAAAAAP///////wAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8i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AAAg+UYwLJ7RnQm7QmsCyVKhUAIfkEBQoAAgAsAAAAAAoACgAAAhCUYgLJHdiinNSAVfOEKoUCACH5BAUKAAIALAAAAAAKAAoAAAIRVISAdusPo3RAzYtjaMIaUQAAIfkEBQoAAgAsAAAAAAoACgAAAg+MDiem7Q8bSLFaG5il6xQAIfkEBQoAAgAsAAAAAAoACgAAAg+UYRLJ7QnQm7SmsCyVKhUAIfkEBQoAAgAsAAAAAAoACgAAAhCUYBLJDdiinNSEVfOEKoECACH5BAUKAAIALAAAAAAKAAoAAAIRFISBdusPo3RBzYsjaMIaUQAAOw==");
|
||||
border-image-slice: 1;
|
||||
border-image-repeat: repeat; }
|
||||
.ReactCrop--disabled .ReactCrop__crop-selection {
|
||||
cursor: inherit; }
|
||||
.ReactCrop__drag-handle {
|
||||
position: absolute;
|
||||
width: 9px;
|
||||
height: 9px;
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
border: 1px solid rgba(255, 255, 255, 0.7);
|
||||
box-sizing: border-box;
|
||||
outline: 1px solid transparent; }
|
||||
.ReactCrop .ord-nw {
|
||||
top: 0;
|
||||
left: 0;
|
||||
margin-top: -5px;
|
||||
margin-left: -5px;
|
||||
cursor: nw-resize; }
|
||||
.ReactCrop .ord-n {
|
||||
top: 0;
|
||||
left: 50%;
|
||||
margin-top: -5px;
|
||||
margin-left: -5px;
|
||||
cursor: n-resize; }
|
||||
.ReactCrop .ord-ne {
|
||||
top: 0;
|
||||
right: 0;
|
||||
margin-top: -5px;
|
||||
margin-right: -5px;
|
||||
cursor: ne-resize; }
|
||||
.ReactCrop .ord-e {
|
||||
top: 50%;
|
||||
right: 0;
|
||||
margin-top: -5px;
|
||||
margin-right: -5px;
|
||||
cursor: e-resize; }
|
||||
.ReactCrop .ord-se {
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
margin-bottom: -5px;
|
||||
margin-right: -5px;
|
||||
cursor: se-resize; }
|
||||
.ReactCrop .ord-s {
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
margin-bottom: -5px;
|
||||
margin-left: -5px;
|
||||
cursor: s-resize; }
|
||||
.ReactCrop .ord-sw {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
margin-bottom: -5px;
|
||||
margin-left: -5px;
|
||||
cursor: sw-resize; }
|
||||
.ReactCrop .ord-w {
|
||||
top: 50%;
|
||||
left: 0;
|
||||
margin-top: -5px;
|
||||
margin-left: -5px;
|
||||
cursor: w-resize; }
|
||||
.ReactCrop__disabled .ReactCrop__drag-handle {
|
||||
cursor: inherit; }
|
||||
.ReactCrop__drag-bar {
|
||||
position: absolute; }
|
||||
.ReactCrop__drag-bar.ord-n {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 6px;
|
||||
margin-top: -3px; }
|
||||
.ReactCrop__drag-bar.ord-e {
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 6px;
|
||||
height: 100%;
|
||||
margin-right: -3px; }
|
||||
.ReactCrop__drag-bar.ord-s {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 6px;
|
||||
margin-bottom: -3px; }
|
||||
.ReactCrop__drag-bar.ord-w {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 6px;
|
||||
height: 100%;
|
||||
margin-left: -3px; }
|
||||
.ReactCrop--new-crop .ReactCrop__drag-bar,
|
||||
.ReactCrop--new-crop .ReactCrop__drag-handle,
|
||||
.ReactCrop--fixed-aspect .ReactCrop__drag-bar {
|
||||
display: none; }
|
||||
.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-n,
|
||||
.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-e,
|
||||
.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-s,
|
||||
.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-w {
|
||||
display: none; }
|
||||
@media (max-width: 768px) {
|
||||
.ReactCrop__drag-handle {
|
||||
width: 17px;
|
||||
height: 17px; }
|
||||
.ReactCrop .ord-nw {
|
||||
margin-top: -9px;
|
||||
margin-left: -9px; }
|
||||
.ReactCrop .ord-n {
|
||||
margin-top: -9px;
|
||||
margin-left: -9px; }
|
||||
.ReactCrop .ord-ne {
|
||||
margin-top: -9px;
|
||||
margin-right: -9px; }
|
||||
.ReactCrop .ord-e {
|
||||
margin-top: -9px;
|
||||
margin-right: -9px; }
|
||||
.ReactCrop .ord-se {
|
||||
margin-bottom: -9px;
|
||||
margin-right: -9px; }
|
||||
.ReactCrop .ord-s {
|
||||
margin-bottom: -9px;
|
||||
margin-left: -9px; }
|
||||
.ReactCrop .ord-sw {
|
||||
margin-bottom: -9px;
|
||||
margin-left: -9px; }
|
||||
.ReactCrop .ord-w {
|
||||
margin-top: -9px;
|
||||
margin-left: -9px; }
|
||||
.ReactCrop__drag-bar.ord-n {
|
||||
height: 14px;
|
||||
margin-top: -7px; }
|
||||
.ReactCrop__drag-bar.ord-e {
|
||||
width: 14px;
|
||||
margin-right: -7px; }
|
||||
.ReactCrop__drag-bar.ord-s {
|
||||
height: 14px;
|
||||
margin-bottom: -7px; }
|
||||
.ReactCrop__drag-bar.ord-w {
|
||||
width: 14px;
|
||||
margin-left: -7px; } }
|
||||
.ReactCrop .ord-s,.ReactCrop .ord-se,.ReactCrop .ord-sw{margin-bottom:-5px;bottom:0}.ReactCrop{position:relative;display:inline-block;cursor:crosshair;overflow:hidden;max-width:100%;background-color:#000}.ReactCrop:focus{outline:0}.ReactCrop--disabled{cursor:inherit}.ReactCrop__image{display:block;max-width:100%}.ReactCrop--crop-invisible .ReactCrop__image{opacity:.5}.ReactCrop__crop-selection{position:absolute;top:0;left:0;transform:translate3d(0,0,0);box-sizing:border-box;cursor:move;box-shadow:0 0 0 9999em rgba(0,0,0,.5);border:1px solid;border-image-source:url(data:image/gif;base64,R0lGODlhCgAKAJECAAAAAP///////wAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0i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4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEBQoAAgAsAAAAAAoACgAAAhWEERkn7W3ei7KlagMWF/dKgYeyGAUAIfkEBQoAAgAsAAAAAAoACgAAAg+UYwLJ7RnQm7QmsCyVKhUAIfkEBQoAAgAsAAAAAAoACgAAAhCUYgLJHdiinNSAVfOEKoUCACH5BAUKAAIALAAAAAAKAAoAAAIRVISAdusPo3RAzYtjaMIaUQAAIfkEBQoAAgAsAAAAAAoACgAAAg+MDiem7Q8bSLFaG5il6xQAIfkEBQoAAgAsAAAAAAoACgAAAg+UYRLJ7QnQm7SmsCyVKhUAIfkEBQoAAgAsAAAAAAoACgAAAhCUYBLJDdiinNSEVfOEKoECACH5BAUKAAIALAAAAAAKAAoAAAIRFISBdusPo3RBzYsjaMIaUQAAOw==);border-image-slice:1;border-image-repeat:repeat}.ReactCrop--disabled .ReactCrop__crop-selection{cursor:inherit}.ReactCrop__drag-handle{position:absolute;width:9px;height:9px;background-color:rgba(0,0,0,.2);border:1px solid rgba(255,255,255,.7);box-sizing:border-box;outline:transparent solid 1px}.ReactCrop .ord-nw{top:0;left:0;margin-top:-5px;margin-left:-5px;cursor:nw-resize}.ReactCrop .ord-n{top:0;left:50%;margin-top:-5px;margin-left:-5px;cursor:n-resize}.ReactCrop .ord-ne{top:0;right:0;margin-top:-5px;margin-right:-5px;cursor:ne-resize}.ReactCrop .ord-e{top:50%;right:0;margin-top:-5px;margin-right:-5px;cursor:e-resize}.ReactCrop .ord-se{right:0;margin-right:-5px;cursor:se-resize}.ReactCrop .ord-s{left:50%;margin-left:-5px;cursor:s-resize}.ReactCrop .ord-sw{left:0;margin-left:-5px;cursor:sw-resize}.ReactCrop .ord-w{top:50%;left:0;margin-top:-5px;margin-left:-5px;cursor:w-resize}.ReactCrop__disabled .ReactCrop__drag-handle{cursor:inherit}.ReactCrop__drag-bar{position:absolute}.ReactCrop__drag-bar.ord-n{top:0;left:0;width:100%;height:6px;margin-top:-3px}.ReactCrop__drag-bar.ord-e{right:0;top:0;width:6px;height:100%;margin-right:-3px}.ReactCrop__drag-bar.ord-s{bottom:0;left:0;width:100%;height:6px;margin-bottom:-3px}.ReactCrop__drag-bar.ord-w{top:0;left:0;width:6px;height:100%;margin-left:-3px}.ReactCrop--fixed-aspect .ReactCrop__drag-bar,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-e,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-n,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-s,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-w,.ReactCrop--new-crop .ReactCrop__drag-bar,.ReactCrop--new-crop .ReactCrop__drag-handle{display:none}@media (max-width:768px){.ReactCrop .ord-n,.ReactCrop .ord-nw,.ReactCrop .ord-w{margin-top:-9px;margin-left:-9px}.ReactCrop__drag-handle{width:17px;height:17px}.ReactCrop .ord-e,.ReactCrop .ord-ne{margin-top:-9px;margin-right:-9px}.ReactCrop .ord-se{margin-bottom:-9px;margin-right:-9px}.ReactCrop .ord-s,.ReactCrop .ord-sw{margin-bottom:-9px;margin-left:-9px}.ReactCrop__drag-bar.ord-n{height:14px;margin-top:-7px}.ReactCrop__drag-bar.ord-e{width:14px;margin-right:-7px}.ReactCrop__drag-bar.ord-s{height:14px;margin-bottom:-7px}.ReactCrop__drag-bar.ord-w{width:14px;margin-left:-7px}}
|
||||
|
@ -1,35 +1 @@
|
||||
.react-spinner {
|
||||
position: relative;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
.react-spinner_bar {
|
||||
-webkit-animation: react-spinner_spin 1.2s linear infinite;
|
||||
-moz-animation: react-spinner_spin 1.2s linear infinite;
|
||||
animation: react-spinner_spin 1.2s linear infinite;
|
||||
border-radius: 5px;
|
||||
background-color: white;
|
||||
position: absolute;
|
||||
width: 20%;
|
||||
height: 7.8%;
|
||||
top: -3.9%;
|
||||
left: -10%;
|
||||
}
|
||||
|
||||
@keyframes react-spinner_spin {
|
||||
0% { opacity: 1; }
|
||||
100% { opacity: 0.15; }
|
||||
}
|
||||
|
||||
@-moz-keyframes react-spinner_spin {
|
||||
0% { opacity: 1; }
|
||||
100% { opacity: 0.15; }
|
||||
}
|
||||
|
||||
@-webkit-keyframes react-spinner_spin {
|
||||
0% { opacity: 1; }
|
||||
100% { opacity: 0.15; }
|
||||
}
|
||||
.react-spinner{position:relative;width:32px;height:32px;top:50%;left:50%}.react-spinner_bar{-webkit-animation:react-spinner_spin 1.2s linear infinite;-moz-animation:react-spinner_spin 1.2s linear infinite;animation:react-spinner_spin 1.2s linear infinite;border-radius:5px;background-color:#fff;position:absolute;width:20%;height:7.8%;top:-3.9%;left:-10%}@keyframes react-spinner_spin{0%{opacity:1}100%{opacity:.15}}@-moz-keyframes react-spinner_spin{0%{opacity:1}100%{opacity:.15}}@-webkit-keyframes react-spinner_spin{0%{opacity:1}100%{opacity:.15}}
|
||||
|
Loading…
Reference in New Issue