Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Commit

Permalink
Dependencies update
Browse files Browse the repository at this point in the history
  • Loading branch information
kovarp committed Apr 27, 2018
1 parent e88f44a commit 8e0d396
Show file tree
Hide file tree
Showing 8 changed files with 143 additions and 2,560 deletions.
6 changes: 4 additions & 2 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = function (grunt) {
sass: {
dist: {
options: {
outputStyle: 'compressed'
outputStyle: 'expanded'
},
files: {
'jquery.cookieBar.css': 'jquery.cookieBar.scss'
Expand All @@ -43,7 +43,9 @@ module.exports = function (grunt) {
},
uglify: {
options: {
preserveComments: 'some'
output: {
comments: 'some'
}
},
my_target: {
files: [{
Expand Down
125 changes: 123 additions & 2 deletions jquery.cookieBar.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,128 @@
@charset "UTF-8";
/*!
* Cookie Bar component (https://github.com/kovarp/jquery.cookieBar)
* Version 1.1.1
* Version 1.1.2
*
* Copyright 2018 Pavel Kovář - Frontend developer [www.pavelkovar.cz]
* Licensed under MIT (https://github.com/kovarp/jquery.cookieBar/blob/master/LICENSE)
*/.cookie-bar__inner{background-color:#000;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:.875rem;padding:.375rem .5rem;text-align:center}@media (min-width: 48rem){.cookie-bar__inner{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}}.cookie-bar__buttons{display:block;margin-top:.375rem}@media (min-width: 48rem){.cookie-bar__buttons{display:inline;margin-top:0}}.cookie-bar__btn{background-color:#0275d8;color:#fff;border:none;margin:0 .875rem;padding:.125rem .875rem;-webkit-transition:background-color .3s;transition:background-color .3s;cursor:pointer}.cookie-bar__btn:hover{background-color:#0267bf}.cookie-bar__btn:active{background-color:#0262b5}.cookie-bar a{color:#fff;text-decoration:underline}.cookie-bar a:hover{text-decoration:none}.cookie-bar--bottom-left,.cookie-bar--bottom-right,.cookie-bar--bottom{z-index:100;position:fixed}.cookie-bar--bottom{right:0;bottom:0;left:0}.cookie-bar--bottom-left{left:.9375rem}.cookie-bar--bottom-right{right:.9375rem}.cookie-bar--bottom-right,.cookie-bar--bottom-left{bottom:.9375rem}@media (min-width: 48rem){.cookie-bar--bottom-right,.cookie-bar--bottom-left{width:22.5rem}}@media (min-width: 48rem){.cookie-bar--bottom-right .cookie-bar__inner,.cookie-bar--bottom-left .cookie-bar__inner,.cookie-bar--bottom-right .cookie-bar__buttons,.cookie-bar--bottom-left .cookie-bar__buttons{display:block}}@media (min-width: 48rem){.cookie-bar--bottom-right .cookie-bar__buttons,.cookie-bar--bottom-left .cookie-bar__buttons{margin-top:.375rem}}.cookie-bar--bottom-right .cookie-bar__inner,.cookie-bar--bottom-left .cookie-bar__inner{line-height:1.3}
*/
/* Settings */
/* Cookie Bar styles */
.cookie-bar__inner {
background-color: #000;
color: #fff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: .875rem;
padding: .375rem .5rem;
text-align: center;
}

@media (min-width: 48rem) {
.cookie-bar__inner {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
}

.cookie-bar__buttons {
display: block;
margin-top: .375rem;
}

@media (min-width: 48rem) {
.cookie-bar__buttons {
display: inline;
margin-top: 0;
}
}

.cookie-bar__btn {
background-color: #0275d8;
color: #fff;
border: none;
margin: 0 .875rem;
padding: .125rem .875rem;
-webkit-transition: background-color .3s;
-o-transition: background-color .3s;
transition: background-color .3s;
cursor: pointer;
}

.cookie-bar__btn:hover {
background-color: #0267bf;
}

.cookie-bar__btn:active {
background-color: #0262b5;
}

.cookie-bar a {
color: #fff;
text-decoration: underline;
}

.cookie-bar a:hover {
text-decoration: none;
}

/* Cookie Bar layouts */
.cookie-bar--bottom-left,
.cookie-bar--bottom-right,
.cookie-bar--bottom {
z-index: 100;
position: fixed;
}

.cookie-bar--bottom {
right: 0;
bottom: 0;
left: 0;
}

.cookie-bar--bottom-left {
left: 0.9375rem;
}

.cookie-bar--bottom-right {
right: 0.9375rem;
}

.cookie-bar--bottom-right,
.cookie-bar--bottom-left {
bottom: 0.9375rem;
}

@media (min-width: 48rem) {
.cookie-bar--bottom-right,
.cookie-bar--bottom-left {
width: 22.5rem;
}
}

@media (min-width: 48rem) {
.cookie-bar--bottom-right .cookie-bar__inner,
.cookie-bar--bottom-left .cookie-bar__inner,
.cookie-bar--bottom-right .cookie-bar__buttons,
.cookie-bar--bottom-left .cookie-bar__buttons {
display: block;
}
}

@media (min-width: 48rem) {
.cookie-bar--bottom-right .cookie-bar__buttons,
.cookie-bar--bottom-left .cookie-bar__buttons {
margin-top: .375rem;
}
}

.cookie-bar--bottom-right .cookie-bar__inner,
.cookie-bar--bottom-left .cookie-bar__inner {
line-height: 1.3;
}
2 changes: 1 addition & 1 deletion jquery.cookieBar.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Cookie Bar component (https://github.com/kovarp/jquery.cookieBar)
* Version 1.1.1
* Version 1.1.2
*
* Copyright 2018 Pavel Kovář - Frontend developer [www.pavelkovar.cz]
* @license: MIT (https://github.com/kovarp/jquery.cookieBar/blob/master/LICENSE)
Expand Down
6 changes: 3 additions & 3 deletions jquery.cookieBar.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions jquery.cookieBar.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion jquery.cookieBar.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Cookie Bar component (https://github.com/kovarp/jquery.cookieBar)
* Version 1.1.1
* Version 1.1.2
*
* Copyright 2018 Pavel Kovář - Frontend developer [www.pavelkovar.cz]
* Licensed under MIT (https://github.com/kovarp/jquery.cookieBar/blob/master/LICENSE)
Expand Down
Loading

0 comments on commit 8e0d396

Please sign in to comment.