react-full-gallery
Version:
A react image gallery with upload, edit, remove images.
187 lines (150 loc) • 3.63 kB
CSS
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
* {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif ;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}
.uppy-Dashboard-poweredBy {
display: none ;
}
.uppy-Dashboard-inner {
border-bottom: none ;
border-bottom-left-radius: 0 ;
border-bottom-right-radius: 0 ;
}
.uppy-Dashboard-AddFiles {
margin-bottom: 0 ;
border-radius: 5px ;
}
.uppy-Dashboard-Item-previewInnerWrap {
background-color: #fff ;
}
.uppy-Dashboard-Item-previewImg {
object-fit: contain ;
}
.uppy-Dashboard-AddFiles-list {
max-width: 400px ;
}
.ant-image-preview-mask, .ant-image-preview-operations, .ant-image-preview-wrap {
z-index: 9999 ;
}
.uppy-Dashboard-FileCard-preview {
background-color: #fff ;
}
.uppy-DashboardContent-panel {
z-index: 100 ;
}
.image-gallery.uppy-Root {
border: 1px solid #eaeaea ;
border-top: none ;
width: 750px ;
background-color: #fafafa ;
border-bottom-left-radius: 5px ;
border-bottom-right-radius: 5px ;
}
.image-gallery .uppy-Dashboard {
border: 1px dashed #dfdfdf ;
margin: 7px ;
padding-top: 30px;
border-radius: 5px;
}
.image-gallery #gallery-footer {
padding-top: 20px ;
}
.image-gallery #gallery-footer button {
margin: 10px;
}
.image-gallery .uppy-Dashboard-Item-action--remove {
right: -8px;
}
.image-gallery .ant-image {
height: 100%;
}
::-webkit-scrollbar-track {
border-radius: 10px;
background-color: white;
}
::-webkit-scrollbar {
width: 4px;
height: 4px;
background-color: rgb(24, 144, 255);
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
height: 10px;
background-color: rgb(24, 144, 255);
}
.ant-image {
height: 150px ;
background-color: #fff ;
display: flex ;
border: 1px solid #f0f0f0;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.ant-modal {
width: 1000px;
height: 800px;
display: flex;
justify-content: center;
align-items: center;
}
.ant-modal-body {
min-width: 753px;
min-height: 496px;
}
.ant-modal-close {
display: none ;
}
.ant-card-body {
padding: 15px ;
}
.tui-image-editor-header-logo, .tui-image-editor-header-buttons, .tie-btn-delete, .tie-btn-deleteAll/*, .FIE_topbar-save-wrapper*/ {
display: none ;
}
.FIE_tools-bar {
overflow-x: visible ;
}
.FIE_canvas-container {
width: 650px ;
height: 325px;
}
.FIE_canvas-container > .FIE_canvas-node {
height: 325px;
}
.FIE_editor-content {
max-width: 650px ;
}
.FIE_topbar-save-button, .SfxModalActions-root .SfxButton-root:last-child {
background-color: rgb(24, 144, 255) ;
}
.SfxModalTitle-Icon path {
fill: rgb(24, 144, 255) ;
}
.FIE_tabs .FIE_tab:first-child .FIE_tab-label {
visibility: hidden;
display: block;
}
.FIE_tabs .FIE_tab:first-child .FIE_tab-label::after {
display: block;
visibility: visible;
content: 'Crop';
margin-top: -12px;
}
#upload-form {
display: none ;
}
.uppy-DashboardTab-btn {
height: auto ;
}