Skip to content

Commit 2bcce50

Browse files
committed
formatted CSS for readability
1 parent 369fadf commit 2bcce50

File tree

1 file changed

+52
-44
lines changed

1 file changed

+52
-44
lines changed

introjs.css

Lines changed: 52 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,97 @@
11
.introjs-overlay {
22
position: absolute;
33
z-index: 999999;
4-
background-color:rgb(0, 0, 0);
4+
background-color: #000;
55
opacity: 0;
66
-webkit-transition: all 0.3s ease-out;
7-
-moz-transition: all 0.3s ease-out;
8-
-o-transition: all 0.3s ease-out;
9-
-ms-transition: all 0.3s ease-out;
10-
transition: all 0.3s ease-out;
7+
-moz-transition: all 0.3s ease-out;
8+
-ms-transition: all 0.3s ease-out;
9+
-o-transition: all 0.3s ease-out;
10+
transition: all 0.3s ease-out;
1111
}
12+
1213
.introjs-showElement {
13-
z-index: 9999999;
1414
position: relative;
15+
z-index: 9999999;
1516
}
17+
1618
.introjs-helperLayer {
17-
background-color: rgba(255, 255, 255, 0.9);
18-
z-index: 9999998;
1919
position: absolute;
20+
z-index: 9999998;
21+
background-color: rgba(255,255,255,.9);
22+
border: 1px solid rgba(0,0,0,.5);
2023
border-radius: 4px;
21-
border: 1px solid rgba(0, 0, 0, 0.5);
22-
box-shadow: 0px 2px 15px rgba(0,0,0,0.4);
24+
box-shadow: 0 2px 15px rgba(0,0,0,.4);
2325
-webkit-transition: all 0.3s ease-out;
24-
-moz-transition: all 0.3s ease-out;
25-
-o-transition: all 0.3s ease-out;
26-
-ms-transition: all 0.3s ease-out;
27-
transition: all 0.3s ease-out;
26+
-moz-transition: all 0.3s ease-out;
27+
-ms-transition: all 0.3s ease-out;
28+
-o-transition: all 0.3s ease-out;
29+
transition: all 0.3s ease-out;
2830
}
31+
2932
.introjs-helperNumberLayer {
33+
position: absolute;
34+
top: -16px;
35+
left: -16px;
3036
z-index: 9999999999 !important;
37+
width: 20px;
3138
padding: 2px;
32-
background: #ff3019; /* Old browsers */
33-
background: -moz-linear-gradient(top, #ff3019 0%, #cf0404 100%); /* FF3.6+ */
34-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff3019), color-stop(100%,#cf0404)); /* Chrome,Safari4+ */
35-
background: -webkit-linear-gradient(top, #ff3019 0%,#cf0404 100%); /* Chrome10+,Safari5.1+ */
36-
background: -o-linear-gradient(top, #ff3019 0%,#cf0404 100%); /* Opera 11.10+ */
37-
background: -ms-linear-gradient(top, #ff3019 0%,#cf0404 100%); /* IE10+ */
38-
background: linear-gradient(to bottom, #ff3019 0%,#cf0404 100%); /* W3C */
39-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff3019', endColorstr='#cf0404',GradientType=0 ); /* IE6-9 */ color: white;
40-
position: absolute;
41-
border-radius: 50%;
4239
font-family: Arial, verdana, tahoma;
4340
font-size: 13px;
4441
font-weight: bold;
42+
color: white;
4543
text-align: center;
46-
width: 20px;
44+
text-shadow: 1px 1px 1px rgba(0,0,0,.3);
45+
background: #ff3019; /* Old browsers */
46+
background: -webkit-linear-gradient(top, #ff3019 0%, #cf0404 100%); /* Chrome10+,Safari5.1+ */
47+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ff3019), color-stop(100%, #cf0404)); /* Chrome,Safari4+ */
48+
background: -moz-linear-gradient(top, #ff3019 0%, #cf0404 100%); /* FF3.6+ */
49+
background: -ms-linear-gradient(top, #ff3019 0%, #cf0404 100%); /* IE10+ */
50+
background: -o-linear-gradient(top, #ff3019 0%, #cf0404 100%); /* Opera 11.10+ */
51+
background: linear-gradient(to bottom, #ff3019 0%, #cf0404 100%); /* W3C */
4752
border: 3px solid white;
48-
box-shadow: 0px 2px 5px rgba(0,0,0,0.4);
49-
text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
50-
filter: progid:DXImageTransform.Microsoft.Shadow(direction=135,strength=2,color=ff0000);
51-
left: -16px;
52-
top: -16px;
53+
border-radius: 50%;
54+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3019', endColorstr='#cf0404', GradientType=0); /* IE6-9 */
55+
filter: progid:DXImageTransform.Microsoft.Shadow(direction=135, strength=2, color=ff0000); /* IE10 text shadows */
56+
box-shadow: 0 2px 5px rgba(0,0,0,.4);
5357
}
58+
5459
.introjs-tooltip:before {
60+
position: absolute;
61+
top: -10px;
5562
border: 5px solid white;
56-
content:'';
57-
border-top-color:transparent;
58-
border-right-color:transparent;
59-
border-bottom-color:white;
60-
border-left-color:transparent;
61-
position: absolute;
62-
top: -10px;
63-
63+
border-top-color: transparent;
64+
border-right-color: transparent;
65+
border-bottom-color: white;
66+
border-left-color: transparent;
67+
content: '';
6468
}
69+
6570
.introjs-tooltip {
6671
position: absolute;
6772
padding: 10px;
6873
background-color: white;
6974
border-radius: 3px;
70-
box-shadow: 0px 1px 10px rgba(0,0,0,0.4);
75+
box-shadow: 0 1px 10px rgba(0,0,0,.4);
7176
-webkit-transition: all 0.1s ease-out;
72-
-moz-transition: all 0.1s ease-out;
73-
-o-transition: all 0.1s ease-out;
74-
-ms-transition: all 0.1s ease-out;
75-
transition: all 0.1s ease-out;
77+
-moz-transition: all 0.1s ease-out;
78+
-ms-transition: all 0.1s ease-out;
79+
-o-transition: all 0.1s ease-out;
80+
transition: all 0.1s ease-out;
7681
}
82+
7783
.introjs-tooltipbuttons {
7884
font-size: 10px;
7985
text-align: right;
8086
}
87+
8188
.introjs-tooltipbuttons .introjs-skipbutton {
8289
margin-right: 5px;
8390
color: gray;
8491
}
92+
8593
.introjs-tooltipbuttons .introjs-nextbutton {
94+
font-size: 11px;
8695
font-weight: bold;
8796
color: #2071d3;
88-
font-size: 11px;
8997
}

0 commit comments

Comments
 (0)