new details page design

This commit is contained in:
Nick Sweeting
2019-03-27 03:49:39 -04:00
parent c9c5b04df0
commit 2ed91fe429
9 changed files with 419 additions and 251 deletions

View File

@@ -13,51 +13,64 @@
padding: 0px;
font-family: "Gill Sans", Helvetica, sans-serif;
}
header {
background-color: #aa1e55;
color: #1a1a1a;
padding: 10px;
padding-top: 0px;
padding-bottom: 15px;
/*height: 40px;*/
.header-top small {
font-weight: 200;
color: #efefef;
}
header h1 {
margin: 7px 0px;
font-size: 35px;
font-weight: 300;
color: #1a1a1a;
}
header h1 img {
height: 44px;
vertical-align: bottom;
}
header a {
text-decoration: none !important;
color: #1a1a1a;
}
.header-center {
margin: auto;
float: none;
.header-top {
width: 100%;
height: auto;
min-height: 40px;
margin: 0px;
text-align: center;
padding-top: 6px;
color: white;
font-size: calc(11px + 0.86vw);
font-weight: 200;
padding: 4px 4px;
border-bottom: 3px solid #aa1e55;
background-color: #aa1e55;
}
.header-center small {
color: #eaeaea;
opacity: 0.7;
input[type=search] {
width: 22vw;
border-radius: 4px;
border: 1px solid #aeaeae;
padding: 3px 5px;
}
.header-left {
float: left;
.nav > div {
min-height: 30px;
}
.header-right {
float: right;
padding-top: 17px;
padding-right: 10px;
.header-top a {
text-decoration: none;
color: rgba(0,0,0,0.6);
}
header + div {
margin-top: 10px;
.header-top a:hover {
text-decoration: none;
color: rgba(0,0,0,0.9);
}
.header-top .col-lg-4 {
text-align: center;
padding-top: 4px;
padding-bottom: 4px;
}
.header-archivebox img {
display: inline-block;
margin-right: 3px;
height: 30px;
margin-left: 12px;
margin-top: -4px;
margin-bottom: 2px;
}
.header-archivebox img:hover {
opacity: 0.5;
}
#table-bookmarks_length, #table-bookmarks_filter {
padding: 0px 15px;
padding-top: 12px;
opacity: 0.8;
padding-left: 24px;
padding-right: 22px;
margin-bottom: -16px;
}
table {
padding: 6px;
@@ -98,6 +111,9 @@
overflow-y: scroll;
table-layout: fixed;
}
.dataTables_wrapper {
background-color: #fafafa;
}
table tr a span[data-archived~=False] {
opacity: 0.4;
}
@@ -131,7 +147,11 @@
border-radius: 4px;
float:right
}
input[type=search]::-webkit-search-cancel-button {
-webkit-appearance: searchfield-cancel-button;
}
</style>
<link rel="stylesheet" href="static/bootstrap.min.css">
<link rel="stylesheet" href="static/jquery.dataTables.min.css"/>
<script src="static/jquery.min.js"></script>
<script src="static/jquery.dataTables.min.js"></script>
@@ -151,21 +171,20 @@
</head>
<body data-status="$status">
<header>
<div class="header-right">
<a href="https://github.com/pirate/ArchiveBox/wiki">Documentation</a> &nbsp; | &nbsp;
<a href="https://github.com/pirate/ArchiveBox">Source</a> &nbsp; | &nbsp;
<a href="https://archivebox.io">Website</a>
</div>
<div class="header-left">
<a href="?" title="Reload...">
<h1><img src="static/archive.png"/> ArchiveBox: Index</h1>
</a>
</div>
<div class="header-center">
Archived Sites
<!--<span class="in-progress">(Currently Updating)</span>-->
<br/>
<small>Last updated $time_updated</small>
<div class="header-top container-fluid">
<div class="row nav">
<div class="col-lg-6">
<a href="?" class="header-archivebox" title="Last updated: $time_updated">
<img src="static/archive.png" alt="Logo"/>
ArchiveBox: Index
</a>
</div>
<div class="col-lg-6">
<a href="https://github.com/pirate/ArchiveBox/wiki">Documentation</a> &nbsp; | &nbsp;
<a href="https://github.com/pirate/ArchiveBox">Source</a> &nbsp; | &nbsp;
<a href="https://archivebox.io">Website</a>
</div>
</div>
</div>
</header>
<table id="table-bookmarks">