Rev 1310 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1043 | jmachado | 1 | /* |
2 | * Style tweaks |
||
3 | * -------------------------------------------------- |
||
4 | */ |
||
5 | html, |
||
6 | body { |
||
7 | overflow-x: hidden; /* Prevent scroll on narrow devices */ |
||
8 | } |
||
9 | body { |
||
1312 | jmachado | 10 | /*padding-top: 55px; para a navbar fixed-top*/ |
1043 | jmachado | 11 | } |
12 | |||
1312 | jmachado | 13 | |
1043 | jmachado | 14 | /* |
15 | * Off Canvas |
||
16 | * -------------------------------------------------- |
||
17 | */ |
||
18 | @media screen and (max-width: 767px) { |
||
19 | .row-offcanvas { |
||
20 | position: relative; |
||
21 | -webkit-transition: all .25s ease-out; |
||
22 | -o-transition: all .25s ease-out; |
||
23 | transition: all .25s ease-out; |
||
24 | } |
||
25 | |||
26 | .row-offcanvas-right { |
||
27 | right: 0; |
||
28 | } |
||
29 | |||
30 | .row-offcanvas-left { |
||
31 | left: 0; |
||
32 | } |
||
33 | |||
34 | .row-offcanvas-right |
||
35 | .sidebar-offcanvas { |
||
36 | right: -50%; /* 6 columns */ |
||
37 | } |
||
38 | |||
39 | .row-offcanvas-left |
||
40 | .sidebar-offcanvas { |
||
41 | left: -50%; /* 6 columns */ |
||
42 | } |
||
43 | |||
44 | .row-offcanvas-right.active { |
||
45 | right: 50%; /* 6 columns */ |
||
46 | } |
||
47 | |||
48 | .row-offcanvas-left.active { |
||
49 | left: 50%; /* 6 columns */ |
||
50 | } |
||
51 | |||
52 | .sidebar-offcanvas { |
||
53 | position: absolute; |
||
1312 | jmachado | 54 | top:0; |
55 | width: 50%; |
||
1043 | jmachado | 56 | } |
57 | } |