mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2025-06-07 14:01:29 +02:00
Updated to v.0.5 https://github.com/gdg-x/zeppelin/releases/tag/v0.5
This commit is contained in:
parent
8f50469039
commit
4ae5844b2a
29 changed files with 171 additions and 181 deletions
|
@ -10,34 +10,18 @@ on_stylesheet_saved do |file|
|
|||
end
|
||||
|
||||
http_path = "/"
|
||||
css_dir = "../css"
|
||||
sass_dir = "./"
|
||||
css_dir = "../css"
|
||||
images_dir = "../img"
|
||||
javascripts_dir = "../js"
|
||||
|
||||
if environment == :development
|
||||
line_comments = true
|
||||
relative_assets = true
|
||||
output_style = :expanded
|
||||
end
|
||||
|
||||
if environment == :production
|
||||
line_comments = false
|
||||
relative_assets = true
|
||||
output_style = :compressed
|
||||
|
||||
require 'fileutils'
|
||||
on_stylesheet_saved do |file|
|
||||
if File.exists?(file)
|
||||
filename = File.basename(file, File.extname(file))
|
||||
File.rename(file, "../css" + "/" + filename + ".min" + File.extname(file))
|
||||
end
|
||||
end
|
||||
end
|
||||
line_comments = false
|
||||
relative_assets = true
|
||||
output_style = :compressed
|
||||
|
||||
# Remove multiline comments - monkey patch
|
||||
class Sass::Tree::Visitors::Perform < Sass::Tree::Visitors::Base
|
||||
# Removes all comments completely
|
||||
# # Removes all comments completely
|
||||
def visit_comment(node)
|
||||
return []
|
||||
end
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
background-position: center center !important;
|
||||
background-size: cover !important;
|
||||
&.parallax {
|
||||
background-attachment: fixed;
|
||||
//background-attachment: fixed;
|
||||
box-shadow: inset 0 0 12px 3px rgba(0, 0, 0, .75);
|
||||
}
|
||||
&.standart-height {
|
||||
|
@ -128,7 +128,4 @@
|
|||
}
|
||||
.reset-padding {
|
||||
padding: 0;
|
||||
}
|
||||
.disable-scrolling {
|
||||
overflow: hidden;
|
||||
}
|
|
@ -28,8 +28,8 @@ $modal-highlight-color: #212121;
|
|||
}
|
||||
.modal-dialog {
|
||||
@media (min-width: 768px) {
|
||||
width: 740px;
|
||||
margin-top: 100px;
|
||||
width: 740px;
|
||||
margin-top: 100px;
|
||||
}
|
||||
}
|
||||
.modal-body {
|
||||
|
@ -44,8 +44,14 @@ $modal-highlight-color: #212121;
|
|||
color: $modal-highlight-color;
|
||||
}
|
||||
}
|
||||
.theme-video {
|
||||
margin: 20px 0;
|
||||
}
|
||||
.theme-description {
|
||||
margin: 12px 0 37px;
|
||||
margin: 12px 0 20px;
|
||||
}
|
||||
.theme-presentation {
|
||||
font-size: 15px;
|
||||
}
|
||||
.people-details {
|
||||
.row {
|
||||
|
|
|
@ -68,7 +68,7 @@ nav {
|
|||
height: 100%;
|
||||
transition: $long-transition;
|
||||
background: #fff;
|
||||
transform: translate(-100%,0);
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
.st-menu-open & {
|
||||
transform: translate(0);
|
||||
|
@ -89,6 +89,9 @@ nav {
|
|||
}
|
||||
.top-header.after-scroll & {
|
||||
transform: translateY(20px);
|
||||
@media (max-width: 767px) {
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
li {
|
||||
|
|
17
_sass/vendor/_waves.scss
vendored
17
_sass/vendor/_waves.scss
vendored
|
@ -1,11 +1,11 @@
|
|||
|
||||
/*!
|
||||
* Waves v0.5.1
|
||||
* https://publicis-indonesia.github.io/Waves
|
||||
*
|
||||
* Copyright 2014 Publicis Metro Indonesia, PT. and other contributors
|
||||
* Released under the BSD license
|
||||
* https://github.com/publicis-indonesia/Waves/blob/master/LICENSE
|
||||
* Waves v0.5.4
|
||||
* http://fian.my.id/Waves
|
||||
*
|
||||
* Copyright 2014 Alfiana E. Sibuea and other contributors
|
||||
* Released under the MIT license
|
||||
* https://github.com/fians/Waves/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
@mixin transition ($transition) {
|
||||
|
@ -64,8 +64,9 @@
|
|||
}
|
||||
|
||||
.waves-button,
|
||||
.waves-icon {
|
||||
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
|
||||
.waves-circle {
|
||||
-webkit-transform: translateZ(0);
|
||||
-webkit-image-mask: -webkit-radial-gradient(circle, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
|
||||
}
|
||||
|
||||
.waves-button,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue