Permalink
Browse files

Fixed the Visual Search demo

  • Loading branch information...
1 parent 7ab9b41 commit a7e54fb93b34ec1b09f2859fd04af2d7db4afa78 @balupton balupton committed Dec 2, 2012
View

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,22 +0,0 @@
-Copyright (c) 2011 Samuel Clay, @samuelclay, DocumentCloud
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
@@ -1,310 +0,0 @@
-.VS-search .VS-icon {
- background-repeat: no-repeat;
- background-position: center center;
- vertical-align: middle;
- width: 16px; height: 16px;
-}
- .VS-search .VS-icon-cancel {
- width: 11px; height: 11px;
- background-position: center 0;
- background-image: url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAWCAYAAAAW5GZjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAb9JREFUeNqUUr1qAkEQ3j0khQp6kihaeGgEEa18gTQR0iRY+BaBSMDGwidIEUKqFL6BopgqBAJ5AMFGjUU0d4WHEvwJarvZ77gRIzGYgb1hZr+Z75vZ40IIzqTNZrPj8Xicn0wmmcViEXS73aaqqq+BQODG6/W+A8MBNk3zfDAY3C6Xy0O2ZS6X6zMSiVwHg8FHLjtq7Xb7RQKj7BeTzVCgJ5PJU2U0GhUk7REuMpkMi8fjFggeMeecrVYrFRId0CgTAgDDMFg4HLbA8IjJgHNgGEr0er0fQIphUmZAwdSUADUB4RFDsz3oSMF6CLzZkQqgGebz+Z75dDqNdTqdp13bgDmdTj2VSp0oWHg0Gr2UNH2Z/9o+yMv7K4/HY/C/XhDUfr//jl7QQVT9fp/V63VWqVRYt9tliUSCZbPZg1wux9Lp9PqFeK1Wu9A0DdXz7YM87i0FrVZLs4Fi1wmFQh/NZjOmVKvVgq7rR/QflMtlixGedjwcDlUpMQ9tbzalkAAB2/R297mNW+sT2wUbUnA//V/nYrH4QOBNABUQuFQq3TNMuc82sDVrz41G42yvPeODAwZQ0QzwiJEnzLcAAwBJ6WXlwoBgZAAAAABJRU5ErkJggg==");
- cursor: pointer;
- }
- .VS-search .VS-icon-cancel:hover {
- background-position: center -11px;
- }
- .VS-search .VS-icon-search {
- width: 12px; height: 12px;
- background-image: url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUZJREFUeNpUUM2qgmAQzS8NiUgLzTIXLZQW1QuI9AY9QPSW9gQ9QiriwpJQEBVrVWT2d7p2L9xZzDdzZs7M+YYqy/J8Ptu2vd/v4zgeDAaqqk4mE47jar9GnU6nzWbjOA5FUa/Xq0Jns9l8Pud5vkpp58cwAOzhcBhFkeu6GNztdg3D+Db5vo9nOp2iiWGYTqdDCMFe4LquI0aVpGmKR9M0lmUbjQY8YiBJklTb4YkoilBzOBzq9TogeMQIJEmqmlAlo9EIyXa7tSyrKAp4xEBkWUb5q2k8Hh+PR8/zwjCEgufz+aESstvtoKnVan2GgY31kBkEAfT1ej1FUZDiNIIgrFYr9H1ug3teLpfH43G/3/FBUJGu1+s8z8FZLpc0mmiabrfbf5fEumazuVgsTNO8Xq+3242qRNT+G0CMz7IMzH6//xZgAA60tj6rqzxpAAAAAElFTkSuQmCC");
- }
-
-/*------------------------------ RESET + DEFAULT STYLES ---------------------------------*/
-
-/*
-Eric Meyer's final reset.css
-Source: http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/
-*/
-.VS-search div, .VS-search span, .VS-search a, .VS-search img,
-.VS-search ul, .VS-search li, .VS-search form, .VS-search label,
-.VS-interface ul, .VS-interface li, .VS-interface {
- margin: 0;
- padding: 0;
- border: 0;
- outline: 0;
- font-weight: inherit;
- font-style: inherit;
- font-size: 100%;
- font-family: inherit;
- vertical-align: baseline;
-}
-
-.VS-search :focus {
- outline: 0;
-}
-.VS-search {
- line-height: 1;
- color: black;
-}
-.VS-search ol, .VS-search ul {
- list-style: none;
-}
-
-/* ===================== */
-/* = General and Reset = */
-/* ===================== */
-
-.VS-search {
- font-family: Arial, sans-serif;
- color: #373737;
- font-size: 12px;
-}
-.VS-search input {
- display: block;
- border: none;
- -moz-box-shadow: none;
- -webkit-box-shadow: none;
- box-shadow: none;
- outline: none;
- margin: 0; padding: 4px;
- background: transparent;
- font-size: 16px;
- line-height: 20px;
- width: 100%;
-}
-.VS-interface, .VS-search .dialog, .VS-search input {
- font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, sans-serif !important;
- line-height: 1.1em;
-}
-
-/* ========== */
-/* = Layout = */
-/* ========== */
-
-.VS-search .VS-search-box {
- cursor: text;
- position: relative;
- background: transparent;
- border: 2px solid #ccc;
- border-radius: 16px; -webkit-border-radius: 16px; -moz-border-radius: 16px;
- background-color: #fafafa;
- -webkit-box-shadow: inset 0px 0px 3px #ccc;
- -moz-box-shadow: inset 0px 0px 3px #ccc;
- box-shadow: inset 0px 0px 3px #ccc;
- min-height: 28px;
- height: auto;
-}
- .VS-search .VS-search-box.VS-focus {
- border-color: #acf;
- -webkit-box-shadow: inset 0px 0px 3px #acf;
- -moz-box-shadow: inset 0px 0px 3px #acf;
- box-shadow: inset 0px 0px 3px #acf;
- }
- .VS-search .VS-search-inner {
- position: relative;
- margin: 0 20px 0 22px;
- overflow: hidden;
- }
- .VS-search input {
- width: 100px;
- }
- .VS-search input,
- .VS-search .VS-input-width-tester {
- padding: 6px 0;
- float: left;
- color: #808080;
- font: 13px/17px Helvetica, Arial;
- }
- .VS-search.VS-focus input {
- color: #606060;
- }
- .VS-search .VS-icon-search {
- position: absolute;
- left: 9px; top: 8px;
- }
- .VS-search .VS-icon-cancel {
- position: absolute;
- right: 9px; top: 8px;
- }
-
-/* ================ */
-/* = Search Facet = */
-/* ================ */
-
-.VS-search .search_facet {
- float: left;
- margin: 0;
- padding: 0 0 0 14px;
- position: relative;
- border: 1px solid transparent;
- height: 20px;
- margin: 3px -3px 3px 0;
-}
- .VS-search .search_facet.is_selected {
- margin-left: -3px;
- -webkit-border-radius: 16px;
- -moz-border-radius: 16px;
- border-radius: 16px;
- background-color: #d2e6fd;
- background-image: -moz-linear-gradient(top, #d2e6fd, #b0d1f9); /* FF3.6 */
- background-image: -webkit-gradient(linear, left top, left bottom, from(#d2e6fd), to(#b0d1f9)); /* Saf4+, Chrome */
- background-image: linear-gradient(top, #d2e6fd, #b0d1f9);
- border: 1px solid #6eadf5;
- }
- .VS-search .search_facet .category {
- float: left;
- text-transform: uppercase;
- font-weight: bold;
- font-size: 10px;
- color: #808080;
- padding: 8px 0 5px;
- line-height: 13px;
- cursor: pointer;
- padding: 4px 0 0;
- }
- .VS-search .search_facet.is_selected .category {
- margin-left: 3px;
- }
- .VS-search .search_facet .search_facet_input_container {
- float: left;
- }
- .VS-search .search_facet input {
- margin: 0;
- padding: 0;
- color: #000;
- font-size: 13px;
- line-height: 16px;
- padding: 5px 0 5px 4px;
- height: 16px;
- width: auto;
- z-index: 100;
- position: relative;
- padding-top: 1px;
- padding-bottom: 2px;
- padding-right: 3px;
-
- }
- .VS-search .search_facet.is_editing input,
- .VS-search .search_facet.is_selected input {
- color: #000;
- }
- .VS-search .search_facet .search_facet_remove {
- position: absolute;
- left: 0;
- top: 4px;
- }
- .VS-search .search_facet.is_selected .search_facet_remove {
- opacity: 0.4;
- left: 3px;
- filter: alpha(opacity=40);
- background-position: center -11px;
- }
- .VS-search .search_facet .search_facet_remove:hover {
- opacity: 1;
- }
- .VS-search .search_facet.is_editing .category,
- .VS-search .search_facet.is_selected .category {
- color: #000;
- }
- .VS-search .search_facet.search_facet_maybe_delete .category,
- .VS-search .search_facet.search_facet_maybe_delete input {
- color: darkred;
- }
-
-/* ================ */
-/* = Search Input = */
-/* ================ */
-
-.VS-search .search_input {
- height: 28px;
- float: left;
- margin-left: -1px;
-}
- .VS-search .search_input input {
- padding: 6px 3px 6px 2px;
- line-height: 10px;
- height: 22px;
- margin-top: -4px;
- width: 10px;
- z-index: 100;
- min-width: 4px;
- position: relative;
- }
- .VS-search .search_input.is_editing input {
- color: #202020;
- }
-
-/* ================ */
-/* = Autocomplete = */
-/* ================ */
-
-.VS-interface.ui-autocomplete {
- position: absolute;
- border: 1px solid #C0C0C0;
- border-top: 1px solid #D9D9D9;
- background-color: #F6F6F6;
- cursor: pointer;
- z-index: 10000;
- padding: 0;
- margin: 0;
- width: auto;
- min-width: 80px;
- max-width: 220px;
- max-height: 240px;
- overflow-y: auto;
- overflow-x: hidden;
- font-size: 13px;
- top: 5px;
- opacity: 0.97;
- box-shadow: 3px 4px 5px -2px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 3px 4px 5px -2px rgba(0, 0, 0, 0.5); -moz-box-shadow: 3px 4px 5px -2px rgba(0, 0, 0, 0.5);
-}
- .VS-interface.ui-autocomplete .ui-autocomplete-category {
- text-transform: capitalize;
- font-size: 11px;
- padding: 4px 4px 4px;
- border-top: 1px solid #A2A2A2;
- border-bottom: 1px solid #A2A2A2;
- background-color: #B7B7B7;
- text-shadow: 0 -1px 0 #999;
- font-weight: bold;
- color: white;
- cursor: default;
- }
- .VS-interface.ui-autocomplete .ui-menu-item {
- float: none;
- }
- .VS-interface.ui-autocomplete .ui-menu-item a {
- color: #000;
- outline: none;
- display: block;
- padding: 3px 4px 5px;
- border-radius: none;
- line-height: 1;
- background-color: #F8F8F8;
- background-image: -moz-linear-gradient(top, #F8F8F8, #F3F3F3); /* FF3.6 */
- background-image: -webkit-gradient(linear, left top, left bottom, from(#F8F8F8), to(#F3F3F3)); /* Saf4+, Chrome */
- background-image: linear-gradient(top, #F8F8F8, #F3F3F3);
- border-top: 1px solid #FAFAFA;
- border-bottom: 1px solid #f0f0f0;
- }
- .VS-interface.ui-autocomplete .ui-menu-item a:active {
- outline: none;
- }
- .VS-interface.ui-autocomplete .ui-menu-item .ui-state-hover {
- background-color: #6483F7;
- background-image: -moz-linear-gradient(top, #648bF5, #2465f3); /* FF3.6 */
- background-image: -webkit-gradient(linear, left top, left bottom, from(#648bF5), to(#2465f3)); /* Saf4+, Chrome */
- background-image: linear-gradient(top, #648bF5, #2465f3);
- border-top: 1px solid #5b83ec;
- border-bottom: 1px solid #1459e9;
- border-left: none;
- border-right: none;
- color: white;
- margin: 0;
- }
- .VS-interface.ui-autocomplete .ui-corner-all {
- border-radius: 0;
- }
- .VS-interface.ui-autocomplete li {
- list-style: none;
- width: auto;
- }
Oops, something went wrong.

0 comments on commit a7e54fb

Please sign in to comment.