web/data/cubicweb.suggest.css
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 08 Jan 2014 14:00:31 +0100
changeset 9377 4e0d8f06efbc
parent 5767 1d811df051c2
permissions -rw-r--r--
[js/widgets] fix the InOut widget with modern jQuery versions Several things are done there: * reduction in size and complexity of the code * the unused defaultsettings are removed * the initial `unlinked` list is now correctly populated from python-side * the unit test is adjusted because it tested an irrelevant implementation detail which is no longer true (but the widget of course still handles correctly the linkto information) Tested with ie7, ie9, chromium, firefox. Tested with jQuery 1.6 (cw 3.17.x) and 1.10. Closes #3154531.

/* styles for input with suggestions (as for tags and keywords)
 *
 *  :organization: Logilab
 *  :copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 *  :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 */

div.sgform div.combobox {
  z-index: 300;
  margin-left: 3px;
  width: 150px;
}

div.sgform div.combobox input.suggestions {
  width: 100%;
}

div.sgform  select{
  width: 155px;
}

div.sgformbuttons {
  margin-left: 3px;
}

div.sgformbuttons a {
  font-weight: bold;
  padding:2px 0px;
}

a.sglink {
  color: #000;
  font-weight: bold;
  display: block;
  background: url("puce.png") 98% 5px no-repeat;
  margin-left: 3px;
  padding: 2px 16px 2px 0px;
}

div.suggholder {
  z-index: 300;
  position: absolute;
}