/**
 * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
 *
 * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
 *
 * @license GNU AGPL version 3 or any later version
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
/**
 * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
 *
 * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
 *
 * @license GNU AGPL version 3 or any later version
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
/**
 * Removes the "#" from a color.
 *
 * @param string $color The color
 * @return string The color without #
 */
/**
 * Calculates the URL to the svg under the SVG API.
 *
 * @param string $icon the icon filename
 * @param string $dir the icon folder within /core/img if $core or app name
 * @param string $color the desired color in hexadecimal
 * @param int [$version] the version of the file
 * @param bool [$core] search icon in core
 * @return string The URL to the svg.
 */
/**
 * SVG COLOR API
 *
 * @param string $icon the icon filename
 * @param string $dir the icon folder within /core/img if $core or app name
 * @param string $color the desired color in hexadecimal
 * @param int $version the version of the file
 * @param bool [$core] search icon in core
 *
 * @returns A background image with the url to the set to the requested icon.
 */
/**
 * Create black and white icons
 * This will add a default black version of and an additional white version when .icon-white is applied
 */
/*
 * @copyright Copyright (c) 2018 Jan-Christoph Borchardt <hey@jancborchardt.net>
 *
 * @author John Molakvoæ <skjnldsv@protonmail.com>
 * @author Jan-Christoph Borchardt <hey@jancborchardt.net>
 *
 * @license GNU AGPL version 3 or any later version
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 *
 */
/* line 24, /var/www/nextcloud/core/search/css/results.scss */
#searchresults {
  overflow-x: hidden;
  text-overflow: ellipsis;
  padding-top: 51px;
  /* table row is 51px height */
  box-sizing: border-box;
  z-index: 75;
  /* account for margin-bottom in files list */
  margin-top: -250px;
}
/* line 32, /var/www/nextcloud/core/search/css/results.scss */
#searchresults table {
  border-spacing: 0;
  padding-left: 41px;
  table-layout: fixed;
  top: 0;
  width: 100%;
}
/* line 39, /var/www/nextcloud/core/search/css/results.scss */
/* line 40, /var/www/nextcloud/core/search/css/results.scss */
#searchresults tr.result {
  border-bottom: 1px solid #ededed;
}
/* line 42, /var/www/nextcloud/core/search/css/results.scss */
#searchresults tr.result * {
  cursor: pointer;
}
/* line 46, /var/www/nextcloud/core/search/css/results.scss */
#searchresults tr.template {
  display: none;
}
/* line 49, /var/www/nextcloud/core/search/css/results.scss */
#searchresults tr:hover, #searchresults tr.current {
  background-color: #f7f7f7;
}
/* line 53, /var/www/nextcloud/core/search/css/results.scss */
#searchresults tr td {
  padding: 5px 9px;
  font-style: normal;
  vertical-align: middle;
  border-bottom: none;
}
/* line 58, /var/www/nextcloud/core/search/css/results.scss */
#searchresults tr td.icon {
  text-align: right;
  width: 40px;
  height: 40px;
  padding: 5px 0;
  background-position: right center;
  background-repeat: no-repeat;
}
/* line 66, /var/www/nextcloud/core/search/css/results.scss */
.has-selection:not(.hidden) ~ #searchresults tr td.icon {
  width: 50px;
  padding-left: 41px;
  background-size: 32px;
}
/* line 73, /var/www/nextcloud/core/search/css/results.scss */
#searchresults tr .name, #searchresults tr .text, #searchresults tr .path {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* line 80, /var/www/nextcloud/core/search/css/results.scss */
#searchresults tr .text {
  white-space: normal;
  color: #545454;
}
/* line 84, /var/www/nextcloud/core/search/css/results.scss */
#searchresults tr .path {
  opacity: 0.5;
}
/* line 87, /var/www/nextcloud/core/search/css/results.scss */
#searchresults tr .text em {
  color: #545454;
  font-weight: bold;
  opacity: 1;
}
/* line 93, /var/www/nextcloud/core/search/css/results.scss */
#searchresults .hidden {
  display: none;
}
/* line 96, /var/www/nextcloud/core/search/css/results.scss */
#searchresults.filter-empty {
  /* remove whitespace on bottom when no search results, to fix layout */
  margin-top: 0 !important;
}
/* line 100, /var/www/nextcloud/core/search/css/results.scss */
#searchresults .status.summary .info {
  margin-left: 100px;
}
