summaryrefslogtreecommitdiffstats
path: root/examples/html5/app/Frontend/pages/SampleHome/SampleHome.scss
blob: 8bf04a144021705ad5e188a651fd73b25160eb92 (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
/* 
 * Copyright (C) 2015 "IoT.bzh"
 * Author "Fulup Ar Foll"
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

@import "app/ibz-mixins";

$COLOR_SUCCESS: green;
$COLOR_FAIL: red;

token-refresh {
    display: block;
    float: right;
    margin: .5rem 1rem 0 0;
}

.button-box {
    height  : 4.5rem;
    
    .session-button {
      float: left;
      width: 5rem;
    };
    
    .response > span{
        display: block;
        margin: .3rem .5rem .3rem .5rem;        
    }  
    
    .fail { 
        color:$COLOR_FAIL;
        border: 1px solid darken($COLOR_FAIL,10%);
    }
    .success { 
        color:$COLOR_SUCCESS; 
        border: 1px solid darken($COLOR_SUCCESS,10%);
    }

};

.message-box {
    height  : auto;
    width: 100%;
    font-size: .75rem;
  
    .response {
        .err-no { color:grey; }
        .res.err-ok { color: blue; }
        .req.err-ok { color:blueviolet; }
        .status.err-ok { color:green; }
        .status.err-fx { color:red; }       
    } 
    

};