Styling for FullTextSearch #15

This commit is contained in:
Magnus Walbeck 2018-02-19 20:22:09 +08:00
parent c0f8048cda
commit d1021f0481
5 changed files with 79 additions and 3 deletions

View File

@ -11,5 +11,6 @@ The icons for this theme are from the following projects:
* Nextcloud Social Sharing, AGPLv3 - [https://github.com/nextcloud/socialsharing](https://github.com/nextcloud/socialsharing)
* Nextcloud Mail, AGPLv3 - [https://github.com/nextcloud/mail](https://github.com/nextcloud/mail)
* Audio Player, AGPLv3 - [https://github.com/Rello/audioplayer](https://github.com/Rello/audioplayer)
* FullTextSearch, AGPLv3 - [https://github.com/nextcloud/fulltextsearch](https://github.com/nextcloud/fulltextsearch)
The colours of the icons have been changed to better fit the style of the theme.

View File

@ -10,3 +10,19 @@
}
}
}
.provider_navigation {
color: $foreground-normal;
background: $background-normal;
}
.result_entry_default {
background: $background-normal;
}
#fts-popup {
.div-table-col-left {
color: $foreground-normal;
}
}

View File

@ -636,6 +636,12 @@ select {
background-image: url('../img/twofactor-u2f.svg?v=1');
}
/* FullTextSearch ----------------------------------------------------------- */
div.icon-fulltextsearch-white {
background-image: url('../img/fulltextsearch.svg');
}
/* CSS tricks to change icon color ------------------------------------------ */
// Audio player
@ -709,8 +715,9 @@ a.impersonate img.svg {
filter: invert(95%);
}
// In admin section
#app-navigation img[src$="/settings/img/password.svg"] {
// In admin settings
#app-navigation img[src$="/settings/img/password.svg"],
#app-navigation img[src$="/apps/fulltextsearch/img/fulltextsearch_black.svg"] {
filter: invert(95%);
}

View File

@ -463,6 +463,10 @@ select {
.nav-icon-u2f-second-factor-auth {
background-image: url("../img/twofactor-u2f.svg?v=1"); }
/* FullTextSearch ----------------------------------------------------------- */
div.icon-fulltextsearch-white {
background-image: url("../img/fulltextsearch.svg"); }
/* CSS tricks to change icon color ------------------------------------------ */
.sm2-volume-control,
.sm2-inline-button.shuffle {
@ -502,7 +506,8 @@ a.impersonate img.svg {
.app-settings #app-navigation img[src$="/img/app-dark.svg"] {
filter: invert(95%); }
.app-settings #app-navigation img[src$="/settings/img/password.svg"] {
.app-settings #app-navigation img[src$="/settings/img/password.svg"],
.app-settings #app-navigation img[src$="/apps/fulltextsearch/img/fulltextsearch_black.svg"] {
filter: invert(95%); }
.app-settings #apps-list .app-image image {
filter: invert(5%); }
@ -2622,4 +2627,14 @@ button#deleteaccount {
.app-settings #app-content #fns .div-table .div-table-row .div-table-col select, .app-settings #app-content #fns .div-table .div-table-row .div-table-col input, .app-settings #app-content #elastic_search .div-table .div-table-row .div-table-col select, .app-settings #app-content #elastic_search .div-table .div-table-row .div-table-col input, .app-settings #app-content #files .div-table .div-table-row .div-table-col select, .app-settings #app-content #files .div-table .div-table-row .div-table-col input {
background-color: #232629 !important; }
.provider_navigation {
color: #eff0f1;
background: #31363b; }
.result_entry_default {
background: #31363b; }
#fts-popup .div-table-col-left {
color: #eff0f1; }
/*# sourceMappingURL=server.css.map */

View File

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xml:space="preserve"
style="enable-background:new 0 0 490 490;"
viewBox="0 0 490 490"
y="0px"
x="0px"
id="Capa_1"
version="1.1"><metadata
id="metadata21"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs19" /><g
id="g3"><g
style="fill:#f2f2f2;fill-opacity:1"
id="g5"><path
style="fill:#f2f2f2;fill-opacity:1"
id="path7"
d="M436.943,351.599L317.458,245.973c-8.201,14.577-18.348,28.375-30.709,40.767c-12.392,12.392-26.16,22.508-40.735,30.709 l105.565,119.485c11.044,12.48,26.789,19.873,43.43,20.381c16.702,0.509,32.834-5.866,44.627-17.689 c11.822-11.792,18.197-27.925,17.69-44.596C456.816,378.358,449.423,362.644,436.943,351.599z"
fill="#000000" /></g><g
style="fill:#f2f2f2;fill-opacity:1"
id="g9"><path
style="fill:#f2f2f2;fill-opacity:1"
id="path11"
d="M262.356,44.957c-59.951-59.929-157.467-59.929-217.418,0c-59.922,59.951-59.922,157.466,0.029,217.417 c59.922,59.922,157.438,59.922,217.389,0C322.277,202.423,322.277,104.909,262.356,44.957z M225.779,225.799 c-39.747,39.749-104.487,39.749-144.266,0c-39.749-39.778-39.749-104.519,0-144.267c39.778-39.778,104.519-39.778,144.297,0 C265.559,121.281,265.559,186.022,225.779,225.799z"
fill="#000000" /></g><g
style="fill:#f2f2f2;fill-opacity:1"
id="g13"><path
style="fill:#f2f2f2;fill-opacity:1"
id="path15"
d="M126.23,101.856c-2.725-2.724-6.226-4.04-9.758-4.579c-5.179-0.749-10.625,0.568-14.636,4.579 c-28.585,28.584-28.554,75.067,0,103.62c4.011,4.013,9.457,5.329,14.666,4.58c3.532-0.539,7.003-1.855,9.728-4.58 c6.734-6.733,6.705-17.628,0-24.394c-15.145-15.115-15.145-39.718,0-54.833C132.964,119.485,132.935,108.59,126.23,101.856z"
fill="#000000" /></g></g></svg>

After

Width:  |  Height:  |  Size: 2.2 KiB