Skip to content

Commit 8fade62

Browse files
committed
Added responsive columnClasses , finalizing index file. and more
1 parent 0693294 commit 8fade62

File tree

7 files changed

+1188
-846
lines changed

7 files changed

+1188
-846
lines changed

css/jquery-confirm.css

+1
Original file line numberDiff line numberDiff line change
@@ -512,4 +512,5 @@
512512
font-weight: 500;
513513
border-radius: 0px;
514514
margin: 0;
515+
border-left: solid 1px #ddd;
515516
}

css/jquery-confirm.less

+1
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,7 @@
498498
font-weight: 500;
499499
border-radius: 0px;
500500
margin: 0;
501+
border-left: solid 1px #ddd;
501502
}
502503
button + button {
503504

demo/demo.min.css

+15-13
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ body {
33
}
44

55
.navbar-right iframe {
6-
margin-top: 10px
6+
margin: 11px 10px 0 10px;
77
}
88

99
.affix {
@@ -30,8 +30,8 @@ kbd.blue {
3030
}
3131

3232
.section {
33-
border-left: solid 5px #2980b9;
34-
padding-left: 15px
33+
border-left: solid 1px #2980b9;
34+
padding-left: 15px;
3535
}
3636

3737
.spacer15 {
@@ -52,13 +52,13 @@ pre ol {
5252
color: #fff;
5353
border: 0;
5454
-webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, .1);
55-
box-shadow: 0 2px 3px rgba(0, 0, 0, .1)
55+
box-shadow: 0 2px 3px rgba(0, 0, 0, .1);
56+
border-radius: 0;
5657
}
57-
58-
.btn-download {
59-
border-radius: 0
58+
.btn-download:hover{
59+
color: white;
60+
background: #4889B5;
6061
}
61-
6262
.com {
6363
color: #93a1a1
6464
}
@@ -93,13 +93,13 @@ pre ol {
9393

9494
.prettyprint {
9595
padding: 8px;
96-
background-color: #f7f7f9;
96+
background-color: #FBFBFC;
9797
border: 1px solid #e1e1e8
9898
}
9999

100100
.prettyprint.linenums {
101101
-webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
102-
box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0
102+
box-shadow: inset 48px 0 0 #fbfbfc, inset 48px 0 0 #FFFFFF;
103103
}
104104

105105
ol.linenums {
@@ -121,27 +121,29 @@ ol.linenums li {
121121
}
122122

123123
ul.nav.nav-list li a {
124-
text-align: right;
124+
text-align: left;
125125
}
126126
ul.nav.nav-list li > a {
127127
color: #444;
128128
padding: 5px 10px;
129+
box-shadow: -1px 0px 0 -0px #ddd;
129130
}
130131
ul.nav.nav-list li > a:hover {
131-
box-shadow: 7px 0px 0 -5px black;
132+
box-shadow: -7px 0px 0 -5px black;
132133
background: transparent;
133134
}
134135
ul.nav.nav-list li li a {
135136
color: #444;
136137
padding: 0px 20px;
138+
box-shadow: -1px 0px 0 -0px #ddd;
137139
}
138140
ul.nav.nav-list li li:last-child a {
139141
margin-bottom: 5px;
140142
}
141143
ul.nav.nav-list li.active > a {
142144
color: #3498DB;
143145
font-weight: bold;
144-
box-shadow: 7px 0px 0 -5px #3498DB;
146+
box-shadow: -7px 0px 0 -5px #3498DB;
145147
}
146148
ul.nav.nav-list li ul {
147149
display: none;

demo/demo.min.js

+12-41
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,22 @@
1+
if (typeof jQuery == "undefined") {throw new Error("Documentation needs the jQuery library to function.")};
12
$('body').scrollspy({
23
target: '#my-nav',
34
offset: 100
45
});
56
var bs = $('.footer').outerHeight()+10;
67
$("#my-nav").sticky({topSpacing:20, bottomSpacing: bs});
7-
if (typeof jQuery == "undefined") {throw new Error("Documentation needs the jQuery library to function.")};
8-
//$(".gotoSmooth").click(function () {
9-
// var c = $("html, body"), d = $(this).attr("href");
10-
// return c.animate({scrollTop: $(d).offset().top - 60}, {
11-
// queue: !1,
12-
// duration: 500,
13-
// easing: "easeOutExpo"
14-
// }), !1
15-
//});
16-
//$.easing.jswing = $.easing.swing, $.extend($.easing, {
17-
// easeOutQuart: function (h, i, j, a, e) {return -a * ((i = i / e - 1) * i * i * i - 1) + j},
18-
// easeOutExpo: function (h, i, j, a, e) {return i == e ? j + a : a * (-Math.pow(2, -10 * i / e) + 1) + j},
19-
// easeOutElastic: function (l, n, o, p, e) {
20-
// var a = 1.70158, i = 0, m = p;
21-
// if (0 == n) {return o}
22-
// if (1 == (n /= e)) {return o + p}
23-
// if (i || (i = 0.3 * e), m < Math.abs(p)) {
24-
// m = p;
25-
// var a = i / 4
26-
// } else {var a = i / (2 * Math.PI) * Math.asin(p / m)}
27-
// return m * Math.pow(2, -10 * n) * Math.sin((n * e - a) * 2 * Math.PI / i) + p + o
28-
// }
29-
//});
308
$(document).ready(function () {
319
prettyPrint();
3210
$("span.version").html(version || "");
33-
//resize();
3411
});
35-
//function resize() {
36-
// var a = $(window).height();
37-
// var b = $(window).scrollTop();
38-
// var c = $(".demo-sidebar");
39-
// var d = $(window).width();
40-
// var e = c.offset().top;
41-
// var f = $("#demo-mainsidebar");
42-
// c.css({height: (a - (e - b)) - 40 + "px"});
43-
// if (d < 750) {
44-
// f.css({position: "static"});
45-
// $(".demo-sidebar").hide()
46-
// } else {
47-
// f.css({position: "fixed"});
48-
// $(".demo-sidebar").show()
49-
// }
50-
//}
51-
//$(window).resize(function () {resize()});
12+
function rs(){
13+
if($(window).width() > 992){
14+
$('#my-nav').show();
15+
}else{
16+
$('#my-nav').hide();
17+
}
18+
}
19+
$(window).resize(function(){
20+
rs();
21+
})
22+
rs();

0 commit comments

Comments
 (0)