1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-26 23:34:45 +00:00

[dir view] redesigned 'tip for new file', supported mobile (#4034)

This commit is contained in:
llj
2019-08-29 20:19:38 +08:00
committed by Daniel Pan
parent 49f5e1e3a0
commit d1b3bbc5af
2 changed files with 22 additions and 26 deletions

View File

@@ -0,0 +1,24 @@
.tip-for-new-file {
margin: 0 auto;
padding: 2em 1em;
align-self: flex-start; /* for repo wiki mode */
}
@media (min-width: 768px) {
.tip-for-new-file {
padding: 5em 8em;
}
}
.big-new-file-button {
padding: .9em 2em 1em;
border-radius: 8px;
margin: 0 0.75em 1.5em;
cursor: pointer;
width: 160px;
background: #fff;
border: 1px solid #d1d1d1;
}
.big-new-file-button:hover,
.big-new-file-button:focus {
border-color: #eb9205;
color: #eb8205;
}