Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
memopol
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
32
Issues
32
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Political Memory
memopol
Commits
7125c0f8
Commit
7125c0f8
authored
Aug 10, 2016
by
Nicolas Joyard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused scss files and libsass
parent
cfe53ee5
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
1 addition
and
375 deletions
+1
-375
memopol/settings.py
memopol/settings.py
+1
-4
setup.py
setup.py
+0
-1
static/scss/base.scss
static/scss/base.scss
+0
-31
static/scss/chambers.scss
static/scss/chambers.scss
+0
-8
static/scss/external.scss
static/scss/external.scss
+0
-24
static/scss/filter.scss
static/scss/filter.scss
+0
-70
static/scss/font.scss
static/scss/font.scss
+0
-21
static/scss/footer.scss
static/scss/footer.scss
+0
-26
static/scss/groups.scss
static/scss/groups.scss
+0
-10
static/scss/header.scss
static/scss/header.scss
+0
-34
static/scss/legislature.scss
static/scss/legislature.scss
+0
-81
static/scss/navigation.scss
static/scss/navigation.scss
+0
-13
static/scss/positions.scss
static/scss/positions.scss
+0
-27
static/scss/table.scss
static/scss/table.scss
+0
-25
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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