send/app/pages/welcome/welcome.css

97 lines
1.5 KiB
CSS
Raw Normal View History

.uploadArea {
2018-07-31 18:09:18 +00:00
position: relative;
display: flex;
flex-direction: column;
2018-07-31 18:09:18 +00:00
justify-content: center;
text-align: center;
2018-07-31 18:09:18 +00:00
border: 1px dashed rgba(12, 12, 13, 0.2);
margin: 0 0 10px;
height: 400px;
border-radius: 4px;
overflow: scroll;
transition: transform 150ms;
2018-07-31 18:09:18 +00:00
flex: 1;
}
.uploadArea__msg {
2018-07-31 18:09:18 +00:00
font-size: 15px;
color: var(--lightTextColor);
2018-07-31 18:09:18 +00:00
margin: 12px 0 0;
font-family: 'SF Pro Text', sans-serif;
2018-07-31 18:09:18 +00:00
text-transform: uppercase;
font-weight: bold;
}
2018-07-31 18:09:18 +00:00
.uploadArea__clickMsg {
font-style: italic;
font-size: 12px;
2018-07-31 18:09:18 +00:00
line-height: 12px;
color: var(--lightTextColor);
2018-07-31 18:09:18 +00:00
margin: 5px;
}
.uploadArea--dragging {
2018-07-31 18:09:18 +00:00
border: 1px dashed rgba(12, 12, 13, 0.4);
transform: scale(1.04);
}
2018-07-31 18:09:18 +00:00
.uploadArea--faded * {
opacity: 0.5;
}
.uploadArea--noEvents,
.uploadArea--noEvents * {
pointer-events: none;
}
.btn--file {
2018-07-31 18:09:18 +00:00
background-color: #737373;
}
.btn--file:hover {
background-color: #636363;
}
.btn--hidden {
display: none;
}
.inputFile {
2018-07-31 18:09:18 +00:00
display: none;
}
2018-02-19 23:06:46 +00:00
.inputFile--focused + .btn--file {
background-color: var(--primaryControlHoverColor);
outline: 1px dotted #000;
outline: -webkit-focus-ring-color auto 5px;
}
2018-07-31 18:09:18 +00:00
.uploadArea > .uploadedFiles {
position: absolute;
top: 0;
left: 0;
flex: none;
width: 100%;
border: none;
z-index: 1;
}
.uploadOptions {
text-align: left;
font-size: 13px;
color: var(--lightTextColor);
}
.uploadOptions--faded {
opacity: 0.5;
pointer-events: none;
}
2018-07-31 22:19:18 +00:00
.uploadCancel {
margin: 6px 0 0;
}
2018-08-03 19:24:41 +00:00
.uploadCancel:hover {
text-decoration: underline;
}