Commit 1df6b69c authored by luxcem's avatar luxcem

Init MEPs

parent 4e8025cf
{
"directory": "core/static/libs"
}
representatives
*.sqlite3
# SASS Cache
.sass-cache
CACHE/*
# Emacs backup
*~
\#*\#
# From https://github.com/github/gitignore/blob/master/Python.gitignore
......
{
"name": "Memopol",
"version": "0.0.0",
"dependencies": {
"jquery": "~2.1.3",
"foundation": "~5.5.1"
}
}
from django.contrib import admin
# Register your models here.
from django.db import models
# Create your models here.
Location of auto-categories images.
@font-face {
font-family: "propagandaregular";
src: url("../font/propagan-webfont.eot");
src: url("../font/propagan-webfont.eot?#iefix") format("embedded-opentype"), url("../font/propagan-webfont.woff") format("woff"), url("../font/propagan-webfont.ttf") format("truetype"), url("../font/propagan-webfont.svg#propagandaregular") format("svg");
font-weight: normal;
font-style: normal; }
@font-face {
font-family: "sansus_webissimoitalic";
src: url("../font/sansus_webissimo-italic-webfont-webfont.eot");
src: url("../font/sansus_webissimo-italic-webfont-webfont.eot?#iefix") format("embedded-opentype"), url("../font/sansus_webissimo-italic-webfont-webfont.woff") format("woff"), url("../font/sansus_webissimo-italic-webfont-webfont.ttf") format("truetype"), url("../font/sansus_webissimo-italic-webfont-webfont.svg#sansus_webissimoitalic") format("svg");
font-weight: normal;
font-style: normal; }
@font-face {
font-family: "sansus_webissimoregular";
src: url("../font/sansus_webissimo-regular-webfont-webfont.eot");
src: url("../font/sansus_webissimo-regular-webfont-webfont.eot?#iefix") format("embedded-opentype"), url("../font/sansus_webissimo-regular-webfont-webfont.woff") format("woff"), url("../font/sansus_webissimo-regular-webfont-webfont.ttf") format("truetype"), url("../font/sansus_webissimo-regular-webfont-webfont.svg#sansus_webissimoregular") format("svg");
font-weight: normal;
font-style: normal; }
li {
text-decoration: none;
list-style: none; }
.flat {
padding-left: 0; }
body {
background-color: #e5e5e5; }
.main {
background-color: #fff; }
.button + .button {
margin-top: 11px; }
.row.panel .columns:first-child {
padding-left: 0; }
.panel.columns + .columns {
padding-left: 15px; }
.panel ul {
margin-left: 0; }
.floor, .row .floor {
margin-top: 11px;
margin-bottom: 11px; }
.tabs-content {
width: 100%; }
h2, h3, h4 {
font-family: sansus_webissimoregular; }
.panel.call_data li a {
color: #222; }
.label a {
color: #505050; }
.label a:hover {
text-decoration: underline; }
.label.committee, #committees_menu .label {
display: inline-block;
width: 4em;
background-color: #e65b23;
padding-top: 3px; }
#previousCommittees .label.committee, #previousCommittees #committees_menu .label, #committees_menu #previousCommittees .label {
background-color: #CCC; }
.role-date {
float: right;
margin: 0 15px 0 0; }
.currentRoles {
margin-bottom: 15px; }
.currentRoles ul li, .oldRoles ul li {
clear: both; }
table thead td {
text-align: center; }
#mep_votesTab {
overflow: auto; }
.scolorized {
text-align: center;
background-color: #e5e5e5;
border-color: #e5e5e5; }
.panel.scolorized {
width: 80px;
font-size: 1.5em;
font-weight: bold;
padding: 20px 0; }
.panel.scolorized.position {
font-size: 1em; }
.scolorized.scolorized0 {
background-color: #d00000;
border-color: #d00000; }
.scolorized.scolorized1 {
background-color: #de4f11;
border-color: #de4f11; }
.scolorized.scolorized2 {
background-color: #f6b724;
border-color: #f6b724; }
.scolorized.scolorized3 {
background-color: #fddc0b;
border-color: #fddc0b; }
.scolorized.scolorized4 {
background-color: #fdf70b;
border-color: #fdf70b; }
.scolorized.scolorized5 {
background-color: #d1fd0b;
border-color: #d1fd0b; }
.scolorized.scolorized6 {
background-color: #a2fd0b;
border-color: #a2fd0b; }
.scolorized.scolorized7 {
background-color: #72dc2c;
border-color: #72dc2c; }
.scolorized.scolorized8 {
background-color: #3ac609;
border-color: #3ac609; }
.scolorized.scolorized9 {
background-color: #379d00;
border-color: #379d00; }
.scolorized.scolorized10 {
background-color: #379d00;
border-color: #379d00; }
.ui-autocomplete {
background-color: #fff;
border: 1px solid #e5e5e5; }
.ui-menu-item {
background-color: #fff; }
.ui-menu-item a {
display: block;
padding-left: 10px; }
.ui-menu-item:hover {
background-color: #5B8EDC;
cursor: pointer; }
.ui-menu-item:hover a {
color: #fff; }
#committeesTab a {
color: #222; }
#dynamiq_search {
height: 30px; }
#dynamiq_advanced_search {
display: block; }
#dynamiq_search input[type="text"] {
color: #c5c5c5;
font-style: italic; }
.search_form select {
width: auto; }
.search_form input[type="text"] {
display: inline; }
.search_toggle {
text-align: right; }
.label_fragment {
background: none; }
.label_name, .label_value {
font-weight: normal;
font-style: italic; }
.label_lookup, .label_operator {
color: #5B8EDC; }
.list_item_details {
display: none; }
.filter_button, .simple_search_options select {
float: right;
width: 200px;
padding: 0;
height: 28px;
margin-bottom: 11px;
line-height: 28px; }
.nav-bar {
margin-top: 0;
background-color: #fff;
border-bottom: 1px solid #EEEEEE;
height: 30px;
line-height: 30px; }
.nav-bar > li > a {
color: #000;
line-height: 30px;
text-decoration: none; }
.nav-bar > li:hover {
background-color: #fff; }
.nav-bar > li:hover a {
text-decoration: underline; }
.nav-bar > li, .nav-bar > li:last-child {
border: none; }
.nav-bar > li.has-flyout > a.flyout-toggle {
display: none; }
.flyout {
background-color: #fff;
border: none;
top: 30px; }
.flyout a {
text-decoration: none;
color: #000; }
.nav-bar > li:hover a {
text-decoration: none; }
.flyout a:hover {
text-decoration: underline; }
.nav-bar > li.has-flyout > a:first-child:after {
border: none; }
#countries_menu {
width: 480px;
padding: 0 0 0 15px; }
#groups_menu {
width: 630px;
padding: 8px 5px 5px 10px; }
#committees_menu {
width: 480px; }
#committees_menu .dropdown_menu {
line-height: 1.6em; }
.head {
background-color: #fff;
padding-bottom: 11px; }
#header, #footer {
background: none repeat scroll 0 0 #5B8EDC;
color: #FFFFFF;
vertical-align: middle; }
#header {
padding: 0 20px;
line-height: 45px; }
#footer {
padding: 20px;
text-align: center;
line-height: 20px; }
#header a {
color: #fff;
text-decoration: none; }
#footer a {
color: #fff;
text-decoration: underline; }
#header h1 a {
line-height: 10px;
font-family: propagandaregular;
font-size: 26px; }
#header h1 {
margin: 0; }
#header p {
font-style: italic;
padding-left: 20px;
margin-bottom: 0px; }
#header img {
float: left;
width: 74px; }
#footer li {
display: inline; }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E,IAAI;EACX,KAAK,EAAE,IAAI;;AAEf,UAAU;EACN,OAAO,EAAE,MAAM;;AAEnB,sBAAsB;EAClB,OAAO,EAAE,KAAK;;AAElB,UAAU;EACN,aAAa,EAAE,IAAI",
"sources": ["fonts.sass","app.sass","variables.sass","search.sass","menu.sass","header_footer.sass"],
"names": [],
"file": "app.css"
}
// -----------------------------------------
// Core imports
// -----------------------------------------
@import "fonts.sass"
@import "variables.sass"
// -----------------------------------------
// Shared Styles
// -----------------------------------------
li
text-decoration: none
list-style: none
// -----------------------------------------
// Structure
// -----------------------------------------
.flat
padding-left: 0
body
background-color: $grey_light
.main
background-color: #fff
.button + .button
margin-top: $margin1
.row.panel .columns:first-child
padding-left: 0
.panel.columns + .columns
padding-left: $padding2
.panel ul
margin-left: 0
.floor, .row .floor
margin:
top: $margin1
bottom: $margin1
.tabs-content
width: 100%
// -----------------------------------------
// Titles
// -----------------------------------------
h2, h3, h4
font:
family: sansus_webissimoregular
// -----------------------------------------
// Panels and labels
// -----------------------------------------
.panel.call_data li a
color: $text_color
.label a
color: #505050
.label a:hover
text-decoration: underline
.label.committee
display: inline-block
width: 4em
background-color: $committee_color
padding-top: 3px
#previousCommittees .label.committee
background-color: #CCC
.role-date
float: right
margin: 0 15px 0 0
.currentRoles
margin-bottom: 15px
.currentRoles ul li, .oldRoles ul li
clear: both
// -----------------------------------------
// Tables
// -----------------------------------------
table thead td
text-align: center
#mep_votesTab
overflow: auto
// -----------------------------------------
// Score colors
// -----------------------------------------
.scolorized
text-align: center
background-color: $grey_light // Default value used when no score is available
border-color: $grey_light
.panel.scolorized
width: 80px
font:
size: 1.5em
weight: bold
padding: 20px 0
.panel.scolorized.position
font-size: 1em
.scolorized.scolorized0
background-color: $score0
border-color: $score0
.scolorized.scolorized1
background-color: $score1
border-color: $score1
.scolorized.scolorized2
background-color: $score2
border-color: $score2
.scolorized.scolorized3
background-color: $score3
border-color: $score3
.scolorized.scolorized4
background-color: $score4
border-color: $score4
.scolorized.scolorized5
background-color: $score5
border-color: $score5
.scolorized.scolorized6
background-color: $score6
border-color: $score6
.scolorized.scolorized7
background-color: $score7
border-color: $score7
.scolorized.scolorized8
background-color: $score8
border-color: $score8
.scolorized.scolorized9
background-color: $score9
border-color: $score9
.scolorized.scolorized10
background-color: $score10
border-color: $score10
// -----------------------------------------
// Jquery UI
// -----------------------------------------
.ui-autocomplete
background-color: #fff
border: 1px solid $grey_light
.ui-menu-item
background-color: #fff
.ui-menu-item a
display: block
padding-left: 10px
.ui-menu-item:hover
background-color: #5B8EDC
cursor: pointer
.ui-menu-item:hover a
color: #fff
// -----------------------------------------
// Home
// -----------------------------------------
#committeesTab a
color: $text_color
// -----------------------------------------
// Business import
// -----------------------------------------
@import "search.sass"
@import "menu.sass"
@import "header_footer.sass"
This diff is collapsed.
/*
Variable Grid System (Fluid Version).
Learn more ~ http://www.spry-soft.com/grids/
Based on 960 Grid System - http://960.gs/ & 960 Fluid - http://www.designinfluences.com/
Licensed under GPL and MIT.
*/
/* Containers
----------------------------------------------------------------------------------------------------*/
.container_12 {
width: 92%;
margin-left: 4%;
margin-right: 4%;
}
/* Grid >> Global
----------------------------------------------------------------------------------------------------*/
.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
display:inline;
float: left;
position: relative;
margin-left: 1%;
margin-right: 1%;
height: 100%;
}
/* Grid >> Children (Alpha ~ First, Omega ~ Last)
----------------------------------------------------------------------------------------------------*/
.alpha {
margin-left: 0;
}
.omega {
margin-right: 0;
}
/* Grid >> 12 Columns
----------------------------------------------------------------------------------------------------*/
.container_12 .grid_1 {
width:6.333%;
}
.container_12 .grid_2 {
width:14.667%;
}
.container_12 .grid_3 {
width:23.0%;
}
.container_12 .grid_4 {
width:31.333%;
}
.container_12 .grid_5 {
width:39.667%;
}
.container_12 .grid_6 {
width:48.0%;
}
.container_12 .grid_7 {
width:56.333%;
}
.container_12 .grid_8 {
width:64.667%;
}
.container_12 .grid_9 {
width:73.0%;
}
.container_12 .grid_10 {
width:81.333%;
}
.container_12 .grid_11 {
width:89.667%;
}
.container_12 .grid_12 {
width:98.0%;
}
/* Prefix Extra Space >> 12 Columns
----------------------------------------------------------------------------------------------------*/
.container_12 .prefix_1 {
padding-left:8.333%;
}
.container_12 .prefix_2 {
padding-left:16.667%;
}
.container_12 .prefix_3 {
padding-left:25.0%;
}
.container_12 .prefix_4 {
padding-left:33.333%;
}
.container_12 .prefix_5 {
padding-left:41.667%;
}
.container_12 .prefix_6 {
padding-left:50.0%;
}
.container_12 .prefix_7 {
padding-left:58.333%;
}
.container_12 .prefix_8 {
padding-left:66.667%;
}