Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added an anchor style, jiggled a few more bits around

  • Loading branch information...
commit df3283d799051039687902ecf2a7be6b48df05bd 1 parent 51c0321
aeoth authored
View
37 less/bootstrap-utilities.less
@@ -0,0 +1,37 @@
+/*Copyright 2012 Twitter, Inc.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.*/
+
+// UTILITY CLASSES
+// ---------------
+
+// Quick floats
+.pull-right {
+ float: right;
+}
+.pull-left {
+ float: left;
+}
+
+// Toggling content
+.hide {
+ display: none;
+}
+.show {
+ display: block;
+}
+
+// Visibility
+.invisible {
+ visibility: hidden;
+}
View
40 less/metro.less
@@ -1,9 +1,20 @@
@import "bootstrap-variables.less";
@import "bootstrap-mixins.less";
@import "bootstrap-layouts.less";
+@import "bootstrap-utilities.less";
@import "variables.less";
@import "colours.less";
-@import "fonts.less";
+@import "type.less";
+
+a {
+ color: @accent;
+ text-decoration: none;
+}
+a:hover {
+ color: @accentDark;
+ text-decoration: underline;
+}
+
metro-pivot .headers {
clear: both;
@@ -29,33 +40,6 @@ metro-pivot .headers {
.metro-pivot .items { position: relative; }
.metro-pivot .items .pivotItem { display: block; white-space: normal; text-align: justify; width: 100%; }
-ul.metro-list, ol.metro-list { padding: 0; }
-
-ul.metro-list li, ol.metro-list li
-{
- display: block;
- list-style-type: none;
- border-left: solid 30px @accent;
- height: 20px;
- list-style-position: inside;
- margin: 10px 0;
- padding:5px;
-
-}
-ul.metro-list {
- overflow: hidden;
-}
-ol.metro-list {
- text-indent: -25px;
- counter-reset: item;
-}
-ol.metro-list li:before {
- color:white;
- margin-right:25px;
- content: counter(item) " ";
- counter-increment: item;
-}
-
pre {
padding: 15px;
border: 1px solid @inactive;
View
32 less/fonts.less → less/type.less
@@ -44,4 +44,34 @@ h3 { font-size: @h3fontSize; }
h4, h5, h6 {
font-weight: normal;
text-transform: uppercase;
-}
+}
+
+
+/* Lists */
+
+ul.metro-list, ol.metro-list { padding: 0; }
+
+ul.metro-list li, ol.metro-list li
+{
+ display: block;
+ list-style-type: none;
+ border-left: solid 30px @accent;
+ height: 20px;
+ list-style-position: inside;
+ margin: 10px 0;
+ padding:5px;
+
+}
+ul.metro-list {
+ overflow: hidden;
+}
+ol.metro-list {
+ text-indent: -25px;
+ counter-reset: item;
+}
+ol.metro-list li:before {
+ color:white;
+ margin-right:25px;
+ content: counter(item) " ";
+ counter-increment: item;
+}
View
1  less/variables.less
@@ -19,6 +19,7 @@
@teal: #00ABA9;
@accent: @blue;
+@accentDark: darken(@accent, 15%);
@background: white;
@foreground: black;
@inactive: #aaaaaa;
Please sign in to comment.
Something went wrong with that request. Please try again.