Skip to content

Commit

Permalink
Merge pull request #19 from mrholek/v1-0-1
Browse files Browse the repository at this point in the history
v1.0.1
  • Loading branch information
xidedix authored Oct 10, 2017
2 parents 0a00ed0 + b500475 commit 96f2aff
Show file tree
Hide file tree
Showing 25 changed files with 101 additions and 69 deletions.
2 changes: 1 addition & 1 deletion Vue_Full_Project/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coreui/vue",
"version": "1.0.0",
"version": "1.0.1",
"description": "",
"author": "Łukasz Holeczek <[email protected]>",
"private": true,
Expand Down
11 changes: 6 additions & 5 deletions Vue_Full_Project/scss/core/_dropdown-menu-right.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Temp fix for reactstrap
.show {
> .dropdown-menu-right {
right: 0;
left: auto; // Reset the default from `.dropdown-menu`
.app-header {
.navbar-nav {
.dropdown-menu-right {
right: auto;
}
}
}
}
5 changes: 3 additions & 2 deletions Vue_Full_Project/scss/core/_footer.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
.app-footer {
min-height: $footer-height;
display: flex;
padding: 0 $spacer;
line-height: $footer-height;
color: $footer-color;
background: $footer-bg;
flex-wrap: wrap;
align-items: center;
@include borders($footer-borders);
}
9 changes: 5 additions & 4 deletions Vue_Full_Project/scss/core/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
app-dashboard,
app-root {
display: flex;
flex-direction: column;
min-height: 100vh;
flex-direction: column;
}

.app-header {
Expand All @@ -26,12 +26,12 @@ app-root {
.app-body {
display: flex;
flex-direction: row;
flex-grow: 1;
overflow-x: hidden;
flex-grow: 1;

.main {
flex: 1;
min-width: 0;
flex: 1;
}

.sidebar {
Expand Down Expand Up @@ -328,7 +328,8 @@ app-root {
margin-top: $navbar-height;
}

.sidebar {
.sidebar,
.sidebar-fixed .sidebar {
position: fixed;
z-index: $zindex-sticky - 1;
width: $mobile-sidebar-width;
Expand Down
19 changes: 11 additions & 8 deletions Vue_Full_Project/scss/core/_navbar.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.app-header.navbar {
position: relative;
flex-direction: row;
height: $navbar-height;
flex-direction: row;
padding: 0;
margin: 0;
background-color: $navbar-bg;
Expand Down Expand Up @@ -102,13 +102,16 @@
background-color: rgba(0,0,0,.075);
}

.brand-minimized {
.app-header.navbar {
.navbar-brand {
width: $navbar-brand-minimized-width;
background-color: $navbar-brand-minimized-bg;
background-image: $navbar-brand-minimized-logo;
background-size: $navbar-brand-minimized-logo-size;
@include media-breakpoint-up(lg) {
.brand-minimized {
.app-header.navbar {
.navbar-brand {
width: $navbar-brand-minimized-width;
background-color: $navbar-brand-minimized-bg;
background-image: $navbar-brand-minimized-logo;
background-size: $navbar-brand-minimized-logo-size;
@include borders($navbar-brand-minimized-border);
}
}
}
}
4 changes: 3 additions & 1 deletion Vue_Full_Project/scss/core/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@

.nav {
@include sidebar-width($sidebar-borders, $sidebar-width);
flex-direction: column;
min-height: 100%;
flex-direction: column;
}

.nav-title {
Expand Down Expand Up @@ -254,13 +254,15 @@
flex: 0 0 $sidebar-footer-height;
padding: $sidebar-footer-padding-y $sidebar-footer-padding-x;
background: $sidebar-footer-bg;
@include borders($sidebar-footer-borders);
}

.sidebar-minimizer {
position: relative;
flex: 0 0 $sidebar-minimizer-height;
background-color: $sidebar-minimizer-bg;
border: 0;
@include borders($sidebar-minimizer-borders);

&::before {
position: absolute;
Expand Down
7 changes: 5 additions & 2 deletions Vue_Full_Project/scss/core/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,11 @@ $navbar-brand-border: (
)
) !default;

$navbar-brand-minimized-width: 50px !default
$navbar-brand-minimized-bg: #fff !default;
$navbar-brand-minimized-width: 50px !default;
$navbar-brand-minimized-bg: $navbar-brand-bg !default;
$navbar-brand-minimized-logo: url('../img/logo-symbol.png') !default;
$navbar-brand-minimized-logo-size: 24px !default;
$navbar-brand-minimized-border: $navbar-brand-border !default;

$navbar-color: $gray-600 !default;
$navbar-hover-color: $gray-800 !default;
Expand Down Expand Up @@ -132,11 +133,13 @@ $sidebar-footer-height: auto !default;
$sidebar-footer-bg: rgba(0,0,0,.2) !default;
$sidebar-footer-padding-y: .75rem !default;
$sidebar-footer-padding-x: 1rem !default;
$sidebar-footer-borders: 0 !default;

// Sidebar Minimizer

$sidebar-minimizer-height: 50px !default;
$sidebar-minimizer-bg: rgba(0,0,0,.2) !default;
$sidebar-minimizer-borders: 0 !default;
$sidebar-minimizer-indicator-color: $gray-600 !default;
$sidebar-minimizer-indicator: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='#{$sidebar-minimizer-indicator-color}' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E"), "#", "%23") !default;
$sidebar-minimizer-hover-bg: rgba(0,0,0,.3) !default;
Expand Down
10 changes: 2 additions & 8 deletions Vue_Full_Project/scss/style.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* CoreUI - Open Source Bootstrap Admin Template
* @version v1.0.0
* @version v1.0.1
* @link http://coreui.io
* Copyright (c) 2017 creativeLabs Łukasz Holeczek
* @license MIT
Expand All @@ -11,23 +11,17 @@
// Import Bootstrap source files
@import "bootstrap/bootstrap";

// If you want you can import bootstrap scss files directly from node_modules or bower_components.
// If you want you can import bootstrap scss files directly from node_modules.
// To do this please remove @import "bootstrap/bootstrap"; and uncomment proper line.

// Import Bootstrap source files from node_modules
// @import "node_modules/bootstrap/scss/bootstrap";

// Import Bootstrap source files from bower_components
// @import "bower_components/bootstrap/scss/bootstrap";

// Override core variables
@import "core-variables";

// Import core styles
@import "core/core";

// Import vendors styles
@import "vendors/vendors";

// Custom styles
@import "custom";
9 changes: 9 additions & 0 deletions Vue_Full_Project/scss/vendors/_variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// @import "node_modules/bootstrap/scss/bootstrap/functions";
@import "../bootstrap/functions";
@import "../bootstrap-variables";
// @import "node_modules/bootstrap/scss/bootstrap/variables";
@import "../bootstrap/variables";
// @import "node_modules/bootstrap/scss/bootstrap/mixins";
@import "../bootstrap/mixins";
@import "../core-variables";
@import "../core/variables";
1 change: 0 additions & 1 deletion Vue_Full_Project/scss/vendors/_vendors.scss

This file was deleted.

3 changes: 3 additions & 0 deletions Vue_Full_Project/scss/vendors/chart.js/chart.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Import variables
@import '../variables';

.chart-legend,
.bar-legend,
.line-legend,
Expand Down
4 changes: 2 additions & 2 deletions Vue_Full_Project/src/components/Footer.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<footer class="app-footer">
<a href="http://coreui.io">CoreUI</a> &copy; 2017 creativeLabs.
<span class="float-right">Powered by <a href="http://coreui.io">CoreUI</a></span>
<span><a href="http://coreui.io">CoreUI</a> &copy; 2017 creativeLabs.</span>
<span class="ml-auto">Powered by <a href="http://coreui.io">CoreUI</a></span>
</footer>
</template>
<script>
Expand Down
2 changes: 1 addition & 1 deletion Vue_Starter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coreui/vue",
"version": "1.0.0",
"version": "1.0.1",
"description": "",
"author": "Łukasz Holeczek <[email protected]>",
"private": true,
Expand Down
11 changes: 6 additions & 5 deletions Vue_Starter/scss/core/_dropdown-menu-right.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Temp fix for reactstrap
.show {
> .dropdown-menu-right {
right: 0;
left: auto; // Reset the default from `.dropdown-menu`
.app-header {
.navbar-nav {
.dropdown-menu-right {
right: auto;
}
}
}
}
5 changes: 3 additions & 2 deletions Vue_Starter/scss/core/_footer.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
.app-footer {
min-height: $footer-height;
display: flex;
padding: 0 $spacer;
line-height: $footer-height;
color: $footer-color;
background: $footer-bg;
flex-wrap: wrap;
align-items: center;
@include borders($footer-borders);
}
9 changes: 5 additions & 4 deletions Vue_Starter/scss/core/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
app-dashboard,
app-root {
display: flex;
flex-direction: column;
min-height: 100vh;
flex-direction: column;
}

.app-header {
Expand All @@ -26,12 +26,12 @@ app-root {
.app-body {
display: flex;
flex-direction: row;
flex-grow: 1;
overflow-x: hidden;
flex-grow: 1;

.main {
flex: 1;
min-width: 0;
flex: 1;
}

.sidebar {
Expand Down Expand Up @@ -328,7 +328,8 @@ app-root {
margin-top: $navbar-height;
}

.sidebar {
.sidebar,
.sidebar-fixed .sidebar {
position: fixed;
z-index: $zindex-sticky - 1;
width: $mobile-sidebar-width;
Expand Down
19 changes: 11 additions & 8 deletions Vue_Starter/scss/core/_navbar.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.app-header.navbar {
position: relative;
flex-direction: row;
height: $navbar-height;
flex-direction: row;
padding: 0;
margin: 0;
background-color: $navbar-bg;
Expand Down Expand Up @@ -102,13 +102,16 @@
background-color: rgba(0,0,0,.075);
}

.brand-minimized {
.app-header.navbar {
.navbar-brand {
width: $navbar-brand-minimized-width;
background-color: $navbar-brand-minimized-bg;
background-image: $navbar-brand-minimized-logo;
background-size: $navbar-brand-minimized-logo-size;
@include media-breakpoint-up(lg) {
.brand-minimized {
.app-header.navbar {
.navbar-brand {
width: $navbar-brand-minimized-width;
background-color: $navbar-brand-minimized-bg;
background-image: $navbar-brand-minimized-logo;
background-size: $navbar-brand-minimized-logo-size;
@include borders($navbar-brand-minimized-border);
}
}
}
}
4 changes: 3 additions & 1 deletion Vue_Starter/scss/core/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@

.nav {
@include sidebar-width($sidebar-borders, $sidebar-width);
flex-direction: column;
min-height: 100%;
flex-direction: column;
}

.nav-title {
Expand Down Expand Up @@ -254,13 +254,15 @@
flex: 0 0 $sidebar-footer-height;
padding: $sidebar-footer-padding-y $sidebar-footer-padding-x;
background: $sidebar-footer-bg;
@include borders($sidebar-footer-borders);
}

.sidebar-minimizer {
position: relative;
flex: 0 0 $sidebar-minimizer-height;
background-color: $sidebar-minimizer-bg;
border: 0;
@include borders($sidebar-minimizer-borders);

&::before {
position: absolute;
Expand Down
7 changes: 5 additions & 2 deletions Vue_Starter/scss/core/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,11 @@ $navbar-brand-border: (
)
) !default;

$navbar-brand-minimized-width: 50px !default
$navbar-brand-minimized-bg: #fff !default;
$navbar-brand-minimized-width: 50px !default;
$navbar-brand-minimized-bg: $navbar-brand-bg !default;
$navbar-brand-minimized-logo: url('../img/logo-symbol.png') !default;
$navbar-brand-minimized-logo-size: 24px !default;
$navbar-brand-minimized-border: $navbar-brand-border !default;

$navbar-color: $gray-600 !default;
$navbar-hover-color: $gray-800 !default;
Expand Down Expand Up @@ -132,11 +133,13 @@ $sidebar-footer-height: auto !default;
$sidebar-footer-bg: rgba(0,0,0,.2) !default;
$sidebar-footer-padding-y: .75rem !default;
$sidebar-footer-padding-x: 1rem !default;
$sidebar-footer-borders: 0 !default;

// Sidebar Minimizer

$sidebar-minimizer-height: 50px !default;
$sidebar-minimizer-bg: rgba(0,0,0,.2) !default;
$sidebar-minimizer-borders: 0 !default;
$sidebar-minimizer-indicator-color: $gray-600 !default;
$sidebar-minimizer-indicator: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='#{$sidebar-minimizer-indicator-color}' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E"), "#", "%23") !default;
$sidebar-minimizer-hover-bg: rgba(0,0,0,.3) !default;
Expand Down
Loading

0 comments on commit 96f2aff

Please sign in to comment.