summaryrefslogtreecommitdiff
path: root/web/css/_src/utilities.scss
blob: 3f2553b56b98442f2d7ea5dcabde7460cb3829e7 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
@charset "UTF-8";
@import "compass";
@import "_config.libs";


/* -------------------- */
/*  ==     Fonts        */
/* -------------------- */
@include font-face('OpenSans-Light', font-files('OpenSans-Light.ttf', 'OpenSans-Light.svg', 'OpenSans-Light.woff'), 'OpenSans-Light.eot');
@include font-face('Entypo', font-files('entypo.ttf', 'entypo.eot', 'entypo.svg', 'entypo.woff'));

@import "../libs/_icons.entypo";

/* ------------------- */
/*  ==     Misc        */
/* ------------------- */
* { padding: 0; margin: 0; }
*:focus { outline: none; }

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.cls:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

img { border: 0; }

.debug { border: 1px solid red; }

.text_left, .t-left { text-align: left !important; }
.text_right, .t-right { text-align: right !important; }
.text_center, .t-center { text-align: center !important; }

.pfixed { position: fixed !important; }
.f-left { float: left; }
.f-right { float: right; }

.column-left {
    float: left;
    width: 49%;
}
.column-right {
    float: right;
    width: 49%;
}
.column-33 {
    width: 32%;
}
.column-66 {
    width: 66%;
}


/*pre {
    background-color: #fafafa;
    border: 1px solid #ccc;
    padding: 5px;
    color: #666;
}*/

.w10p  { width: 10%; }
.w15p  { width: 15%; }
.w20p  { width: 20%; }
.w33p  { width: 33%; }
.w35p  { width: 35%; }
.w50p  { width: 50%; }
.w100p { width: 100%; }


/* ------------------------ */
/*  ==     Scrollbar        */
/* ------------------------ */
::-webkit-scrollbar-track {
    box-shadow: inset 1px 0px 3px rgba(0,0,0,0.2);
    background-color: #F5F5F5;
}
::-webkit-scrollbar-track:hover {
    background-color: #EFEFEF;
}
::-webkit-scrollbar {
    width: 8px;
    background-color: #F5F5F5;
}
::-webkit-scrollbar-thumb {
    background-color: #959595;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #6B6B6B;
}
::-webkit-scrollbar-thumb:active {
    background-color: #555;
}


/* --------------------- */
/*  ==     Labels        */
/* --------------------- */
@import "../libs/_labels";

/* -------------------------- */
/*  ==     Classic box        */
/* -------------------------- */
@import "../libs/_classic-box";