summaryrefslogtreecommitdiffstats
path: root/afb-client/app/Frontend/styles/app/_ibz-mixins.scss
blob: ed9dba88024f0246df19f9188c0b4e441d555e07 (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
/*
    Every SCSS files will be injected into main HTML page
*/
%shadow-transition {
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    border-radius: 5px;
}

@mixin ibz-box-content {
    border: 2px solid gainsboro !important;
    border-radius: 5px;
    
    margin-left: auto;
    margin-right: auto;
    min-width: 98% !important; 
    margin: .5rem .5rem .5rem .5rem;
    background: rgba(200,205,200,.3);
}

@mixin ibz-button ($color, $size:2rem) {
    display: inline-block;
    border: 1px solid darken($color,10%);
    box-shadow: 2px 2px 1px adjust-hue($color,20deg);
    color: $color;
    border-radius: 5px;
    font-style: italic;
    padding: 0rem .5rem 0rem .5rem;
    margin:.5rem;
    background: lighten(#9494b7, 20%);
    i {
        padding-right: 0.3rem;
        font-size: $size;
    }
    span {font-size: 1rem}
    
    &:hover {
      background: lighten($color, 45%);
      border: 2px solid darken($color,20%);
      
    }
}

@mixin ibz-input-alert ($color, $background) {
    position  :fixed;
    margin: -2.2rem 0 0 15rem;
    border-radius: 5px;
    font-style: italic;
    border-color: darken($background,10%);
    color: $color;
    background-color: $background !important;
    padding: 0.2rem !important;
}