Clean up and documentation
[src/app-framework-demo.git] / afb-client / app / Frontend / pages / SampleHome / SampleHome.scss
1 /* 
2  * Copyright (C) 2015 "IoT.bzh"
3  * Author "Fulup Ar Foll"
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17  */
18
19 @import "app/ibz-mixins";
20
21 $COLOR_SUCCESS: green;
22 $COLOR_FAIL: red;
23
24 token-refresh {
25     display: block;
26     float: right;
27     margin: .5rem 1rem 0 0;
28 }
29
30 .button-box {
31     height  : 4.5rem;
32     
33     .session-button {
34       float: left;
35       width: 5rem;
36     };
37     
38     .response > span{
39         display: block;
40         margin: .3rem .5rem .3rem .5rem;        
41     }  
42     
43     .fail { 
44         color:$COLOR_FAIL;
45         border: 1px solid darken($COLOR_FAIL,10%);
46     }
47     .success { 
48         color:$COLOR_SUCCESS; 
49         border: 1px solid darken($COLOR_SUCCESS,10%);
50     }
51
52 };
53
54 .message-box {
55     height  : auto;
56     width: 100%;
57     font-size: .75rem;
58   
59     .response {
60         .err-no { color:grey; }
61         .res.err-ok { color: blue; }
62         .req.err-ok { color:blueviolet; }
63         .status.err-ok { color:green; }
64         .status.err-fx { color:red; }       
65     } 
66     
67
68 };
69
70
71