Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Political Memory
memopol
Commits
7125c0f8
Commit
7125c0f8
authored
Aug 10, 2016
by
Nicolas Joyard
Browse files
Remove unused scss files and libsass
parent
cfe53ee5
Changes
14
Hide whitespace changes
Inline
Side-by-side
memopol/settings.py
View file @
7125c0f8
...
...
@@ -238,7 +238,7 @@ if os.environ.get('OPENSHIFT_LOG_DIR', None):
COMPRESS_PRECOMPILERS
=
(
# ('text/coffeescript', 'coffee --compile --stdio'),
# ('text/less', 'lesscpy {infile}'),
(
'text/x-scss'
,
'django_libsass.SassCompiler'
),
#
('text/x-scss', 'django_libsass.SassCompiler'),
# ('text/x-sass', 'sass {infile} {outfile}'),
# ('text/x-scss', 'sass --scss {infile} {outfile}'),
# ('text/stylus', 'stylus < {infile} > {outfile}'),
...
...
@@ -246,9 +246,6 @@ COMPRESS_PRECOMPILERS = (
)
LIBSASS_SOURCE_COMMENTS
=
False
LOGGING
=
{
'version'
:
1
,
'disable_existing_loggers'
:
False
,
...
...
setup.py
View file @
7125c0f8
...
...
@@ -16,7 +16,6 @@ setup(name='political-memory',
'django-compressor>=1,<2'
,
'django-datetime-widget>=0.9,<1.0'
,
'django-filter>=0.13,<0.14'
,
'django-libsass>=0.7,<0.8'
,
'django-representatives-votes==0.0.24'
,
'django-representatives==0.0.34'
,
'django-rql-filter>=0.1.3,<0.2'
,
...
...
static/scss/base.scss
deleted
100644 → 0
View file @
cfe53ee5
@import
'font'
;
@import
'header'
;
@import
'footer'
;
@import
'navigation'
;
@import
'table'
;
@import
'legislature'
;
@import
'positions'
;
@import
'chambers'
;
@import
'groups'
;
@import
'filter'
;
@import
'external'
;
body
{
background
:
#E5E5E5
;
}
.container
,
.container-fluid
{
background
:
white
;
}
.main-container
{
padding-top
:
15px
;
}
.label
a
{
color
:
white
;
}
.label
{
margin
:
0
1px
;
}
\ No newline at end of file
static/scss/chambers.scss
deleted
100644 → 0
View file @
cfe53ee5
.chamber-icon
{
display
:
inline-block
;
width
:
1
.5em
;
height
:
1
.5em
;
vertical-align
:
bottom
;
background-size
:
100%
;
}
static/scss/external.scss
deleted
100644 → 0
View file @
cfe53ee5
a
.twitter-link
:before
,
a
.facebook-link
:before
{
content
:
' '
;
overflow
:
hidden
;
display
:
inline-block
;
width
:
1
.5em
;
height
:
1
.5em
;
vertical-align
:
bottom
;
}
a
.twitter-link
:before
{
background-size
:
110%
;
background-position
:
center
;
background-image
:
url(../images/twitter.png)
;
}
a
.facebook-link
:before
{
background-size
:
75%
;
background-repeat
:
no-repeat
;
background-position
:
center
;
background-image
:
url(../images/facebook.png)
;
}
\ No newline at end of file
static/scss/filter.scss
deleted
100644 → 0
View file @
cfe53ee5
@mixin
bootstrap-shadow
(
$color
:
#66afe9
)
{
border-color
:
#66afe9
;
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,.
075
)
,
0
0
6px
$color
;
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,.
075
)
,
0
0
6px
$color
;
}
.filter-form
{
display
:
flex
;
flex-flow
:
row
wrap
;
justify-content
:
flex-start
;
align-items
:
flex-end
;
.form-group
{
display
:
flex
;
flex-flow
:
column
nowrap
;
margin
:
0
.5em
0
0
;
.help-block
{
display
:
none
;
}
.btn
{
margin-top
:
.5em
;
}
/* Override bootstrap has-success color */
.control-label
{
color
:
#555
;
}
.form-control
{
border-color
:
#ccc
;
&
:focus
{
@include
bootstrap-shadow
();
}
}
/* Override select2 */
.select2-container
{
.select2-selection
{
border-color
:
#ccc
!
important
;
height
:
34px
;
.select2-selection__rendered
{
line-height
:
34px
;
}
.select2-selection__arrow
{
height
:
32px
;
}
}
&
.select2-container--focus
,
&
.select2-container--open
{
@include
bootstrap-shadow
();
}
}
}
}
.no-results
{
margin-top
:
1em
;
font-size
:
larger
;
font-weight
:
bold
;
color
:
#555
;
margin
:
2em
0
;
}
\ No newline at end of file
static/scss/font.scss
deleted
100644 → 0
View file @
cfe53ee5
@font-face
{
font-family
:
'propagandaregular'
;
src
:
url('../fonts/propagan-webfont.eot')
;
src
:
url('../fonts/propagan-webfont.eot?#iefix')
format
(
'embedded-opentype'
)
,
url('../fonts/propagan-webfont.woff')
format
(
'woff'
)
,
url('../fonts/propagan-webfont.ttf')
format
(
'truetype'
)
,
url('../fonts/propagan-webfont.svg#propagandaregular')
format
(
'svg'
);
font-weight
:
normal
;
font-style
:
normal
;
}
@font-face
{
font-family
:
'sansus_webissimoitalic'
;
src
:
url('../fonts/sansus_webissimo-italic-webfont-webfont.eot')
;
src
:
url('../fonts/sansus_webissimo-italic-webfont-webfont.eot?#iefix')
format
(
'embedded-opentype'
)
,
url('../fonts/sansus_webissimo-italic-webfont-webfont.woff')
format
(
'woff'
)
,
url('../fonts/sansus_webissimo-italic-webfont-webfont.ttf')
format
(
'truetype'
)
,
url('../fonts/sansus_webissimo-italic-webfont-webfont.svg#sansus_webissimoitalic')
format
(
'svg'
);
font-weight
:
normal
;
font-style
:
normal
;
}
@font-face
{
font-family
:
'sansus_webissimoregular'
;
src
:
url('../fonts/sansus_webissimo-regular-webfont-webfont.eot')
;
src
:
url('../fonts/sansus_webissimo-regular-webfont-webfont.eot?#iefix')
format
(
'embedded-opentype'
)
,
url('../fonts/sansus_webissimo-regular-webfont-webfont.woff')
format
(
'woff'
)
,
url('../fonts/sansus_webissimo-regular-webfont-webfont.ttf')
format
(
'truetype'
)
,
url('../fonts/sansus_webissimo-regular-webfont-webfont.svg#sansus_webissimoregular')
format
(
'svg'
);
font-weight
:
normal
;
font-style
:
normal
;
}
static/scss/footer.scss
deleted
100644 → 0
View file @
cfe53ee5
#footer
{
background
:
#5B8EDC
;
color
:
white
;
text-align
:
center
;
padding
:
20px
;
a
{
color
:
white
;
text-decoration
:
underline
;
}
.license-links
,
.footer-link
{
display
:
inline
;
&
+
.footer-link
:before
{
content
:
'•'
;
padding
:
0
.5em
;
}
}
.footer-separator
{
height
:
1em
;
}
}
static/scss/groups.scss
deleted
100644 → 0
View file @
cfe53ee5
.group-icon
{
display
:
inline-block
;
width
:
1
.5em
;
height
:
1
.5em
;
vertical-align
:
bottom
;
background-size
:
100%
;
background-repeat
:
no-repeat
;
background-position
:
center
center
;
}
static/scss/header.scss
deleted
100644 → 0
View file @
cfe53ee5
#header
{
background
:
#5B8EDC
;
color
:
white
;
h1
{
font-family
:
'propagandaregular'
;
margin
:
0
;
padding-top
:
20px
;
}
a
{
color
:
white
;
text-decoration
:none
;
}
.organization
{
font-style
:
italic
;
}
}
#nav
{
padding
:
0
;
ul
.nav
{
clear
:
both
;
display
:
flex
;
font-weight
:
bold
;
border-bottom
:
#eee
1px
solid
;
}
}
#logo
{
float
:
left
;
img
{
width
:
100px
;
}
}
\ No newline at end of file
static/scss/legislature.scss
deleted
100644 → 0
View file @
cfe53ee5
.representative
{
h1
{
text-align
:
center
;
}
p
.photo
{
text-align
:
center
;
}
tr
.score
{
th
{
vertical-align
:
bottom
;
}
td
{
font-size
:
1
.4em
;
.label
{
padding
:
2px
;
}
}
}
}
.positions
form
{
width
:
50%
;
margin
:
auto
;
}
.vote_negative
{
color
:
red
;
}
.vote_positive
{
color
:
green
;
}
.vote_abstain
{
color
:
#333
;
}
.date-cell
{
white-space
:
nowrap
;
}
.representative_grid
{
display
:
flex
;
flex-wrap
:
wrap
;
justify-content
:
center
;
.representative_item
{
width
:
300px
;
margin
:
2px
;
padding
:
10px
;
// border: 1px solid black;
background
:
#f5f5f5
;
.photo
{
float
:
left
;
}
.name
{
font-weight
:
bold
;
}
ul
{
list-style-type
:
none
;
text-indent
:
10px
;
}
}
}
.representative_item.inactive
,
.representative.inactive
{
.photo
img
{
-webkit-filter
:
greyscale
(
1
);
-moz-filter
:
grayscale
(
1
);
-ms-filter
:
grayscale
(
1
);
-o-filter
:
grayscale
(
1
);
filter
:
grayscale
(
1
);
opacity
:
0
.5
;
}
}
\ No newline at end of file
static/scss/navigation.scss
deleted
100644 → 0
View file @
cfe53ee5
.pagination-block
{
margin-bottom
:
10px
;
color
:
#999
;
font-size
:
0
.9em
;
nav
{
text-align
:
center
;
}
.count
{
text-align
:
left
;
}
}
\ No newline at end of file
static/scss/positions.scss
deleted
100644 → 0
View file @
cfe53ee5
$quote-size
:
1em
;
.quote
{
width
:
70%
;
margin
:
auto
;
}
.quote-header
{
font-style
:
italic
;
}
.long-quote
{
p
:first-child:before
{
content
:
'« '
;
font-style
:
italic
;
font-size
:
$quote-size
;
}
p
:last-child:after
{
content
:
' »'
;
font-style
:
italic
;
font-size
:
$quote-size
;
text-align
:
right
;
}
}
\ No newline at end of file
static/scss/table.scss
deleted
100644 → 0
View file @
cfe53ee5
table
.detail-view
>
tbody
>
tr
>
td
,
table
.detail-view
>
tbody
>
tr
>
th
{
border-top
:
0
;
}
table
.detail-view
{
th
{
text-align
:
right
;
}
th
:after
{
content
:
' :'
;
}
}
.icon-cell
{
text-align
:
center
;
}
.grid-list-selector
{
// text-align: right;
}
.no-recommendation
{
font-style
:
italic
;
text-align
:
center
;
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment