File size: 7.58Kb
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap');
* {
outline: none;
-webkit-box-sizing: border-box;
box-sizing: border-box;
text-decoration: none;
margin: 0;
padding: 0;
}
::selection {
background: #b3d4fc;
color: #212121;
text-shadow: none;
}
body {
font-family: 'Roboto', sans-serif;
font-size: 15px;
line-height: 1.4;
margin: 0 auto;
max-width: 650px;
background: #151D26;
color: #f2f2f2;
-webkit-font-smoothing: antialiased;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
#root {
position: relative;
}
img {
max-width: 100%;
vertical-align: middle;
}
.alert {
display: none;
max-width: 228px;
position: fixed;
top: 0;
right: 0;
margin: 16px;
color: #fff;
border-radius: 8px;
padding: 8px 16px;
z-index: 5;
}
.alert.info {
background: #1C2733;
}
.alert.success {
background: #4CAF50;
}
.alert.error {
background: #E53935;
}
.empty-results {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
top: 56px;
right: 0;
left: 0;
margin: 0 auto;
max-width: 200px;
height: 200px;
}
.empty_words {
max-width: 200px;
text-align: center;
position: relative;
font-size: 15px;
color: #546e7a;
}
.empty_top {
margin-top: 8px;
word-break: break-all;
}
.wrapper {
margin: 78px 0 16px 0;
}
a.page {
color: #8E9399;
text-decoration: underline;
cursor: pointer;
}
.progress {
width: 0;
height: 2px;
box-shadow: rgba(0, 0, 0, .1) 0 2px 4px 0;
background: #5d80a6;
position: fixed;
top: 0;
left: 0;
z-index: 6;
}
#fileInput {
display: none;
}
.x-center, .center {
display: flex;
justify-content: center;
}
.actions {
display: flex;
align-items: center;
justify-content: center;
box-shadow: rgba(0, 0, 0, .1) 0 2px 4px 0;
background: #5d80a6;
color: #f0f0f0;
cursor: pointer;
transition: all .3s ease-out;
z-index: 2;
}
.actions:hover {
box-shadow: rgba(0, 0, 0, .2) 0 2px 6px 0;
background: #4d7199;
}
.top {
width: 42px;
height: 42px;
border-radius: 50%;
position: fixed;
top: 16px;
z-index: 4;
}
.logo {
left: 16px;
}
.send-file-btn {
left: 64px;
}
.search-btn {
left: 112px;
}
.primary-btn {
width: 140px;
height: 36px;
border-radius: 50px;
font-weight: 500;
white-space: nowrap;
}
.search-inner {
margin: 0 16px 16px 16px;
}
.search {
display: none;
width: 100%;
height: 42px;
padding: 16px;
background: #1C2733;
color: #fff;
border: none;
border-radius: 50px;
font-size: 16px;
}
.search.active {
display: block;
}
.block {
position: relative;
background: #1C2733;
color: #BBBEC2;
padding: 16px;
}
.file {
position: relative;
background: #1C2733;
margin-bottom: 12px;
}
.file_block {
display: flex;
flex-direction: column;
}
.file_top {
display: flex;
align-items: center;
height: 48px;
line-height: 48px;
padding: 0 16px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.file_top svg {
vertical-align: middle;
position: relative;
top: -1px;
margin-right: 12px;
}
.file_author {
font-size: 16px;
color: #8E9399;
font-weight: 400;
}
.file_date {
margin-left: 12px;
font-size: 13.5px;
color: #6B727A;
}
.file_share {
margin-left: auto;
cursor: pointer;
}
.file_share svg {
margin-right: 0;
}
.file_name {
font-size: 17px;
font-weight: 400;
display: block;
padding: 0 16px 10px 16px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #BBBEC2;
}
.info .file_name {
white-space: initial;
overflow: initial;
word-break: break-word;
}
.file_image {
text-align: center;
max-width: 100%;
height: 100%;
min-height: 72px;
line-height: 72px;
max-height: 380px;
overflow: hidden;
z-index: 1;
}
.info .file_image {
max-height: 100%;
}
.file_image img {
max-width: 100%;
}
.file_image.gif {
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.gif_play {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
}
.gif_play.playing {
display: none;
}
.gif_btn {
width: 40px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
background: rgba(0, 0, 0, .35);
color: #fff;
border-radius: 50%;
}
.file_video {
display: flex;
justify-content: center;
align-items: center;
}
.file_video video {
max-width: 100%;
}
.file_info {
margin-top: 4px;
padding: 10px 16px;
font-size: 14px;
color: #8E9399;
display: flex;
flex-direction: row;
align-items: center;
}
.file_info span {
margin-right: 24px;
}
.file_info span:last-child {
margin: 0 0 0 auto;
}
.file_info svg {
vertical-align: middle;
margin-top: -2px;
margin-right: 8px;
stroke-width: 0;
fill: currentColor;
stroke: currentColor;
}
.like {
transition: all .3s ease-out;
cursor: pointer;
}
.like.clicked {
color: #5d80a6;
}
.share {
display: flex;
align-items: center;
padding: 0 16px 4px;
margin-bottom: 20px;
overflow-x: auto;
overflow-y: hidden;
white-space: nowrap;
}
.share span {
margin-right: 8px;
color: #BBBEC2;
}
.share ul {
display: flex;
align-items: center;
margin: 0;
padding: 0;
list-style: none;
}
.share li {
margin: 4px;
width: 36px;
height: 36px;
}
.share a {
color: #fff;
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 50px;
vertical-align: middle;
text-align: center;
cursor: pointer;
}
.share a:hover {
color: #fff !important;
}
.share svg {
width: 20px;
height: 20px;
display: inline-block;
background-color: transparent;
color: inherit;
vertical-align: middle;
fill: currentColor;
stroke: currentColor;
stroke-width: 0;
pointer-events: none;
position: relative;
}
.share .copylink {
background: #8E9399;
}
.share .twitter {
background: #1da1f2;
}
.share .telegram {
background: #0088cc;
}
.share .vk {
background: #45668e;
}
.share .facebook {
background: #3b5998;
}
.share .reddit {
background: #ff4500;
}
.comm_inner {
margin: 24px 16px 82px;
}
.comm_title {
margin-bottom: 12px;
font-size: 17px;
color: #8E9399;
}
.comment {
display: flex;
margin: 10px 0;
}
.comm_left {
margin-right: 10px;
}
.letter {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: #1C2733;
background-size: cover;
color: #8E9399;
border-radius: 50%;
font-size: 18px;
}
.comm_right {
display: flex;
flex-direction: column;
line-height: 1.6;
}
.comm_author {
color: #eaeaea;
}
.comm_text {
word-break: break-word;
color: #BBBEC2;
}
.comm_time {
font-size: 13px;
color: #6B727A;
}
.comment svg {
vertical-align: middle;
margin-top: -2px;
margin-right: 8px;
stroke-width: 0;
fill: currentColor;
stroke: currentColor;
}
.comm_like {
transition: all .3s ease-out;
cursor: pointer;
margin-left: auto;
font-size: 13px;
color: #8E9399;
height: 18px;
white-space: nowrap;
position: relative;
top: 2px;
}
.comm_like.clicked {
color: #5d80a6;
}
.commentForm {
max-width: 650px;
position: fixed;
bottom: 0;
width: 100%;
background: #1C2733;
display: flex;
align-items: center;
height: 56px;
box-shadow: rgba(0, 0, 0, .15) 0 0 3px 1px;
z-index: 3;
}
#nameInput {
margin-right: 0 !important;
}
#nameInput, #textInput {
background: #151D26;
color: #fff;
border: none;
padding: 0 16px;
margin: 0 16px 0 8px;
width: 100%;
height: 40px;
border-radius: 50px;
font-size: 15.2px;
}
.typed #textInput {
margin: 0 8px;
}
.write {
display: none;
margin-left: auto;
align-items: center;
justify-content: center;
padding: 10px;
margin-right: 8px;
cursor: pointer;
}
.typed .write {
display: flex;
}
.user {
display: flex;
flex: none;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
margin-left: 16px;
background: #151D26;
color: #8E9399;
border-radius: 50%;
font-size: 18px;
}