Commit Graph

2059 Commits

Author SHA1 Message Date
Georg Gadinger c724cecf57 refresh repositories before installing dependencies 2020-05-08 15:54:43 +02:00
Andreas Nedbal c76f839ea7 Fixed announcement JavaScript functionality 2020-05-07 20:36:14 +02:00
Andreas Nedbal 8a8c2667de Adjust theme settings page layout
- Moved color section to come right after General
- Adjusted buttons for light/dark preview to not trigger form submit
2020-05-07 20:28:20 +02:00
Andreas Nedbal 57505b0812 Add hex color spec for pure blue 2020-05-07 20:19:00 +02:00
Andreas Nedbal f11431279d Fix header image not being centered 2020-05-07 19:53:40 +02:00
Andreas Nedbal 6e51294eca Adjust announcement index page design 2020-05-07 19:49:39 +02:00
Andreas Nedbal a9344f63a6 Override Bootstrap alert-link styling for CSS variables 2020-05-07 19:30:32 +02:00
Andreas Nedbal 5d63d0ba27 Update announcement styling and adjust announcement views 2020-05-07 19:30:13 +02:00
Andreas Nedbal 501a2cce42 Replace bootstrap3-datetimepicker with a BS4 equivalent 2020-05-07 19:29:12 +02:00
Andreas Nedbal 1cc49cf03c Adjust warning-text default theme value 2020-05-07 19:28:26 +02:00
Andreas Nedbal 633f69c163 Fix about page icon styles 2020-05-07 15:09:55 +02:00
Andreas Nedbal d607a8790b Fix styling of new inbox entries 2020-05-07 15:01:35 +02:00
Andreas Nedbal 0c0b8eaf16 Remove log statement from theme code 2020-05-07 03:56:11 +02:00
Andreas Nedbal 787ec882c4 Fix answerbox text layout on mobile 2020-05-07 03:46:44 +02:00
Andreas Nedbal 7c8809ce14 Remove iOS button style from dropdown toggle 2020-05-07 03:43:13 +02:00
Andreas Nedbal a3d302586d Remove border-radius from jumbotrons 2020-05-07 03:39:02 +02:00
Andreas Nedbal 207769d164 Fix layout of profile header in profile settings 2020-05-07 02:30:50 +02:00
Andreas Nedbal 3a4b04b5da Don't track theme style tags with turbolinks 2020-05-07 02:13:07 +02:00
Andreas Nedbal 12955cc663 Fix design of user and questionboxes 2020-05-07 02:12:44 +02:00
Andreas Nedbal b443aff964 Fix moderation comment layout 2020-05-06 22:54:36 +02:00
Andreas Nedbal c75c86e16c Add focus and active override styles 2020-05-06 22:48:07 +02:00
Andreas Nedbal 771e09133c Add active styling for buttons 2020-05-06 22:35:33 +02:00
Andreas Nedbal c261c85e22 Fix outline button styles 2020-05-06 22:24:56 +02:00
Andreas Nedbal e4561862e5 Adjust frontpage text to match master version 2020-05-06 22:22:16 +02:00
Andreas Nedbal 928eeb28f3 Redirect user to edit_user_theme_path after deletion 2020-05-06 22:19:30 +02:00
Andreas Nedbal 83f51b6422 Add new styling for Devise views 2020-05-06 21:56:10 +02:00
Andreas Nedbal 6c54f8b79f Adjust image spacing in profile settings 2020-05-06 21:29:06 +02:00
Andreas Nedbal f4da2b84c6 Improve styling of minicolors swatch 2020-05-06 21:19:49 +02:00
Andreas Nedbal 65e66003ee Fix theme deletion not working 2020-05-06 18:51:06 +02:00
Andreas Nedbal f8448405a4 Remove empty Helper classes 2020-05-06 18:42:53 +02:00
Andreas Nedbal f6ca2176d3 Remove arctic_scroll 2020-05-06 18:13:51 +02:00
Andreas Nedbal e1c1357d9b Fix missing arguments on current_page? 2020-05-06 14:49:35 +02:00
Andreas Nedbal d5d5c5eb19 make sprockets cache definition development-only 2020-05-06 14:31:27 +02:00
Andreas Nedbal 9961796e3b Apply review suggestion for navigation tag helpers 2020-05-06 14:30:12 +02:00
Andreas Nedbal 859d2825d1 Remove mention of shutdown from export page 2020-05-06 14:23:11 +02:00
Andreas Nedbal 689dd3880f Adjust texts in tabs/feed template 2020-05-06 13:56:09 +02:00
Andreas Nedbal 47e5675d84 Remove superfluous database migration 2020-05-06 13:53:43 +02:00
Andreas Nedbal b16e1c1b58 Turn UpdateThemeFields into an IrreversibleMigration 2020-05-06 13:53:01 +02:00
Andreas Nedbal 4044696a8a Add specs for `ThemeHelper#render_theme` 2020-05-06 13:48:16 +02:00
Andreas Nedbal ec998686ff Add non-ffffff test for `ThemeHelper#get_hex_color_from_theme_value` 2020-05-06 13:37:26 +02:00
Andreas Nedbal 892b708c6f Implement changes to ThemeHelper requested by review
- turned theme_attribute_map into frozen constant ATTRIBUTE_MAP
- early return if no theme exists, instead of if-block
- usage of Hash#key? instead Hash[k] to confirm existence of key in hash
- Early skip/next if key is not present in Hash instead of if-block
2020-05-06 13:36:43 +02:00
Andreas Nedbal d9f67e86d9 Fix get_active_theme to return proper theme for user 2020-05-05 20:17:49 +02:00
Andreas Nedbal b7b2adde44 Add specs for ThemeHelper 2020-05-05 20:17:29 +02:00
Andreas Nedbal c142920c6c Adjust answerbox layout on mobile 2020-05-05 05:04:54 +02:00
Andreas Nedbal 0bc4a5b968 Fix hidespan helper using not existing Bootstrap class 2020-05-05 05:04:43 +02:00
Andreas Nedbal 22ae1f6655 Adjust navigation layout on main feed pages 2020-05-05 04:31:15 +02:00
Andreas Nedbal aa25e8199f Remove old theme styling file 2020-05-05 03:27:56 +02:00
Andreas Nedbal 83cebe4d9b Fix theme preview not applying
This happens because the generated "preview style tag" is added before the main style one. This change makes sure the theme is rendered right after the application style
2020-05-05 02:03:49 +02:00
Andreas Nedbal 9d5d205ded Fix muted text variant not overriding Bootstrap default 2020-05-05 02:02:49 +02:00
Andreas Nedbal 04c4e4c7f1 Add variables for light/dark color variants 2020-05-05 02:02:33 +02:00