mirror of https://github.com/ColorlibHQ/AdminLTE
Add AdminLTE.css to css folder
parent
60c105323d
commit
f5f78f415b
|
@ -19,7 +19,7 @@ module.exports = function (grunt) {
|
||||||
style: 'expanded'
|
style: 'expanded'
|
||||||
},
|
},
|
||||||
files: {
|
files: {
|
||||||
'dist/tmp/AdminLTE.css': 'build/scss/AdminLTE.scss'
|
'dist/css/AdminLTE.css': 'build/scss/AdminLTE.scss'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
production: {
|
production: {
|
||||||
|
@ -27,7 +27,7 @@ module.exports = function (grunt) {
|
||||||
style: 'compressed'
|
style: 'compressed'
|
||||||
},
|
},
|
||||||
files: {
|
files: {
|
||||||
'dist/tmp/AdminLTE.min.css': 'build/scss/AdminLTE.scss'
|
'dist/css/AdminLTE.min.css': 'build/scss/AdminLTE.scss'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -103,10 +103,10 @@ module.exports = function (grunt) {
|
||||||
// Validate CSS files
|
// Validate CSS files
|
||||||
csslint: {
|
csslint: {
|
||||||
options: {
|
options: {
|
||||||
csslintrc: 'build/less/.csslintrc'
|
csslintrc: 'build/scss/.csslintrc'
|
||||||
},
|
},
|
||||||
dist: [
|
dist: [
|
||||||
'dist/css/AdminLTE.css',
|
'dist/tmp/AdminLTE.css',
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"adjoining-classes": false,
|
||||||
|
"box-sizing": false,
|
||||||
|
"box-model": false,
|
||||||
|
"compatible-vendor-prefixes": false,
|
||||||
|
"floats": false,
|
||||||
|
"font-sizes": false,
|
||||||
|
"gradients": false,
|
||||||
|
"important": false,
|
||||||
|
"known-properties": false,
|
||||||
|
"outline-none": false,
|
||||||
|
"qualified-headings": false,
|
||||||
|
"regex-selectors": false,
|
||||||
|
"shorthand": false,
|
||||||
|
"text-indent": false,
|
||||||
|
"unique-headings": false,
|
||||||
|
"universal-selector": false,
|
||||||
|
"unqualified-attributes": false,
|
||||||
|
"ids": false,
|
||||||
|
"fallback-colors": false,
|
||||||
|
"vendor-prefix": false,
|
||||||
|
"import": false
|
||||||
|
}
|
|
@ -2,6 +2,11 @@
|
||||||
* Component: Box
|
* Component: Box
|
||||||
* --------------
|
* --------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
.card {
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
.box {
|
.box {
|
||||||
position: relative;
|
position: relative;
|
||||||
@include border-radius($box-border-radius);
|
@include border-radius($box-border-radius);
|
||||||
|
|
|
@ -14,7 +14,6 @@ body {
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Layout */
|
/* Layout */
|
||||||
|
@ -38,33 +37,38 @@ body {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Content Wrapper - contains the main content
|
* Content Wrapper - contains the main content
|
||||||
* ```.right-side has been deprecated as of v2.0.0 in favor of .content-wrapper ```
|
|
||||||
*/
|
*/
|
||||||
|
.content-wrapper {
|
||||||
|
min-height: 100%;
|
||||||
|
}
|
||||||
.content-wrapper,
|
.content-wrapper,
|
||||||
.right-side,
|
|
||||||
.main-footer {
|
.main-footer {
|
||||||
//Using disposable variable to join statements with a comma
|
|
||||||
$transition-rule: $transition-speed $transition-fn,
|
|
||||||
margin $transition-speed $transition-fn;
|
|
||||||
transition: transform $transition-rule;
|
|
||||||
margin-left: $sidebar-width;
|
margin-left: $sidebar-width;
|
||||||
z-index: 820;
|
z-index: 820;
|
||||||
//Top nav layout
|
//Top nav layout
|
||||||
.layout-top-nav & {
|
.layout-top-nav & {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
@media (max-width: map-get($grid-breakpoints, xs)) {
|
@media (max-width: map-get($grid-breakpoints, md) + 1) {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
//When opening the sidebar on large screens
|
//When opening the sidebar on large screens
|
||||||
.sidebar-collapse & {
|
.sidebar-collapse & {
|
||||||
@media (min-width: map-get($grid-breakpoints, sm)) {
|
@media (min-width: map-get($grid-breakpoints, md)) {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
.main-header,
|
||||||
|
.main-footer,
|
||||||
|
.content-wrapper {
|
||||||
|
//Using disposable variable to join statements with a comma
|
||||||
|
$transition-rule: $transition-speed $transition-fn,
|
||||||
|
margin $transition-speed $transition-fn;
|
||||||
|
transition: transform $transition-rule;
|
||||||
//When opening the sidebar on small screens
|
//When opening the sidebar on small screens
|
||||||
.sidebar-open & {
|
.sidebar-open & {
|
||||||
@media (max-width: map-get($grid-breakpoints, xs)) {
|
@media (max-width: map-get($grid-breakpoints, md) + 1) {
|
||||||
@include translate($sidebar-width, 0);
|
@include translate($sidebar-width, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -99,9 +103,6 @@ transition: transform $transition-rule;
|
||||||
.content-wrapper,
|
.content-wrapper,
|
||||||
.right-side {
|
.right-side {
|
||||||
padding-top: 50px;
|
padding-top: 50px;
|
||||||
@media (max-width: $screen-header-collapse) {
|
|
||||||
padding-top: 100px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
&.layout-boxed {
|
&.layout-boxed {
|
||||||
.wrapper {
|
.wrapper {
|
||||||
|
|
|
@ -4,23 +4,15 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.main-header {
|
.main-header {
|
||||||
position: relative;
|
padding: 0 16px 0 0;
|
||||||
z-index: $zindex-navbar;
|
.navbar-brand {
|
||||||
|
|
||||||
> .navbar {
|
|
||||||
//margin-left: $sidebar-width;
|
|
||||||
//height: 55px;
|
|
||||||
}
|
|
||||||
/*
|
|
||||||
> .logo {
|
|
||||||
width: $sidebar-width;
|
width: $sidebar-width;
|
||||||
padding: 0 15px;
|
padding: 10px;
|
||||||
text-align: center;
|
}
|
||||||
float: left;
|
|
||||||
font-size: 18px;
|
.nav-link {
|
||||||
height: 55px;
|
padding: 15px 5px;
|
||||||
line-height: 55px;
|
}
|
||||||
}*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-header {
|
.content-header {
|
||||||
|
|
|
@ -74,6 +74,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin translate($x, $y) {
|
@mixin translate($x, $y) {
|
||||||
|
-webkit-transform: translate($x, $y);
|
||||||
-ms-transform: translate($x, $y); // IE9 only
|
-ms-transform: translate($x, $y); // IE9 only
|
||||||
transform: translate($x, $y);
|
transform: translate($x, $y);
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
//Main Sidebar
|
//Main Sidebar
|
||||||
// ``` .left-side has been deprecated as of 2.0.0 in favor of .main-sidebar ```
|
// ``` .left-side has been deprecated as of 2.0.0 in favor of .main-sidebar ```
|
||||||
|
|
||||||
.main-sidebar,
|
.main-sidebar {
|
||||||
.left-side {
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
@ -19,18 +18,18 @@
|
||||||
width $transition-speed $transition-fn;
|
width $transition-speed $transition-fn;
|
||||||
transition: transform $transition-rule;
|
transition: transform $transition-rule;
|
||||||
@media (max-width: $screen-header-collapse) {
|
@media (max-width: $screen-header-collapse) {
|
||||||
padding-top: 100px;
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
@media (max-width: map-get($grid-breakpoints, xs)) {
|
@media (max-width: map-get($grid-breakpoints, md) + 1) {
|
||||||
@include translate(-$sidebar-width, 0);
|
@include translate(-$sidebar-width, 0);
|
||||||
}
|
}
|
||||||
.sidebar-collapse & {
|
.sidebar-collapse & {
|
||||||
@media (min-width: map-get($grid-breakpoints, sm)) {
|
@media (min-width: map-get($grid-breakpoints, md)) {
|
||||||
@include translate(-$sidebar-width, 0);
|
@include translate(-$sidebar-width, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.sidebar-open & {
|
.sidebar-open & {
|
||||||
@media (max-width: map-get($grid-breakpoints, xs)) {
|
@media (max-width: map-get($grid-breakpoints, md) + 1) {
|
||||||
@include translate(0, 0);
|
@include translate(0, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,15 +9,15 @@ $boxed-layout-bg-image-path: "../img/boxed-bg.jpg";
|
||||||
//COLORS
|
//COLORS
|
||||||
//--------------------------------------------------------
|
//--------------------------------------------------------
|
||||||
//Primary
|
//Primary
|
||||||
$light-blue: #3c8dbc;
|
$light-blue: $brand-primary;//#3c8dbc;
|
||||||
//Danger
|
//Danger
|
||||||
$red: #dd4b39;
|
$red: $brand-danger; //#dd4b39;
|
||||||
//Success
|
//Success
|
||||||
$green: #00a65a;
|
$green: $brand-success; //#00a65a;
|
||||||
//Info
|
//Info
|
||||||
$aqua: #00c0ef;
|
$aqua: $brand-info; //#00c0ef;
|
||||||
//Warning
|
//Warning
|
||||||
$yellow: #f39c12;
|
$yellow: $brand-warning; //#f39c12;
|
||||||
$blue: #0073b7;
|
$blue: #0073b7;
|
||||||
$navy: #001F3F;
|
$navy: #001F3F;
|
||||||
$teal: #39CCCC;
|
$teal: #39CCCC;
|
||||||
|
@ -38,14 +38,14 @@ $sidebar-width: 230px;
|
||||||
//Boxed layout maximum width
|
//Boxed layout maximum width
|
||||||
$boxed-layout-max-width: 1024px;
|
$boxed-layout-max-width: 1024px;
|
||||||
//When the logo should go to the top of the screen
|
//When the logo should go to the top of the screen
|
||||||
$screen-header-collapse: map-get($grid-breakpoints, xs);
|
$screen-header-collapse: map-get($grid-breakpoints, md);
|
||||||
|
|
||||||
//Link colors (aka: <a> tags)
|
//Link colors (aka: <a> tags)
|
||||||
$link-color: $light-blue;
|
$link-color: $light-blue;
|
||||||
$link-hover-color: lighten($link-color, 15%);
|
$link-hover-color: lighten($link-color, 15%);
|
||||||
|
|
||||||
//Body background (Affects main content background only)
|
//Body background (Affects main content background only)
|
||||||
$main-bg: #ecf0f5;
|
$main-bg: $gray-lighter; //#ecf0f5;
|
||||||
|
|
||||||
//SIDEBAR SKINS
|
//SIDEBAR SKINS
|
||||||
//--------------------------------------------------------
|
//--------------------------------------------------------
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue