Doug Stewart avatar Doug Stewart committed 537f8e7

Checking in more LESS.

Comments (0)

Files changed (4)

includes/functions/admin.php

 	
 	if( empty( $lblg_default_options['tabs']) && empty($lblg_default_options['child_tabs']) ){
 		// If both sets of tab options are empty, don't output anything.
+		add_action( 'customize_register', 'lblg_customize_single' );
 	} else {
 		if( isset($_GET['tab'] )) {
 			$current_tab = $_GET['tab'];

includes/functions/hooks.php

 		wp_enqueue_style( $layout_handle , $layout, '', '', 'screen' );
 	}
 	
-	if( isset($alt_style) ){
-		wp_enqueue_style( $alt_style_handle, $alt_style, '', '', 'screen' );
-	}
+	// if( isset($alt_style) ){
+	// 		wp_enqueue_style( $alt_style_handle, $alt_style, '', '', 'screen' );
+	// }
+	
+	wp_enqueue_style( $alt_style_handle, get_template_directory_uri() . '/styles/less/ng2.less', '', '', 'screen' );
 	
 	//wp_enqueue_style( $normalize_handle, get_template_directory_uri() . '/includes/css/normalize.css/normalize.css', '', '', 'screen' );
 	wp_enqueue_style($print_handle,  get_template_directory_uri() . '/print.css', '', '', 'print' );

styles/less/ng2-base.less

+#menu {
+	ul, ol {
+		list-style: none;
+		margin: 0;
+		padding: 0;
+	}
+}
+ol.commentlist {
+    ul.children {
+        margin-left: 20px;
+    }
+}
+body.home-page #lb-content h2,body.home #lb-content h2,body.single #lb-content h1,body.page #lb-content h1,body.error404 #lb-content h1,h1.entry-title,body.archive #lb-content h2 {
+    font-size: 2em;
+    font-weight: bold;
+    padding-bottom: 0.5em;
+}
+/*height: {
+    auto; {
+        div#header h1,div#header p.blogtitle;
+    }
+}*/
+.itemtext ol ol ol,.comment-body ol ol ol {
+    list-style-type: lower-roman;
+}
+.itemtext table,.comment-body table {
+    width: 95%;
+    margin: 0 auto;
+}
+.itemtext pre,.comment-body pre {
+    padding: 5px 20px 5px 20px;
+    margin-left: 20px;
+    background: #eee;
+}
+.itemtext ol ol,.comment-body ol ol {
+    list-style-type: lower-latin;
+}
+.itemtext ul ul,.comment-body ul ul {
+    list-style-type: circle;
+}
+.itemtext table tr td,.comment-body table tr td {
+    border-top: 1px solid #bbb;
+    padding: 5px 10px 5px 10px;
+}
+.itemtext h5,.comment-body h5 {
+    font-size: 1.2em;
+}
+.itemtext h2,.comment-body h2 {
+    font-size: 1.8em;
+}
+strong {
+    font-weight: bold;
+}
+width: {
+    100%;clear: {
+        both;height: {
+            auto; {
+                #header p.description;
+            }
+        }
+    }
+    100%;float: {
+        none;text-align: {
+            left; {
+                #lb-bp-search-bar;
+            }
+        }
+    }
+    auto; {
+        div#titledesc;
+    }
+}
+.itemtext h2,.itemtext h3,.itemtext h4,.itemtext h5,.itemtext h6,.comment-body h2,.comment-body h3,.comment-body h4,.comment-body h5,.comment-body h6 {
+    font-weight: bold;
+    clear: both;
+}
+#menu {
+    ul {
+        ul {
+            display: none;
+            float: left;
+            position: absolute;
+            width: 188px;
+            border: 1px solid #000;
+            background: #3c3c3c;
+            z-index: 99999;
+            li {
+                position: relative;
+            }
+            ul {
+                left: 100%;
+                top: -1px;
+            }
+        }
+        li:hover {
+            > {
+                ul {
+                    display: block;
+                }
+            }
+        }
+    }
+}
+@media {
+    screen {
+        and {
+            (max-width: {
+                700px) {
+                    div#header;
+                }
+                980px) {
+                    div#container,div#lb-content,div#primarysb,div#secondarysb;
+                }
+                480px) {
+                    div#container,div#lb-content;
+                }
+            }
+        }
+    }
+}
+.itemtext ul,.comment-body ul {
+    list-style-type: disc;
+    margin-left: 22px;
+}
+#wp-calendar {
+    width: 90%;
+    margin: 0 auto;
+    th {
+        border-bottom: 1px solid;
+    }
+    td#today {
+        font-weight: bold;
+    }
+    caption {
+        font-weight: bold;
+        text-align: center;
+        margin-bottom: 10px;
+    }
+}
+ul.sub-menu li a:link,ul.sub-menu li a:visited {
+    padding: 10px 10px;
+    color: #fff;
+    text-decoration: none;
+    font-weight: bold;
+}
+pre,code {
+    font:115% monospace;
+    *font-size:100%;
+}
+select,input,textarea {
+    font:99% arial,helvetica,clean,sans-serif;
+}
+body {
+    font:13px arial,helvetica,clean,sans-serif;
+    *font-size:small;
+    *font:x-small;
+    * {
+        line-height:1.5em;
+    }
+}
+margin-top: {
+    5px;font-size: {
+        2.5em; {
+            #blogtitle;
+        }
+    }
+}
+#calendar_wrap {
+    padding: 15px;
+}
+ul.sub-menu li a:hover,ul.sub-menu li a:active {
+    background: #fff;
+    color: #0971B3;
+}
+height:auto; {
+    div#lb-bp-nav ul.menu;
+}
+.itemtext strong,.comment-body strong {
+    font-weight: bold;
+}
+.itemtext ol,.comment-body ol {
+    list-style-type: decimal;
+    margin-left: 22px;
+}
+.itemtext table th,.comment-body table th {
+    text-transform: uppercase;
+    text-align: left;
+}
+.itemtext h6,.comment-body h6 {
+    font-size: 1.0em;
+}
+display: {
+    none; {
+        div#lb-bp-nav;
+    }
+}
+width:auto;float:none; {
+    div#footer,div#footerwrapper,div#footerleft,div#footerright div#primarysb,div#secondarysb,div#footerwrapper,div#footer;
+}
+.itemtext h4,.comment-body h4 {
+    font-size: 1.4em;
+}
+.itemtext h3,.comment-body h3,h3#reply-title {
+    font-size: 1.6em;
+}
+.notification,.category-notification,.alert,.category-alert,.warning,.category-warning,.sticky,.message,.information {
+    border-radius: 5px;
+    -moz-border-radius: 5px;
+    -webkit-border-radius: 5px;
+}
+em {
+    font-style: italic;
+}
+#lb-content {
+    padding-left: 20px;
+    padding-right: 20px;
+    p {
+        padding-bottom: 0.7em;
+    }
+    img.wp-post-image {
+        margin: 0 auto;
+        display: block;
+        padding-top: 0.5em;
+        padding-bottom: 0.4em;
+    }
+    div.post {
+        margin-bottom: 2em;
+        margin-top: 1em;
+    }
+    img {
+        max-width: 100%;
+    }
+}
+.itemtext abbr,.itemtext dfn,.itemtext acronym,.comment-body abbr,.comment-body dfn,.comment-body acronym {
+    border-bottom-style: dotted;
+    cursor: help;
+    border-bottom-width: 1px;
+}
+.itemtext ul ul ul,.comment-body ul ul ul {
+    list-style-type: square;
+}
+table {
+    font-size:inherit;
+    font:100%;
+}

