Julian Herrero
00bd7008bb
Show all system emails in Admin section
2019-02-22 16:13:49 +01:00
decabeza
9e9eb1359b
Add icon to sortable table
2019-02-20 13:07:08 +01:00
Javier Martín
b330de01f6
Merge pull request #3148 from matisnape/budget_investments_sorting_columns
...
Add sort links to admin tables
2019-02-15 19:19:11 +01:00
Alberto
938d5eba43
Merge pull request #3191 from consul/ui-i18n-details
...
Fix i18n and UI minor details
2019-02-13 10:55:03 +01:00
decabeza
acc7cf65e3
Replace single quotes to double quotes on scss files
2019-02-11 17:42:58 +01:00
decabeza
bce8b8b0a3
Change locale switcher background color
2019-02-11 15:41:44 +01:00
decabeza
dfe7126ca0
Synchronize color inputs
2019-02-08 12:32:13 +01:00
Alberto
6a7fcde9a6
Merge pull request #3268 from consul/budget-polish
...
[Backport] Budgets UI minor fixes
2019-02-06 14:31:26 +01:00
decabeza
4d71a70e1e
Set tags max length to 160
2019-02-05 17:40:27 +01:00
decabeza
556a72347e
Hide hover background color on budget index if there is no heading link
2019-02-05 17:15:35 +01:00
decabeza
98f550fc18
Add columns on pages card view and improve css layout
2019-01-31 17:06:44 +01:00
Alberto
41fe1e3922
Merge pull request #3152 from NahiaSolutions/add_image_to_legislation_processes
...
Add image to legislation processes and banner colors
2019-01-29 16:06:54 +01:00
Alberto
ebe5bf13e7
Merge pull request #3149 from NahiaSolutions/add_cards_to_custom_pages
...
Add cards to custom pages
2019-01-29 16:05:47 +01:00
Alberto
78479ff0e7
Merge pull request #3228 from consul/milestones_public_progress_bar
...
[Backport] Add progress bars to milestones public view
2019-01-29 14:12:08 +01:00
Alberto
bd4826b25e
Merge branch 'master' into add_cards_to_custom_pages
2019-01-28 14:49:39 +01:00
Alberto
c297595e49
Merge branch 'master' into add_image_to_legislation_processes
2019-01-28 14:49:19 +01:00
decabeza
78d8e34415
Show following tab on process if there are progress bar
...
Before, this tab only was show if were some milestone
2019-01-24 17:40:09 +01:00
decabeza
b27616eeed
Add styles to milestones progress bars
2019-01-24 17:40:05 +01:00
Javi Martín
1962fcc2a2
Hide locale selector for primary progress bars
...
These progress bars don't have any translatable attributes.
2019-01-24 17:34:55 +01:00
Javi Martín
8c5907a3fb
Add percentage text to progress bars
...
Note we require extra <span> tags because the <progress> tag is an empty
tag (like <img>), and so it can't have ::before or ::after
pseudo-elements. There's a workaround for that, but currently it only
works on Chrome.
For some reason, the text seems to be slightly misaligned vertically in
all implementations I've tried. So the `top: -0.1rem` rule is a hack to
align it properly.
2019-01-24 17:34:04 +01:00
Javi Martín
ce0a93be58
Add styles to milestones progress bars
2019-01-24 17:33:56 +01:00
Javi Martín
e73f3bd97a
Add progress bars to milestones public view
2019-01-24 17:33:34 +01:00
decabeza
7e89cc149f
Replace default map image
2019-01-24 14:52:44 +01:00
Alberto
25b56e84ec
Merge pull request #3196 from consul/refactor_milestones_css
...
[Backport] Refactor milestones css
2019-01-24 12:02:15 +01:00
Manu
b6cfe92d76
fixed banner styles issues
2019-01-21 12:02:27 -05:00
Manu
1e020f4df8
use banners js in new legislative process
2019-01-21 12:02:27 -05:00
Manu
bd4e12112d
Add image to legislation processes and banner colors
2019-01-21 12:02:27 -05:00
Manu
238ddc2595
fixed trailing whitespace hound alert
2019-01-18 09:54:43 -05:00
Manu
142a0403d6
added new scss class 'custom-page'
2019-01-18 09:54:43 -05:00
Javi Martín
fb72fc48fd
Simplify milestones styles for small devices
...
The selector `nth-child(even)` didn't need specific rules, and it's
easier to understand the code for the selector `nth-child(odd)` if all
breakpoints are grouped together.
2019-01-18 14:26:17 +01:00
Javi Martín
46296b702e
Group milestone content CSS rules together
2019-01-18 14:26:11 +01:00
Javi Martín
39c8d431f8
Group milestones timeline li CSS rules together
2019-01-18 14:26:08 +01:00
Javi Martín
cb92d29ddc
Simplify nth-child selectors
...
Using `nth-child(odd), nth-child(even)` is the same as selecting all
the elements.
2019-01-18 14:26:05 +01:00
Javi Martín
51a4ca98ad
Move milestone styles to their own sheet
2019-01-18 14:26:02 +01:00
Javi Martín
789476e6ab
Synchronize percentage for new progress bars
...
According to the HTML specification:
> The default value is the minimum plus half the difference between the
> minimum and the maximum, unless the maximum is less than the minimum,
> in which case the default value is the minimum.
So for new progress bars, we had a numeric value of `nil` and a range
value of `50`, meaning the input fields weren't in sync.
Manually triggering the event on the progress, while not an ideal
solution (ideally we would be able to define `0` as default), sets the
value of the numeric field.
2019-01-18 14:17:53 +01:00
Javi Martín
fff5673ec0
Simplify hiding/showing progress bar type field
...
With a parent element for just input and label, there aren't conflicts
with the globalize tabs code anymore.
2019-01-18 14:17:48 +01:00
decabeza
7c0fb96b02
Adds styles to admin progress bars views
2019-01-18 14:17:40 +01:00
Javi Martín
dfdf0b0636
Hide title field for primary progress bars
...
These bars don't have a title.
2019-01-18 14:17:37 +01:00
Javi Martín
4f25581636
Add progress bar polymorphic views
2019-01-18 14:17:29 +01:00
Anna Anks Nowak
9786b0bf7d
Rewrite sorting to support direction param [ #2931 ]
2019-01-10 15:34:33 +01:00
Anna Anks Nowak
2877229904
Move the link styling to th [ #2931 ]
2019-01-10 15:28:55 +01:00
Anna Anks Nowak
ea3319ae6f
Add sorting links to table headers with proper styling [ #2931 ]
2019-01-10 15:28:55 +01:00
Julian Nicolas Herrero
08a692341a
Merge pull request #3150 from consul/backport-1769-crud_budget_and_usa
...
[Backport] new CRUD budgets, content blocks and heading map
2019-01-09 17:35:46 +01:00
Julian Herrero
c5a7492128
add some improvements on budget headings
...
Show information about longitude and latitude in a budget heading
Show information about custom content in a budget heading
Fix render of map (zoom scrollable and points clickable)
Fix typo in app/models/map_location.rb
2019-01-02 10:46:46 +01:00
Julian Herrero
d2b3943968
improve rendering of map in the sidebar
2019-01-02 10:41:03 +01:00
decabeza
5924a70385
Removes arrow icon on active process phase
2018-12-28 19:39:11 +01:00
decabeza
6b58a71f3f
Shows tabs only on large screens
...
Also moves ::after styles inside breakpoint(large down) to avoid use !important
2018-12-28 18:23:15 +01:00
decabeza
db86f0e7ab
Changes styles to tabs on processes key dates
2018-12-28 18:22:59 +01:00
decabeza
aebd29f7e2
Adds create question button to admin proposals show
2018-12-19 16:08:57 +01:00
Javier Martín
51f72ca812
Merge pull request #3113 from consul/fix_scroll
...
Fix scroll jump voting investments
2018-12-19 12:39:49 +01:00