(css) Cleanup

This commit is contained in:
Francis Lachapelle
2016-08-31 11:22:14 -04:00
parent 015f389f7c
commit 53f97af814
3 changed files with 3 additions and 39 deletions

View File

@@ -1,27 +0,0 @@
///
//
// This is the shame file (http://csswizardry.com/2013/04/shame-css/)
// RULES
// 1. If its a hack, it goes in shame.css.
// 2. Document all hacks fully:
// 1. What part of the codebase does it relate to?
// 2. Why was this needed?
// 3. How does this fix it?
// 4. How might you fix it properly, given more time?
// 3. Do not blame the developer; if they explained why they had to do it
// then their reasons are probably (hopefully) valid.
// 4. Try and clean shame.css up when you have some down time.
// Even better, get a tech-debt story in which you can dedicate actual sprint time to it.
//
// 1. Component : autoScrollList
// 2. Suddently, the date span of the first list item of the messagae-list do not
// justify to the extreme right of his container (flex-box)
// After more than an hour spent analysing trying to find differences with other
// list element. I still can't find any.
// 3. I decide to apply a minimal width to the left element until I found a culprit.
.sg-tile-content .sg-md-subhead-multi,
.sg-tile-content .sg-md-subhead-solo {
//min-width: 65%;
}

View File

@@ -1,4 +1,4 @@
/// styles.scss -*- Mode: scss; indent-tabs-mode: nil; basic-offset: 2 -*-
/// angular.scss -*- Mode: scss; indent-tabs-mode: nil; basic-offset: 2 -*-
// ngCloak directive
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {

View File

@@ -15,15 +15,13 @@
@import 'core/functions';
@import 'core/angular';
/* Local overrides from angular-material src */
// fixme : refactor all this to meet our practices
// Original angular-material core style and services
// ------------------------------------------------------------------------------
@import 'core/mixins';
@import 'core/layout-attributes';
@import 'core/structure';
@import 'core/layout';
@import 'core/typography';
@import 'core/print';
// Original angular-material components
// ------------------------------------------------------------------------------
@@ -69,16 +67,9 @@
@import 'components/draggable-droppable/droppable';
@import 'components/ripple/ripple';
@import 'components/timepicker/timepicker';
// @import '../angular-material/src/core/style/color-palette';
// COMPONENTS
// todo : configure manual and glob imports
@import 'components/pseudo-input/pseudo-input';
@import 'views/view';
// Make sure this is last to override anything else
//@import 'shame';
@import 'core/print';
// dev-tools - NOT FOR PRODUCTION
// ------------------------------------------------------------------------------