34e1181b81edadd47667c00262299af811e326dd
[src/app-framework-demo.git] / afb-client / app / Frontend / pages / Home / HomeModule.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 .button-box {
25     height  : 4.5rem;
26     
27     .session-button {
28       float: left;
29       width: 5rem;
30     };
31     
32     .response > span{
33         display: block;
34         margin: .3rem .5rem .3rem .5rem;        
35     }  
36     
37     .fail { 
38         color:$COLOR_FAIL;
39         border: 1px solid darken($COLOR_FAIL,10%);
40     }
41     .success { 
42         color:$COLOR_SUCCESS; 
43         border: 1px solid darken($COLOR_SUCCESS,10%);
44     }
45
46 };
47
48 .message-box {
49     height  : auto;
50     width: 100%;
51     font-size: .75rem;
52   
53     .response {
54         .err-no { color:grey; }
55         .res.err-ok { color: blue; }
56         .req.err-ok { color:blueviolet; }
57         .status.err-ok { color:green; }
58         .status.err-fx { color:red; }       
59     } 
60     
61
62 };
63
64
65