/* codetube
 *  Copyright (C) 2011 payload payload@lavabit.com
 *  Copyright (C) 2011 dodo dodo.the.last@gmail.com
 *
 *  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/>
 */


.ui-widget
    border       none        !important
    font-family  font-family !important


.ui-widget-content
    font-size      small-font-size !important
    border    none !important
    color  inherit !important
    .ui-state-active
        background  color-med !important
        a
            color color-marking !important
    .ui-state-hover
        background  color-lighty !important
    .ui-selectmenu-item-selected a
            color  color-marking !important

.ui-selectmenu-menu
    background     color-med
    color          color-darkest
    border-radius  smaller-border-radius
    box-shadow     border-shadow
    font-size      small-font-size

    ul
        border-radius   0
        background transparent
        width auto !important
    li
        border      none !important
        text-align  center
        a
            padding  0.4em 1em !important
            line-height    1em !important

.ui-corner-top
    border-top-right-radius smaller-border-radius !important
    border-top-left-radius  smaller-border-radius !important

.ui-corner-bottom
    border-bottom-right-radius smaller-border-radius !important
    border-bottom-left-radius  smaller-border-radius !important


#selectbranch
    select
        color        color-dark
        border       none
        background   color-lighty
        font-size    small-font-size
        text-align   center
        option
            text-align center

    width  auto
    background color-lighty

    fieldset
        margin  0
        padding some-small 0 0 0
    .symbol
        padding 0
    .ui-selectmenu
        border          none
        border-radius   0
        height          auto
        font-size       small-font-size
        vertical-align  inherit
        background      color-lighty

    .ui-selectmenu-status
        line-height    1em

    .ui-selectmenu-icon
        right  -3pt

    &:hover
        select
            background color-med
        .ui-selectmenu
            background color-med

