Skip to content

Commit

Permalink
Add button image, tweak CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
nearwood committed Nov 7, 2019
1 parent ab3adf1 commit 11b4567
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/view/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<script src="view/msqur.js"></script>
</head>
<body>
<div id="navigation"><span><button id="btnUpload">Upload</button></span><span><a href="browse.php">Browse</a></span><span style="display:none;"><a href="search.php">Search</a></span><span style="display:none;"><a>Stats</a></span><span><a href="about.php">About</a></span></div>
<div id="navigation"><span><button id="btnUpload"><img src="view/img/upload.svg" alt="Upload" width="16" height="16"><span>Upload</span></button></span><span><a href="browse.php">Browse</a></span><span style="display:none;"><a href="search.php">Search</a></span><span style="display:none;"><a>Stats</a></span><span><a href="about.php">About</a></span></div>
<div id="upload" style="display:none;">
<form id="engineForm" action="upload.php" method="post" enctype="multipart/form-data">
<div id="fileDropZone"><label for="fileSelect">Drop files here</label>
Expand Down
1 change: 1 addition & 0 deletions src/view/img/upload.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 8 additions & 6 deletions src/view/msqur.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ div.debug {
}

div#navigation {
background: #333;
color: white;
background: #c1d5e0;
color: black;
padding: 8px 24px 8px 24px;
}

Expand All @@ -60,18 +60,20 @@ div#navigation span {
padding: 0px 8px 0px 8px;
}

/*
div#navigation a:link {
color: green;
color: #ff6f00;
}
div#navigation a:hover {
color: white;
color: #c43e00;
}
div#navigation a:active {
color: white;
color: #ffa040;
}
div#navigation a:visited {
color: red;
color: #c43e00;
}
*/

div#splash img.tutorial {
margin-bottom: 32px;
Expand Down

0 comments on commit 11b4567

Please sign in to comment.