summaryrefslogtreecommitdiff
path: root/web/css/_src/utilities.scss
blob: bf9fa5b6cc30fc9d5fff1098981160f33d6e5cba (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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
@charset "UTF-8";
@import "compass";
@import "_config.libs";


/* -------------------- */
/*  ==     Fonts        */
/* -------------------- */

@include font-face('OpenSans-Light', font-files('OpenSans-Light.ttf'));
@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; }

.u { text-decoration: underline; }
.b { font-weight: bold; }
.i { font-style: italic; }
.r { text-decoration: line-through; }

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

.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%;
}

.m-l-10 { margin-left: 10px; }
.m-r-10 { margin-right: 10px; }


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

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

.w30  { width: 30px; }
.w50  { width: 50px; }
.w60  { width: 60px; }
.w70  { width: 70px; }
.w75  { width: 75px; }
.w90  { width: 90px; }
.w100 { width: 100px; }
.w110 { width: 110px; }
.w120 { width: 120px; }
.w130 { width: 130px; }
.w150 { width: 150px; }
.w180 { width: 180px; }
.w200 { width: 200px; }
.w220 { width: 220px; }
.w250 { width: 250px; }
.w300 { width: 300px; }
.w350 { width: 350px; }
.w400 { width: 400px; }
.w450 { width: 450px; }
.w500 { width: 500px; }
.w600 { width: 600px; }
.w700 { width: 700px; }
.w800 { width: 800px; }
.w900 { width: 900px; }
.w1000 { width: 1000px; }


/* ------------------------ */
/*  ==     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";