forked from Diokuz/baron
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbaron.css
38 lines (37 loc) · 903 Bytes
/
baron.css
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
/* CSS styles in this file are need for proper Baron work */
.wrapper {
position: relative;
overflow: hidden;
}
.scroller {
height: 100%;
overflow-y: scroll;
}
.scroller::-webkit-scrollbar { /* Preventing webkit bug of horizontal scrolling */
width: 0;
}
.scroller__bar { /* The bar. You should define width, right and background */
position: absolute;
z-index: 1;
right: 0;
width: 10px;
background: #999;
}
.container { /* Data wrapper */
overflow: hidden; /* For possible margin collapse removing */
}
.header {
height: 36px;
}
.header__title {
width: 100%;
height: 36px; /* Must be same as header */
margin: 0;
-moz-box-sizing: border-box;
box-sizing: border-box; /* For padding and border, if exist */
background: #999;
}
.header__title_state_fixed {
position: absolute;
z-index: 1; /* Removing flicker effect */
}