Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 espaco 1
/***
2
Input icons
3
***/
4
 
5
.input-icon {
6
    position: relative;
7
 
8
    > .form-control {
9
        padding-left: 33px;
10
 
11
        .input-group & {
12
             @include border-radius($portlet-border-radius 0 0 $portlet-border-radius);
13
        }
14
    }
15
 
16
    > i {
17
        color: #ccc;
18
        display: block;
19
        position: absolute;
20
        margin: 11px 2px 4px 10px;
21
        z-index: 3;
22
        width: 16px;
23
        font-size: 16px;
24
        text-align: center;
25
 
26
        .modal & {
27
            z-index: $zindex-modal + 5;
28
        }
29
 
30
        .has-success & {
31
            color: $brand-success;
32
        }
33
 
34
        .has-warning & {
35
            color: $brand-warning;
36
        }
37
 
38
        .has-info & {
39
            color: $brand-info;
40
        }
41
 
42
        .has-error & {
43
            color: $brand-danger;
44
        }
45
    }
46
 
47
    &.right {
48
        > .form-control {
49
            padding-right: 33px;
50
            padding-left: 12px;
51
 
52
            .input-group & {
53
                @include border-radius(0 $portlet-border-radius $portlet-border-radius 0);
54
            }
55
        }
56
 
57
        > i {
58
            right: 8px;
59
            float: right;
60
        }
61
    }
62
 
63
    &.input-icon-lg {
64
        > i {
65
            margin-top: 16px;
66
        }
67
    }
68
 
69
    &.input-icon-sm {
70
        > i {
71
            margin-top: 8px;
72
            font-size: 13px;
73
        }
74
    }
75
}