styles/less/ng2.less

+/* Imports */
+@import "ng2-base.less";
+@import url("../includes/css/normalize.css/normalize.css");
+
+body {
+	background-color: #efefef;
+}
+
+/* Mix-ins */
+
+.commentlist {
+	div.comment-author {
+	    display: inline;
+	    font-size: 1.5em;
+	}
+	span.comment-date {
+	    font-size: 0.8em;
+	}
+	div.reply {
+	    clear: both;
+	    text-align: right;
+	}
+	> {
+	    li {
+	        border-top: 1px solid #1a1c1d;
+	    }
+	    li.even {
+	        background: #f6f6f6;
+	    }
+	}
+	div.comment-body {
+	    margin-left: 5px;
+	}
+	div.comment-meta {
+	    float: right;
+	    font-size: 0.8em;
+	}
+	li.depth-2, li.depth-3, li.depth-4 {
+	    border-left: 1px solid #1a1c1d;
+	}
+	li.comment,li.pingback,li.trackback {
+	    clear: both;
+	    margin-top: 15px;
+	    padding-top: 10px;
+	}
+	img.gravatar,img.avatar {
+	    float:  left;
+	    background-color: #fff;
+	    border: 1px solid #3c3c3c;
+	}
+}
+#lb-bp-search-bar {
+    margin-top: 20px;
+    margin-right: 10px;
+    height: 25px;
+}
+#header h1,#header p.blogtitle {
+    font-size: 3.5em;
+    font-weight: bold;
+    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
+    margin-top: 20px;
+}
+#lb-content {
+    dd {
+        padding-left: 1em;
+    }
+    dt {
+        font-weight: bold;
+    }
+    dl {
+        padding-left: 1em;
+        padding-top: 1em;
+    }
+}
+div#footer {
+    background: #333;
+}
+#primarysb h4,#secondarysb h4,#footerleft h4,#footerright h4 {
+    background-color: #333;
+    width: 97%;
+    color: #fff;
+    padding: 3px;
+    margin: 0;
+}
+div.postinfo {
+    margin: 10px 0 10px 0;
+    padding: 5px 0 0 5px;
+}
+#menu li.current_page_item a:hover,#menu li.current_page_item a:active,#lb-bp-nav ul.menu > li.current-menu-item a:active,#lb-bp-nav ul.menu > li.current-menu-item a:hover,#lb-bp-nav div.menu li.current-menu-item a:active,#lb-bp-nav div.menu li.current-menu-item a:hover {
+    background: #fff;
+    color: #0971B3;
+}
+.startTranslucent {
+    background:rgb(0,0,0);
+    background:rgba(0,0,0,0.5);
+    -ms-filter:alpha(opacity=50);
+    filter:alpha(opacity=50);
+}
+p.form-allowed-tags {
+    font-size: 0.8em;
+}
+div#menu,div.menu {
+    border-color: #000;
+    border-style: solid;
+    border-width: 1px 0 1px 0;
+    background-color: #3c3c3c;
+    width: 100%;
+    margin: 0 auto;
+    float: none;
+}
+#lb-bp-nav ul.menu > li a:link,#lb-bp-nav ul.menu > li a:visited,#lb-bp-nav div.menu li a:link,#lb-bp-nav div.menu li a:visited {
+    padding: 1em;
+    text-decoration: none;
+}
+#lb-bp-nav ul.menu > li,#lb-bp-nav div.menu li {
+    display: inline-block;
+    background: #000;
+    margin-right: 5px;
+    padding-top: 5px;
+    font-weight: bold;
+    height: 100%;
+    overflow: hidden;
+    border-radius: 4px 4px 0 0;
+    -moz-border-radius: 4px 4px 0 0;
+    -webkit-border-radius: 4px 4px 0 0;
+}
+#lb-bp-nav {
+    width: 50%;
+    height: 100%;
+    float: right;
+    text-align: right;
+    position: relative;
+    .menu {
+        width: 100%;
+        position: absolute;
+        bottom: 0px;
+        margin-bottom: 0;
+        padding-left: 0;
+    }
+}
+#titledesc {
+    width: 50%;
+    height: 100%;
+    float: left;
+    vertical-align: bottom;
+    background:rgb(0,0,0);
+    background:rgba(0,0,0,0.5);
+    -ms-filter:alpha(opacity=50);
+    filter:alpha(opacity=50);
+}
+div#container {
+    border: 1px solid #333;
+}
+#primarysb > ul > li,#secondarysb > ul > li,#footerleft > ul > li,#footerright > ul > li {
+    border: 3px solid #eee;
+    padding: 4px;
+    margin:4px;
+    overflow: auto;
+}
+.itemtext blockquote,.comment-body blockquote {
+    padding: 5px 15px 0 15px;
+    margin-bottom: 10px;
+    background: #eee;
+    font-style: italic;
+}
+#lb-bp-nav ul.menu > li a:hover,#lb-bp-nav ul.menu > li a:active,#lb-bp-nav div.menu li a:hover,#lb-bp-nav div.menu li a:active {
+    padding: 1em;
+    background: #fff;
+}
+.stopTranslucent {
+    position: relative;
+}
+a:active,a:hover {
+    text-decoration: underline;
+}
+#primarysb ul,#primarysb ol,#secondarysb ul,#secondarysb ol,#footerleft ul,#footerleft ol,#footerright ul,#footerright ol {
+    list-style: none;
+    margin: 0;
+    padding: 0;
+}
+#header h1 a:link,#header h1 a:visited,#header p.blogtitle a:link,#header p.blogtitle a:visited {
+    color: #fff;
+    text-decoration: none;
+    vertical-align: baseline;
+    text-shadow: #000 2px 2px 1px;
+}
+#header {
+    height: 200px;
+    overflow: hidden;
+    p.description {
+        font-style: italic;
+        font-size: 1.2em;
+        margin-left: 1.5em;
+        color: #eee;
+    }
+    h1 {
+        margin-left: 0.75em;
+    }
+}
+h2#comments {
+    font-weight: bold;
+    font-size: 1.4em;
+}
+span.postmeta,span.postcats,span.posttags {
+    clear: both;
+    display: block;
+}
+#menu li.current_page_item > a:link,#menu li.current_page_item > a:visited,#lb-bp-nav ul.menu > li.current-menu-item a:link,#lb-bp-nav ul.menu > li.current-menu-item a:visited,#lb-bp-nav div.menu li.current-menu-item a:link,#lb-bp-nav div.menu li.current-menu-item a:visited {
+    color: #000;
+}
+#menu > ul > li > a:link,#menu > ul > li > a:visited,div.menu > ul > li > a:link,div.menu > ul > li > a:visited {
+    padding: 5px 10px;
+    color: #fff;
+    text-decoration: none;
+    font-weight: bold;
+}
+#menu li.current_page_item,#lb-bp-nav ul.menu > li.current-menu-item,#lb-bp-nav div.menu li.current-menu-item {
+    background: #fff;
+}
+#menu > ul > li > a:active,#menu > ul > li > a:hover,div.menu > ul > li > a:active,div.menu > ul > li > a:hover {
+    background: #fff;
+    color: #0971B3;
+}
+a:link,a:visited {
+    color: #0971B3;
+    text-decoration: none;
+}
+div#footerwrapper {
+    width: 960px;
+    margin: 0 auto;
+    background: #fff;
+}
+div#allwrapper {
+    margin: 0 auto;
+    overflow: auto;
+    background-color: #fff;
+    border-bottom-style: none;
+    padding: 10px;
+}
+#blogtitle {
+    width: 50%;
+}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.