Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
File-Sharing-Website/public/myfiles.css
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
497 lines (402 sloc)
7.24 KB
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
@charset "UTF-8"; | |
@import url('https://fonts.googleapis.com/css?family=Inconsolata:700'); | |
*{ | |
margin:0; | |
padding:0; | |
} | |
/* hello */ | |
html, body, input[name='fileName'] { | |
/* font-family: Avantgarde, Arial, sans-serif; */ | |
font-family: 'Public Sans', sans-serif; | |
height: 100%; | |
position: relative; | |
color: black; | |
font-size: 20px; | |
font-weight: bold; | |
/* background: #062641; */ | |
background: white; | |
/* width: 100%; */ | |
/* display: inline-block; */ | |
} | |
body { | |
min-width: 800px; | |
width: auto; | |
} | |
header { | |
position: relative; | |
/* min-width: 800px; */ | |
width: 100%; | |
height: 130px; | |
/* border: 3px solid black; */ | |
} | |
#logo { | |
position: absolute; | |
/* top: 50%; */ | |
left: 30px; | |
/* margin-top: -80px; */ | |
height: 125px; | |
width: auto; | |
/* margin-left: 40px */ | |
} | |
.avatar { | |
border-radius: 200px; | |
box-sizing: border-box; | |
padding: 5px; | |
background-color: rgb(230, 230, 230); | |
/* border: 3px solid #9da6aa; */ | |
width: 50px; | |
height: auto; | |
} | |
#nav1{ | |
position: absolute; | |
top: 50%; | |
right: 3%; | |
margin-top: -25px; | |
} | |
#nav1 a { | |
color: white; | |
vertical-align: middle; | |
font-size: 14px; | |
text-decoration: none; | |
} | |
#nav1 span { | |
vertical-align: middle; | |
margin-left: 5px; | |
} | |
#nav1Top { | |
border-bottom: 1px solid white; | |
} | |
#nav1 ul { | |
width: 95px; | |
margin: 0; | |
padding: 0; | |
position: absolute; | |
top: 110%; | |
left: 50%; | |
margin-left: -55px; | |
transition: all 0.3s; | |
visibility: hidden; | |
opacity: 0; | |
background-color: #11B8FF; | |
/* background-color: rgb(230, 230, 230); */ | |
border-radius: 10px 10px 10px 10px; | |
padding: 0 5px 0 5px; | |
z-index: 1; | |
} | |
#nav1 ul li { | |
list-style-type: none; | |
padding: 15px 5px 15px 5px; | |
/* border-bottom: 2px solid #9da6aa; */ | |
} | |
#nav1:hover ul{ | |
opacity: 1; | |
visibility: visible; | |
} | |
.navImg { | |
height: 20px; | |
width: auto; | |
color: white; | |
float: left; | |
vertical-align: middle; | |
} | |
.search{ | |
position: absolute; | |
top:50%; | |
left:50%; | |
display: block; | |
transform: translate(-50%,-50%); | |
background: rgb(230, 230, 230); | |
height:40px; | |
border-radius: 40px; | |
padding: 10px; | |
} | |
.search:hover > .search-txt, .search-txt:not(:placeholder-shown), .search-txt:focus-within { | |
width:300px; | |
padding: 2px; | |
} | |
.search-btn{ | |
width: 38px; | |
height:38px; | |
border-radius: 100%; | |
vertical-align: middle; | |
position: relative; | |
top: 2px; | |
left: 2px; | |
} | |
.search-txt{ | |
border:none; | |
background:none; | |
outline:none; | |
float:left; | |
padding:0; | |
color:black; | |
font-size:16px; | |
transition:0.4s; | |
line-height: 38px; | |
width:0px; | |
} | |
#nav2 { | |
font-size: 22px; | |
float: left; | |
border-radius: 0 70px 0 0; | |
width: 250px; | |
height: inherit; | |
background:#11B8FF; | |
} | |
#nav2 ul { | |
margin: 35px 0 0 35px; | |
padding: 0; | |
list-style-type: none; | |
} | |
#nav2 a { | |
color: rgb(0, 127, 182); | |
text-decoration: none; | |
} | |
#nav2 a.active { | |
color: white; | |
} | |
#nav2 li { | |
padding: 20px 0 20px 0; | |
} | |
#tree { | |
font-size: 20px; | |
} | |
#fileTree { | |
overflow: hidden; | |
height: inherit; | |
padding: 40px 80px 0 80px; | |
/* display: block; */ | |
/* margin-left: 370px; */ | |
/* left: 25%; */ | |
} | |
#treeHeader { | |
display: inline-block; | |
position: relative; | |
/* min-width: 380px; */ | |
width: 100%; | |
} | |
#treeHeader h1 { | |
font-size: 30px; | |
float: left; | |
} | |
table, th, td { | |
/* border: 1px solid black; */ | |
} | |
table { | |
margin-top: 30px; | |
border-collapse: collapse; | |
width: 100%; | |
min-width: 380px; | |
text-align: left; | |
vertical-align: middle; | |
/* height: 100%; */ | |
} | |
#headRow th{ | |
color: rgb(202, 202, 202); | |
} | |
#headRow { | |
border-bottom: 0px; | |
} | |
table tr { | |
height: 30px; | |
/* border-bottom: 1px solid gray; */ | |
} | |
table tr td { | |
padding: 20px 0 20px 0; | |
} | |
.name { | |
width: 54%; | |
} | |
.uploaded { | |
width: 10%; | |
} | |
.expires { | |
width: 10%; | |
} | |
.size { | |
width: 15%; | |
} | |
.type { | |
width: 5%; | |
} | |
.delete { | |
width: 3%; | |
text-align: center; | |
} | |
.share { | |
width: 3%; | |
text-align: center; | |
} | |
.button { | |
color:white; | |
background: #11B8FF; | |
border-radius: 200px; | |
border: none; | |
padding: 8px; | |
margin-left: 6px; | |
font-weight: bold; | |
top: 50%; | |
transition-duration: 0.3s; | |
} | |
#bigButton { | |
margin-left: 30px; | |
} | |
#bigButton img { | |
margin-right: 5px; | |
} | |
#bigButton span{ | |
vertical-align: middle; | |
position: relative; | |
top: 1px; | |
} | |
#twoButtons { | |
float: right; | |
} | |
.smlImg { | |
height: 15px; | |
width: auto; | |
vertical-align: middle; | |
padding-right: 1px; | |
margin: 2px | |
} | |
#twoButtons button { | |
margin-left: 4px; | |
} | |
/* #fileTree form { | |
width: 60%; | |
} */ | |
#uploadForm { | |
position: relative; | |
margin-left: 50px; | |
float:left; | |
} | |
#uploadForm label{ | |
/* margin: 30px 0 25px 0; */ | |
/* display: inline-block; */ | |
cursor: pointer; | |
width: 300px; | |
} | |
#uploadForm label p { | |
margin-top: 7px; | |
margin-left: 10px; | |
float: left; | |
} | |
#uploadForm input { | |
float: left; | |
} | |
#uploadForm + input:required .confirmButton { | |
color: black; | |
} | |
#confirmButton { | |
display: none; | |
} | |
.bigButton { | |
cursor: pointer; | |
color: white; | |
float: left; | |
margin-top: 4px; | |
font-size: 20px; | |
background-color: #11B8FF; | |
width: 100px; | |
border-radius: 10px; | |
margin-left: 30px; | |
border: 0px; | |
padding: 2px 10px 2px 10px; | |
transition-duration: 0.3s; | |
} | |
.inputUpload { | |
height: 0.1px; | |
width: 0.1px; | |
overflow: hidden; | |
z-index: -1; | |
opacity: 0; | |
position: absolute; | |
} | |
/* .inputUpload + label{ | |
/* float: left; */ | |
.inputUpload:focus label:hover img, | |
.inputUpload + label:hover img, | |
.confirmButton:hover, #transferButton:hover, | |
.button:hover, | |
.bigButton:hover { | |
background-color: rgb(0, 134, 192); | |
transition-duration: 0.3s; | |
} | |
.inputUpload + label > img { | |
width: 35px; | |
height: 35px; | |
padding-left: 0.5px; | |
background-color: #11B8FF; | |
transition-duration: 0.3s; | |
float: left; | |
border-radius: 200px; | |
} | |
.inputInfo input, .inputInfo textarea { | |
width: 60%; | |
padding: 10px 2px 10px 4px; | |
margin: 10px 0px 30px 0px; | |
max-width: 350px; | |
min-width: 200px; | |
border: 0px; | |
/* border-bottom: 1px solid rgb(230, 230, 230); */ | |
font-size: 17px; | |
font-style: italic; | |
font-family: 'Public Sans', sans-serif; | |
background-color: rgb(230, 230, 230); | |
border-radius: 4px; | |
} | |
.inputInfo input:focus, .inputInfo textarea:focus { | |
outline: none | |
} | |
.inputInfo textarea { | |
padding-bottom: 50px; | |
padding-top: 5px; | |
} | |
#msg { | |
float: left; | |
opacity: 1; | |
margin-top: 6px; | |
margin-left: 20%; | |
transition: 1s; | |
} | |
#filename { | |
margin: 40px 0 20px 0; | |
cursor: pointer; | |
} | |
#fileTree a { | |
text-decoration: none; | |
} | |
button { | |
cursor: pointer; | |
} | |
#transferButton { | |
width: 60%; | |
margin-top: 4px; | |
background-color: #11B8FF; | |
border-radius: 10px; | |
} | |
form[action="/transfer"] { | |
margin-top: 30px; | |
} | |
#transfered { | |
margin-top: 60px; | |
position: absolute; | |
float: left; | |
} | |
input[name='fileName']:placeholder-shown { | |
display: none; | |
} | |
input[name='fileName'] { | |
background-color: white; | |
font-size: 25px; | |
} | |
#visibleFile { | |
padding: 30px 0 30px 0; | |
} | |
#fileBox { | |
margin-top: 40px; | |
} | |
#downloadButton { | |
margin-left: 0; | |
padding-right: 5px; | |
} |