More economic use of vertical space on the library page

This commit is contained in:
Veloman Yunkan 2023-10-28 21:17:08 +04:00
parent fd504c1166
commit 29c33a7ad6
3 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
.kiwixNav { .kiwixNav {
background-color: #f4f6f8; background-color: #f4f6f8;
width: 100%; width: 100%;
padding: 20px; padding: 10px 20px;
position: sticky; position: sticky;
top: 0; top: 0;
z-index: 3; z-index: 3;
@ -37,10 +37,10 @@
background-image: none; background-image: none;
border-radius: 1px; border-radius: 1px;
width: 195px; width: 195px;
height: 35px; height: 30px;
flex: 1; flex: 1;
color: black; color: black;
padding: 7px 10px 10px; padding: 0px 10px 0px 10px;
cursor: pointer; cursor: pointer;
} }
@ -52,7 +52,7 @@
position: relative; position: relative;
display: flex; display: flex;
width: 231px; width: 231px;
height: 35px; height: 30px;
line-height: 3; line-height: 3;
background: #909090; background: #909090;
overflow: hidden; overflow: hidden;
@ -82,7 +82,7 @@
} }
.kiwixSearch { .kiwixSearch {
height: 35px; height: 30px;
width: 231px; width: 231px;
border-radius: 10px; border-radius: 10px;
border: solid 1px #b5b2b2; border: solid 1px #b5b2b2;
@ -96,7 +96,7 @@
.kiwixButton { .kiwixButton {
margin: 0 17px; margin: 0 17px;
height: 35px; height: 30px;
width: 100px; width: 100px;
border-radius: 10px; border-radius: 10px;
color: white; color: white;

View File

@ -1033,7 +1033,7 @@ TEST_F(LibraryServerTest, no_name_mapper_catalog_v2_individual_entry_access)
" />\n" \ " />\n" \
" <link\n" \ " <link\n" \
" type=\"text/css\"\n" \ " type=\"text/css\"\n" \
" href=\"/ROOT%23%3F/skin/index.css?cacheid=4196ad7d\"\n" \ " href=\"/ROOT%23%3F/skin/index.css?cacheid=1e78e7cf\"\n" \
" rel=\"Stylesheet\"\n" \ " rel=\"Stylesheet\"\n" \
" />\n" \ " />\n" \
" <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/ROOT%23%3F/skin/favicon/apple-touch-icon.png?cacheid=f86f8df3\">\n" \ " <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/ROOT%23%3F/skin/favicon/apple-touch-icon.png?cacheid=f86f8df3\">\n" \

View File

@ -61,7 +61,7 @@ const ResourceCollection resources200Compressible{
{ DYNAMIC_CONTENT, "/ROOT%23%3F/skin/i18n.js" }, { DYNAMIC_CONTENT, "/ROOT%23%3F/skin/i18n.js" },
{ STATIC_CONTENT, "/ROOT%23%3F/skin/i18n.js?cacheid=6a8c6fb2" }, { STATIC_CONTENT, "/ROOT%23%3F/skin/i18n.js?cacheid=6a8c6fb2" },
{ DYNAMIC_CONTENT, "/ROOT%23%3F/skin/index.css" }, { DYNAMIC_CONTENT, "/ROOT%23%3F/skin/index.css" },
{ STATIC_CONTENT, "/ROOT%23%3F/skin/index.css?cacheid=4196ad7d" }, { STATIC_CONTENT, "/ROOT%23%3F/skin/index.css?cacheid=1e78e7cf" },
{ DYNAMIC_CONTENT, "/ROOT%23%3F/skin/index.js" }, { DYNAMIC_CONTENT, "/ROOT%23%3F/skin/index.js" },
{ STATIC_CONTENT, "/ROOT%23%3F/skin/index.js?cacheid=ce19da2a" }, { STATIC_CONTENT, "/ROOT%23%3F/skin/index.js?cacheid=ce19da2a" },
{ DYNAMIC_CONTENT, "/ROOT%23%3F/skin/iso6391To3.js" }, { DYNAMIC_CONTENT, "/ROOT%23%3F/skin/iso6391To3.js" },
@ -277,7 +277,7 @@ TEST_F(ServerTest, CacheIdsOfStaticResources)
{ {
/* url */ "/ROOT%23%3F/", /* url */ "/ROOT%23%3F/",
R"EXPECTEDRESULT( href="/ROOT%23%3F/skin/kiwix.css?cacheid=9b1b089f" R"EXPECTEDRESULT( href="/ROOT%23%3F/skin/kiwix.css?cacheid=9b1b089f"
href="/ROOT%23%3F/skin/index.css?cacheid=4196ad7d" href="/ROOT%23%3F/skin/index.css?cacheid=1e78e7cf"
<link rel="apple-touch-icon" sizes="180x180" href="/ROOT%23%3F/skin/favicon/apple-touch-icon.png?cacheid=f86f8df3"> <link rel="apple-touch-icon" sizes="180x180" href="/ROOT%23%3F/skin/favicon/apple-touch-icon.png?cacheid=f86f8df3">
<link rel="icon" type="image/png" sizes="32x32" href="/ROOT%23%3F/skin/favicon/favicon-32x32.png?cacheid=79ded625"> <link rel="icon" type="image/png" sizes="32x32" href="/ROOT%23%3F/skin/favicon/favicon-32x32.png?cacheid=79ded625">
<link rel="icon" type="image/png" sizes="16x16" href="/ROOT%23%3F/skin/favicon/favicon-16x16.png?cacheid=a986fedc"> <link rel="icon" type="image/png" sizes="16x16" href="/ROOT%23%3F/skin/favicon/favicon-16x16.png?cacheid=a986fedc">