Changeset 27771


Ignore:
Timestamp:
Mar 15, 2014, 8:53:30 PM (6 years ago)
Author:
rvelices
Message:

autocomplete simplified css

Location:
extensions/rv_autocomplete
Files:
14 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_autocomplete/main.inc.php

    r27564 r27771  
    6262';
    6363
    64   $css_src = get_root_url().'plugins/'.RVAC_ID.'/res/dark-hive/custom.min.css';
     64  $css_src = get_root_url().'plugins/'.RVAC_ID.'/res/dark-hive/custom.css';
    6565  $fs .= 's="'.$css_src.'";
    6666if (document.createStyleSheet) document.createStyleSheet(s); else $("head").append($("<link rel=\'stylesheet\' href=\'"+s+"\' type=\'text/css\'>"));';
  • extensions/rv_autocomplete/res/dark-hive/custom.css

    r22201 r27771  
    6767----------------------------------*/
    6868
    69 /* states and images */
    70 .ui-icon {
    71         display: block;
    72         text-indent: -99999px;
    73         overflow: hidden;
    74         background-repeat: no-repeat;
    75 }
    76 
    7769
    7870/* Misc visuals
     
    148140}
    149141
    150 /* left-aligned */
    151 .ui-menu .ui-icon {
    152         position: absolute;
    153         top: .2em;
    154         left: .2em;
    155 }
    156 
    157142/* right-aligned */
    158143.ui-menu .ui-menu-icon {
     
    179164.ui-widget-content {
    180165        border: 1px solid #555555;
    181         background: #000000 url(images/ui-bg_carbon-fiber_15_000000_8x9.png) 50% 50% repeat;
     166        background: #000000;
    182167        color: #ffffff;
    183168}
     
    187172.ui-widget-header {
    188173        border: 1px solid #333333;
    189         background: #444444 url(images/ui-bg_highlight-soft_44_444444_1x100.png) 50% 50% repeat-x;
     174        background: #444444;
    190175        color: #ffffff;
    191176        font-weight: bold;
     
    201186.ui-widget-header .ui-state-default {
    202187        border: 1px solid #444444;
    203         background: #222222 url(images/ui-bg_highlight-soft_35_222222_1x100.png) 50% 50% repeat-x;
     188        background: #222222;
    204189        font-weight: normal;
    205190        color: #eeeeee;
     
    250235.ui-widget-header .ui-state-highlight {
    251236        border: 1px solid #888;
    252         background: #000000 url(images/ui-bg_carbon-fiber_15_000000_8x9.png) 50% 50% repeat;
     237        background: #000000;
    253238        color: #ffff00;
    254239}
     
    262247.ui-widget-header .ui-state-error {
    263248        border: 1px solid #ffb73d;
    264         background: #ffc73d url(images/ui-bg_glass_40_ffc73d_1x400.png) 50% 50% repeat-x;
     249        background: #ffc73d;
    265250        color: #111111;
    266251}
     
    294279        background-image: none;
    295280}
    296 .ui-state-disabled .ui-icon {
    297         filter:Alpha(Opacity=35); /* For IE8 - See #6059 */
    298 }
    299 
    300 /* Icons
    301 ----------------------------------*/
    302 
    303 /* states and images */
    304 .ui-icon {
    305         width: 16px;
    306         height: 16px;
    307 }
    308 .ui-icon,
    309 .ui-widget-content .ui-icon {
    310         background-image: url(images/ui-icons_cccccc_256x240.png);
    311 }
    312 .ui-widget-header .ui-icon {
    313         background-image: url(images/ui-icons_ffffff_256x240.png);
    314 }
    315 .ui-state-default .ui-icon {
    316         background-image: url(images/ui-icons_cccccc_256x240.png);
    317 }
    318 .ui-state-hover .ui-icon,
    319 .ui-state-focus .ui-icon {
    320         background-image: url(images/ui-icons_ffffff_256x240.png);
    321 }
    322 .ui-state-active .ui-icon {
    323         background-image: url(images/ui-icons_222222_256x240.png);
    324 }
    325 .ui-state-highlight .ui-icon {
    326         background-image: url(images/ui-icons_4b8e0b_256x240.png);
    327 }
    328 .ui-state-error .ui-icon,
    329 .ui-state-error-text .ui-icon {
    330         background-image: url(images/ui-icons_a83300_256x240.png);
    331 }
    332 
    333 /* positioning */
    334 .ui-icon-blank { background-position: 16px 16px; }
    335 .ui-icon-carat-1-n { background-position: 0 0; }
    336 .ui-icon-carat-1-ne { background-position: -16px 0; }
    337 .ui-icon-carat-1-e { background-position: -32px 0; }
    338 .ui-icon-carat-1-se { background-position: -48px 0; }
    339 .ui-icon-carat-1-s { background-position: -64px 0; }
    340 .ui-icon-carat-1-sw { background-position: -80px 0; }
    341 .ui-icon-carat-1-w { background-position: -96px 0; }
    342 .ui-icon-carat-1-nw { background-position: -112px 0; }
    343 .ui-icon-carat-2-n-s { background-position: -128px 0; }
    344 .ui-icon-carat-2-e-w { background-position: -144px 0; }
    345 .ui-icon-triangle-1-n { background-position: 0 -16px; }
    346 .ui-icon-triangle-1-ne { background-position: -16px -16px; }
    347 .ui-icon-triangle-1-e { background-position: -32px -16px; }
    348 .ui-icon-triangle-1-se { background-position: -48px -16px; }
    349 .ui-icon-triangle-1-s { background-position: -64px -16px; }
    350 .ui-icon-triangle-1-sw { background-position: -80px -16px; }
    351 .ui-icon-triangle-1-w { background-position: -96px -16px; }
    352 .ui-icon-triangle-1-nw { background-position: -112px -16px; }
    353 .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
    354 .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
    355 .ui-icon-arrow-1-n { background-position: 0 -32px; }
    356 .ui-icon-arrow-1-ne { background-position: -16px -32px; }
    357 .ui-icon-arrow-1-e { background-position: -32px -32px; }
    358 .ui-icon-arrow-1-se { background-position: -48px -32px; }
    359 .ui-icon-arrow-1-s { background-position: -64px -32px; }
    360 .ui-icon-arrow-1-sw { background-position: -80px -32px; }
    361 .ui-icon-arrow-1-w { background-position: -96px -32px; }
    362 .ui-icon-arrow-1-nw { background-position: -112px -32px; }
    363 .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
    364 .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
    365 .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
    366 .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
    367 .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
    368 .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
    369 .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
    370 .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
    371 .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
    372 .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
    373 .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
    374 .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
    375 .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
    376 .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
    377 .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
    378 .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
    379 .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
    380 .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
    381 .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
    382 .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
    383 .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
    384 .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
    385 .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
    386 .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
    387 .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
    388 .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
    389 .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
    390 .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
    391 .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
    392 .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
    393 .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
    394 .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
    395 .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
    396 .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
    397 .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
    398 .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
    399 .ui-icon-arrow-4 { background-position: 0 -80px; }
    400 .ui-icon-arrow-4-diag { background-position: -16px -80px; }
    401 .ui-icon-extlink { background-position: -32px -80px; }
    402 .ui-icon-newwin { background-position: -48px -80px; }
    403 .ui-icon-refresh { background-position: -64px -80px; }
    404 .ui-icon-shuffle { background-position: -80px -80px; }
    405 .ui-icon-transfer-e-w { background-position: -96px -80px; }
    406 .ui-icon-transferthick-e-w { background-position: -112px -80px; }
    407 .ui-icon-folder-collapsed { background-position: 0 -96px; }
    408 .ui-icon-folder-open { background-position: -16px -96px; }
    409 .ui-icon-document { background-position: -32px -96px; }
    410 .ui-icon-document-b { background-position: -48px -96px; }
    411 .ui-icon-note { background-position: -64px -96px; }
    412 .ui-icon-mail-closed { background-position: -80px -96px; }
    413 .ui-icon-mail-open { background-position: -96px -96px; }
    414 .ui-icon-suitcase { background-position: -112px -96px; }
    415 .ui-icon-comment { background-position: -128px -96px; }
    416 .ui-icon-person { background-position: -144px -96px; }
    417 .ui-icon-print { background-position: -160px -96px; }
    418 .ui-icon-trash { background-position: -176px -96px; }
    419 .ui-icon-locked { background-position: -192px -96px; }
    420 .ui-icon-unlocked { background-position: -208px -96px; }
    421 .ui-icon-bookmark { background-position: -224px -96px; }
    422 .ui-icon-tag { background-position: -240px -96px; }
    423 .ui-icon-home { background-position: 0 -112px; }
    424 .ui-icon-flag { background-position: -16px -112px; }
    425 .ui-icon-calendar { background-position: -32px -112px; }
    426 .ui-icon-cart { background-position: -48px -112px; }
    427 .ui-icon-pencil { background-position: -64px -112px; }
    428 .ui-icon-clock { background-position: -80px -112px; }
    429 .ui-icon-disk { background-position: -96px -112px; }
    430 .ui-icon-calculator { background-position: -112px -112px; }
    431 .ui-icon-zoomin { background-position: -128px -112px; }
    432 .ui-icon-zoomout { background-position: -144px -112px; }
    433 .ui-icon-search { background-position: -160px -112px; }
    434 .ui-icon-wrench { background-position: -176px -112px; }
    435 .ui-icon-gear { background-position: -192px -112px; }
    436 .ui-icon-heart { background-position: -208px -112px; }
    437 .ui-icon-star { background-position: -224px -112px; }
    438 .ui-icon-link { background-position: -240px -112px; }
    439 .ui-icon-cancel { background-position: 0 -128px; }
    440 .ui-icon-plus { background-position: -16px -128px; }
    441 .ui-icon-plusthick { background-position: -32px -128px; }
    442 .ui-icon-minus { background-position: -48px -128px; }
    443 .ui-icon-minusthick { background-position: -64px -128px; }
    444 .ui-icon-close { background-position: -80px -128px; }
    445 .ui-icon-closethick { background-position: -96px -128px; }
    446 .ui-icon-key { background-position: -112px -128px; }
    447 .ui-icon-lightbulb { background-position: -128px -128px; }
    448 .ui-icon-scissors { background-position: -144px -128px; }
    449 .ui-icon-clipboard { background-position: -160px -128px; }
    450 .ui-icon-copy { background-position: -176px -128px; }
    451 .ui-icon-contact { background-position: -192px -128px; }
    452 .ui-icon-image { background-position: -208px -128px; }
    453 .ui-icon-video { background-position: -224px -128px; }
    454 .ui-icon-script { background-position: -240px -128px; }
    455 .ui-icon-alert { background-position: 0 -144px; }
    456 .ui-icon-info { background-position: -16px -144px; }
    457 .ui-icon-notice { background-position: -32px -144px; }
    458 .ui-icon-help { background-position: -48px -144px; }
    459 .ui-icon-check { background-position: -64px -144px; }
    460 .ui-icon-bullet { background-position: -80px -144px; }
    461 .ui-icon-radio-on { background-position: -96px -144px; }
    462 .ui-icon-radio-off { background-position: -112px -144px; }
    463 .ui-icon-pin-w { background-position: -128px -144px; }
    464 .ui-icon-pin-s { background-position: -144px -144px; }
    465 .ui-icon-play { background-position: 0 -160px; }
    466 .ui-icon-pause { background-position: -16px -160px; }
    467 .ui-icon-seek-next { background-position: -32px -160px; }
    468 .ui-icon-seek-prev { background-position: -48px -160px; }
    469 .ui-icon-seek-end { background-position: -64px -160px; }
    470 .ui-icon-seek-start { background-position: -80px -160px; }
    471 /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
    472 .ui-icon-seek-first { background-position: -80px -160px; }
    473 .ui-icon-stop { background-position: -96px -160px; }
    474 .ui-icon-eject { background-position: -112px -160px; }
    475 .ui-icon-volume-off { background-position: -128px -160px; }
    476 .ui-icon-volume-on { background-position: -144px -160px; }
    477 .ui-icon-power { background-position: 0 -176px; }
    478 .ui-icon-signal-diag { background-position: -16px -176px; }
    479 .ui-icon-signal { background-position: -32px -176px; }
    480 .ui-icon-battery-0 { background-position: -48px -176px; }
    481 .ui-icon-battery-1 { background-position: -64px -176px; }
    482 .ui-icon-battery-2 { background-position: -80px -176px; }
    483 .ui-icon-battery-3 { background-position: -96px -176px; }
    484 .ui-icon-circle-plus { background-position: 0 -192px; }
    485 .ui-icon-circle-minus { background-position: -16px -192px; }
    486 .ui-icon-circle-close { background-position: -32px -192px; }
    487 .ui-icon-circle-triangle-e { background-position: -48px -192px; }
    488 .ui-icon-circle-triangle-s { background-position: -64px -192px; }
    489 .ui-icon-circle-triangle-w { background-position: -80px -192px; }
    490 .ui-icon-circle-triangle-n { background-position: -96px -192px; }
    491 .ui-icon-circle-arrow-e { background-position: -112px -192px; }
    492 .ui-icon-circle-arrow-s { background-position: -128px -192px; }
    493 .ui-icon-circle-arrow-w { background-position: -144px -192px; }
    494 .ui-icon-circle-arrow-n { background-position: -160px -192px; }
    495 .ui-icon-circle-zoomin { background-position: -176px -192px; }
    496 .ui-icon-circle-zoomout { background-position: -192px -192px; }
    497 .ui-icon-circle-check { background-position: -208px -192px; }
    498 .ui-icon-circlesmall-plus { background-position: 0 -208px; }
    499 .ui-icon-circlesmall-minus { background-position: -16px -208px; }
    500 .ui-icon-circlesmall-close { background-position: -32px -208px; }
    501 .ui-icon-squaresmall-plus { background-position: -48px -208px; }
    502 .ui-icon-squaresmall-minus { background-position: -64px -208px; }
    503 .ui-icon-squaresmall-close { background-position: -80px -208px; }
    504 .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
    505 .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
    506 .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
    507 .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
    508 .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
    509 .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
    510281
    511282
     
    541312/* Overlays */
    542313.ui-widget-overlay {
    543         background: #5c5c5c url(images/ui-bg_flat_50_5c5c5c_40x100.png) 50% 50% repeat-x;
     314        background: #5c5c5c;
    544315        opacity: .8;
    545316        filter: Alpha(Opacity=80);
     
    548319        margin: -7px 0 0 -7px;
    549320        padding: 7px;
    550         background: #cccccc url(images/ui-bg_flat_30_cccccc_40x100.png) 50% 50% repeat-x;
     321        background: #cccccc;
    551322        opacity: .6;
    552323        filter: Alpha(Opacity=60);
  • extensions/rv_autocomplete/res/suggest-core.js

    r22304 r27771  
    8383        }
    8484        return item.label.substr(0, item._matchIdx)
    85         + '<b class="ui-state-highlight">' + item.label.substr(item._matchIdx, q.length) + '</b>'
     85        + '<b style="text-decoration:underline">' + item.label.substr(item._matchIdx, q.length) + '</b>'
    8686        + item.label.substr(item._matchIdx + q.length)
    8787}
Note: See TracChangeset for help on using the changeset viewer.