better bootswatch support in case no css, thanks Paolo

This commit is contained in:
Massimo Di Pierro
2012-05-27 17:54:20 -05:00
parent f9e73987e2
commit 470f03f15a
4 changed files with 53 additions and 4 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-05-27 17:38:47) dev
Version 2.00.0 (2012-05-27 17:51:38) dev
+13 -3
View File
@@ -67,7 +67,17 @@ li {margin-bottom: 0;} /*bootswatch*/
}
.icon-chevron-right {
margin-top:2px;
border-left: 4px solid #000;
border-right: 4px solid transparent;
border-bottom: 4px solid transparent;
border-top: 4px solid transparent;
content: "";
display: inline-block;
height: 0;
opacity: 0.7;
vertical-align: top;
width: 0;
margin-right:-13px;
margin-top: 7px;
float:right;
background-image: url("../images/glyphicons-halflings.png");
}
}
@@ -0,0 +1,38 @@
.nav > li.dropdown > a:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid #000000;
content: "";
display: inline-block;
height: 0;
opacity: 0.7;
vertical-align: top;
width: 0;
margin-left: 2px;
margin-top: 8px;
border-bottom-color: #FFFFFF;
border-top-color: #FFFFFF;
}
ul.dropdown-menu li.dropdown > a:after {
border-left: 4px solid #000;
border-right: 4px solid transparent;
border-bottom: 4px solid transparent;
border-top: 4px solid transparent;
content: "";
display: inline-block;
height: 0;
opacity: 0.7;
vertical-align: top;
width: 0;
margin-left: 8px;
margin-top: 6px;
}
ul.nav li.dropdown:hover ul.dropdown-menu {
display: block;
}
+1
View File
@@ -72,6 +72,7 @@
});
});
</script>
<noscript><link href="{{=URL('static', 'css/bootswatch_nojs.css')}}" rel="stylesheet" type="text/css" /></noscript>
{{block head}}{{end}}
</head>
<!--<body data-spy="scroll" data-target=".subnav" data-offset="50">-->