cleaning sass

This commit is contained in:
Mylene 2015-07-27 12:29:48 +02:00
parent 0addd8a8ef
commit c10d6892a2
17 changed files with 74 additions and 83 deletions

View File

@ -1,4 +1,60 @@
@charset "UTF-8";
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font: inherit;
font-size: 100%;
vertical-align: baseline;
}
html {
line-height: 1;
}
ol, ul {
list-style: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
q, blockquote {
quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
content: "";
content: none;
}
a img {
border: none;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
display: block;
}
@font-face {
font-family: "Roboto";
src: url("fonts/roboto/Roboto-Regular.ttf");
@ -186,62 +242,6 @@
}
/* '' */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font: inherit;
font-size: 100%;
vertical-align: baseline;
}
html {
line-height: 1;
}
ol, ul {
list-style: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
q, blockquote {
quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
content: "";
content: none;
}
a img {
border: none;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
display: block;
}
.col, .following, .following-list li, .login .module, .network.singleBlock .module, .twister-user {
float: left;
margin: 0 2.5% 0 0;

View File

@ -31,10 +31,6 @@ $(function(){
$(this).prependTo($(this).parent());
});
// open-following-page
$( '.userMenu-home.current a' ).on( 'click', function() {
$('html, body').animate({scrollTop:0},300);
@ -42,7 +38,6 @@ $(function(){
});
$( ".promoted-posts-only").click(function() {
// modify the way promoted posts are shown
@ -77,11 +72,6 @@ $(function(){
function localizeLabels() {
$("label[for=tab_language]").text(polyglot.t("Language"));
$("label[for=t-2]").text(polyglot.t("Theme"));
@ -94,8 +84,6 @@ function localizeLabels() {
function openModal(modal) {
window_scrollY = window.pageYOffset;
//$('body').css('overflow', 'hidden');
if (!modal.classBase)
modal.classBase = '.modal-wrapper';

0
sass/_fonts.sass → sass/base/_fonts.sass Executable file → Normal file
View File

0
sass/_utils.sass → sass/base/_utils.sass Executable file → Normal file
View File

0
sass/_var.sass → sass/base/_var.sass Executable file → Normal file
View File

0
sass/_menu.sass → sass/layout/_menu.sass Executable file → Normal file
View File

0
sass/_profile.sass → sass/layout/_profile.sass Executable file → Normal file
View File

0
sass/_following.sass → sass/pages/_following.sass Executable file → Normal file
View File

0
sass/_network.sass → sass/pages/_network.sass Executable file → Normal file
View File

View File

@ -1,24 +1,27 @@
@import _fonts
@import compass
@import 'compass/reset'
@import 'compass/utilities'
// utils
@import _var
@import _commons
@import _utils
// base
@import 'base/_fonts'
@import 'base/_var'
@import 'base/_commons'
@import 'base/_utils'
// layout
@import _menu
@import _modal
@import _profile
@import _postboard
@import _following
@import _login
@import _network
@import 'layout/_menu'
@import 'layout/_modal'
@import 'layout/_profile'
@import 'layout/_postboard'
@import _tabs
// pages
@import 'pages/_following'
@import 'pages/_login'
@import 'pages/_network'
@import 'layout/_tabs'
@ -764,4 +767,4 @@ ul.dropdown-menu
color: #B4C669
@import _responsive
@import 'layout/_responsive'