-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
194 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
'use client' | ||
|
||
import styled from 'styled-components' | ||
import theme from '@/theme' | ||
|
||
export const HolderWrapper = styled.div` | ||
.dropzone { | ||
display: flex; | ||
flex-flow: column; | ||
justify-content: center; | ||
width: 100%; | ||
border: 1px dashed #ccc; | ||
height: 200px; | ||
text-align: center; | ||
cursor: pointer; | ||
border-radius: 4px; | ||
} | ||
.dropzone:hover { | ||
background-color: #ebeff3; | ||
} | ||
.dropzone.file { | ||
display: flex; | ||
flex-flow: column; | ||
height: auto; | ||
border: none; | ||
} | ||
.file-container { | ||
width: 100%; | ||
} | ||
.file-sumup { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
text-align: left; | ||
} | ||
.file-details { | ||
display: flex; | ||
align-items: center; | ||
} | ||
.file-infos { | ||
border-left: 3px solid ${theme.colors.primary.border}; | ||
margin-left: 5px; | ||
padding: 0 5px; | ||
} | ||
.name { | ||
font-weight: bolder; | ||
} | ||
.size { | ||
font-style: italic; | ||
font-size: 14px; | ||
} | ||
.active { | ||
background-color: #ebeff3; | ||
} | ||
.loading { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
font-style: italic; | ||
} | ||
.loading span { | ||
margin-left: 1em; | ||
} | ||
span > .fr-icon-refresh-fill { | ||
margin-right: 10px; | ||
color: var(--blue-france-sun-113-625); | ||
} | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
// <style jsx>{` | ||
// .filters { | ||
// margin: 1em 0; | ||
// } | ||
'use client' | ||
|
||
// .loading { | ||
// display: flex; | ||
// flex-direction: column; | ||
// align-items: center; | ||
// margin: 1em 0; | ||
// } | ||
import styled from 'styled-components' | ||
|
||
// .error { | ||
// color: red; | ||
// } | ||
// `}</style> | ||
export const TextWrapper = styled.div` | ||
.filters { | ||
margin: 1em 0; | ||
} | ||
.loading { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
margin: 1em 0; | ||
} | ||
.error { | ||
color: red; | ||
} | ||
` |
Oops, something went wrong.