summaryrefslogtreecommitdiffstats
path: root/afm-client/app/Frontend/widgets/FormInput/FormInput.scss
blob: 528ddfdb5d8446fb7778964ca72705fb830bdd08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/*
    Sample of style overload for a specific widget

    Note: this SCSS is injected with main HTML page, it scope should be reduce
    to a specific widget or it value will be propagated at a global level.
*/

@import "app/ibz-mixins";

.upload-file {
    @include ibz-button(grey,1rem)
    float: right;
    height  : 3rem;
    margin: 0.5rem;

    i { font-size: 2rem}
    
    .ibz-range-slider {
        height: 10% !important;
        border-radius: 5px;
        background-color: lightgrey !important;
    
        .range-slider-handle {
            width: 10% !important;
            height: 100% !important;
            margin-top: .2rem;
            background-color: purple !important;
        }

        .range-slider-active-segment {
            height: 80% !important;
            background-color: lightgreen;
        }
    }

}

input-text {
  
    alert {@include ibz-input-alert(darkblue, rgba(200, 200, 200, 0.6))};

    input {
        margin-bottom: .5rem !important;
    }

    label {
        margin-top: 1rem !important;
    }
    
    .required {
        color: blue;
        float: right;
        color: lightskyblue;
    }
    .required.valid {
        color: green;
    }
    
    .required.invalid {
        color: plum;
    }  

    .status-untouch {
        border-color: rgba(200, 200, 200, 0.6) !important;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(200, 200, 200, 0.6) !important;
        color: #696969 !important;
    }

    input:focus {
        border-color: rgba(82,168,236,0.8) ;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(82,168,236,0.8) !important;
        transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
        color: darkslateblue !important;
        @extend shadow-transition;
    }

    .status-valid {
        border-color: rgba(154, 205, 50, 0.6)!important;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(154, 205, 50, 0.6)!important;
        @extend shadow-transition;
    }

    .status-invalid {
        border-color: rgba(154, 17, 69, 0.6);
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(154, 17, 69, 0.6)!important;
        color: rgb(154, 17, 69);
        @extend shadow-transition;
    }

}