Skip to content

Commit

Permalink
Move always-show to t3.less
Browse files Browse the repository at this point in the history
  • Loading branch information
Hieu Nguyen authored and Hieu Nguyen committed Oct 17, 2013
1 parent d0ff862 commit 2146742
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 22 deletions.
13 changes: 12 additions & 1 deletion source/plg_system_t3/base/less/t3.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,15 @@

//
// INCLUDES VARIOUS FUNCTIONS FOR T3
// ---------------------------------------------------------
// ---------------------------------------------------------

// Always Show Submenu
// -------------------
@media (max-width: @grid-float-breakpoint) {
// Always show submenu for navigation
.always-show .mega > .mega-dropdown-menu,
.always-show .dropdown-menu {
display: block !important;
position: static;
}
}
14 changes: 13 additions & 1 deletion source/plg_system_t3/bs3/less/t3.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,16 @@

//
// INCLUDES VARIOUS FUNCTIONS FOR T3
// ---------------------------------------------------------
// ---------------------------------------------------------


// Always Show Submenu
// -------------------
@media (max-width: @grid-float-breakpoint) {
// Always show submenu for navigation
.always-show .mega > .mega-dropdown-menu,
.always-show .dropdown-menu {
display: block !important;
position: static;
}
}
1 change: 0 additions & 1 deletion source/tpl_t3_bs3_blank/less/navigation.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// T3 MAIN MENU
// -------------------------------------------------------
.t3-mainnav {

border-left: 0;
border-right: 0;
margin-bottom: 0;
Expand Down
27 changes: 8 additions & 19 deletions source/tpl_t3_bs3_blank/less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
@gray-light: lighten(#000, 60%); // #999
@gray-lighter: lighten(#000, 93.5%); // #eee


// Brand colors
// -------------------------

Expand All @@ -40,6 +41,7 @@

// Accent colors
// -------------------------

@black: #000;
@white: #fff;
@blue: #07b;
Expand All @@ -52,13 +54,6 @@
@purple: #8b08ae;


// T3 Main colors
// -------------------------
@t3-primary-color: @blue;
@t3-secondary-color: @green;



// Scaffolding
// -------------------------

Expand All @@ -69,13 +64,12 @@
// Links
// -------------------------

@link-color: @t3-primary-color;
@link-color: @brand-primary;
@link-hover-color: darken(@link-color, 15%);


// Typography
// -------------------------

@font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
@font-family-serif: Georgia, "Times New Roman", Times, serif;
@font-family-monospace: Monaco, Menlo, Consolas, "Courier New", monospace;
Expand All @@ -92,17 +86,16 @@
@headings-font-weight: 500;
@headings-line-height: 1.1;


// Iconography
// -------------------------

@icon-font-path: "../fonts/";
@icon-font-name: "glyphicons-halflings-regular";


// Components
// -------------------------
// Based on 14px font-size and 1.428 line-height (~20px to start)

@padding-base-vertical: 6px;
@padding-base-horizontal: 12px;

Expand All @@ -124,9 +117,9 @@
@caret-width-base: 4px;
@caret-width-large: 5px;


// Tables
// -------------------------

@table-cell-padding: 8px;
@table-condensed-cell-padding: 5px;

Expand Down Expand Up @@ -659,21 +652,17 @@


//
// Theme magic
// T3 TEMPLATE STYLES
// --------------------------------------------------
@t3-navbar-inverted: 0;
@t3-spotlight-inverted: 0;
// -------------------------
@t3-image-path: "../images";


//
// T3 LOGO
// --------------------------------------------------
@t3-image-path: "../images";
@t3-logo-image: "@{t3-image-path}/logo.png";


// Footer Modules Styles
// -------------------------
@t3-footer-mtitle-color: @gray-light;
@t3-footer-module-color: @gray-light;
@t3-footer-module-color: @gray-light;

0 comments on commit 2146742

Please sign in to comment.