mirror of
https://github.com/2ec0b4/kaamelott-soundboard.git
synced 2025-12-08 23:53:24 +00:00
Ajoute des boutons de partage sur les réseaux sociaux
This commit is contained in:
@@ -161,6 +161,13 @@ header h1 {
|
|||||||
* FOOTER
|
* FOOTER
|
||||||
* -----------------------------------------------------------------------------
|
* -----------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
footer {
|
||||||
|
height: 40px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
footer .likely {
|
||||||
|
margin-top: 8px;
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* ANIMATIONS
|
* ANIMATIONS
|
||||||
* -----------------------------------------------------------------------------
|
* -----------------------------------------------------------------------------
|
||||||
@@ -453,17 +460,23 @@ noscript p {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media only screen and (max-width:767px){
|
@media only screen and (max-width:767px){
|
||||||
header {
|
header,
|
||||||
|
footer {
|
||||||
background: #3f3552;
|
background: #3f3552;
|
||||||
left: 0;
|
left: 0;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 5;
|
z-index: 5;
|
||||||
}
|
}
|
||||||
|
header {
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
header h1 {
|
header h1 {
|
||||||
font-size: 2.2em;
|
font-size: 2.2em;
|
||||||
}
|
}
|
||||||
|
footer {
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
#app {
|
#app {
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
margin-top: 90px;
|
margin-top: 90px;
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
<meta name="msapplication-config" content="/favicons/browserconfig.xml">
|
<meta name="msapplication-config" content="/favicons/browserconfig.xml">
|
||||||
<meta name="theme-color" content="#3f3552">
|
<meta name="theme-color" content="#3f3552">
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="/js/vendor/likely/likely.css" media="screen">
|
||||||
<link rel="stylesheet" href="/css/style.css" media="screen">
|
<link rel="stylesheet" href="/css/style.css" media="screen">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -43,6 +44,14 @@
|
|||||||
|
|
||||||
<div class="uil-ring-css"><div></div></div>
|
<div class="uil-ring-css"><div></div></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="likely likely-light">
|
||||||
|
<div class="facebook">Share</div>
|
||||||
|
<div class="twitter" data-via="2ec0b4">Tweet</div>
|
||||||
|
<div class="gplus">+1</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script data-main="/js/app/app" src="/js/vendor/require/require.js"></script>
|
<script data-main="/js/app/app" src="/js/vendor/require/require.js"></script>
|
||||||
|
|||||||
@@ -5,10 +5,11 @@ requirejs(['main'], function () {
|
|||||||
'jquery',
|
'jquery',
|
||||||
'marionette',
|
'marionette',
|
||||||
'underscore',
|
'underscore',
|
||||||
|
'likely',
|
||||||
'controllers/soundboard',
|
'controllers/soundboard',
|
||||||
'views/main'
|
'views/main'
|
||||||
],
|
],
|
||||||
function(Backbone, $, Marionette, _,
|
function(Backbone, $, Marionette, _, Likely,
|
||||||
SoundboardController,
|
SoundboardController,
|
||||||
MainView) {
|
MainView) {
|
||||||
"use strict";
|
"use strict";
|
||||||
@@ -42,6 +43,8 @@ requirejs(['main'], function () {
|
|||||||
Backbone.history.start();
|
Backbone.history.start();
|
||||||
App.trigger("backbone:history:start");
|
App.trigger("backbone:history:start");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
likely.initiate();
|
||||||
};
|
};
|
||||||
|
|
||||||
initialize();
|
initialize();
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ requirejs.config({
|
|||||||
'backbone.radio': '/js/vendor/backbone/plugins/backbone.radio/backbone.radio.min',
|
'backbone.radio': '/js/vendor/backbone/plugins/backbone.radio/backbone.radio.min',
|
||||||
'hbs': '/js/vendor/require/plugins/require-handlebars-plugin/hbs',
|
'hbs': '/js/vendor/require/plugins/require-handlebars-plugin/hbs',
|
||||||
'jquery': '/js/vendor/jquery/jquery-1.12.2.min',
|
'jquery': '/js/vendor/jquery/jquery-1.12.2.min',
|
||||||
|
'likely': '/js/vendor/likely/likely',
|
||||||
'marionette': '/js/vendor/marionette/backbone.marionette.min',
|
'marionette': '/js/vendor/marionette/backbone.marionette.min',
|
||||||
'underscore': '/js/vendor/underscore/underscore-min'
|
'underscore': '/js/vendor/underscore/underscore-min'
|
||||||
},
|
},
|
||||||
@@ -13,8 +14,11 @@ requirejs.config({
|
|||||||
"hbs/underscore": "underscore"
|
"hbs/underscore": "underscore"
|
||||||
},
|
},
|
||||||
shim: {
|
shim: {
|
||||||
|
'likely' : {
|
||||||
|
exports: 'likely'
|
||||||
|
},
|
||||||
'marionette' : {
|
'marionette' : {
|
||||||
deps: ['jquery', 'backbone', 'underscore']
|
deps: ['jquery', 'backbone', 'underscore']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
1
js/vendor/likely/likely.css
vendored
Executable file
1
js/vendor/likely/likely.css
vendored
Executable file
File diff suppressed because one or more lines are too long
5
js/vendor/likely/likely.js
vendored
Executable file
5
js/vendor/likely/likely.js
vendored
Executable file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user