Commit graph

271 commits

Author SHA1 Message Date
Some-Dood
f06225bd2f Fix flashing cursor when hovering over .wide-nav-links (#1404) 2018-12-26 13:19:29 -05:00
Andrew Bone
b920a68f04 Adding --theme-color (#1387)
Adding `--theme-color` to change the colour of the text in the body
2018-12-24 09:58:57 -05:00
Andrew Bone
1f5bc148e0 Add --theme-background to comments page (#1386)
The background colour tag is different, by default, on the comment page so I missed it on my initial sweep
2018-12-24 09:58:48 -05:00
Andrew Bone
724ae7a106 Added --theme-top-bar-write-* (#1388)
* Added --theme-top-bar-write-*

Adding both --theme-top-bar-write-color and --theme-top-bar-write-background to change the text/border colour and background colour of the write a post button.

* add --theme-top-bar-write-color to border

Added --theme-top-bar-write-color to border

* Revert theme changes

* Limit changes to write button

Styles were leaking but are now contained
2018-12-24 09:40:33 -05:00
Andrew Bone
7a5239efc1 CSS Variables: Support for IE (#1385)
* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.

* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.

* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.

* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.

* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.

* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.

* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.
2018-12-24 09:05:21 -05:00
Some-Dood
3c3c40b9f5 Fix wrong cursor pointer of search query filter buttons on hover (#1394)
* Fix wrong cursor pointer on hover

This commit changes the cursor to a pointer when the mouse hovers over one of the search query filter buttons.

* Moved rule outside the hover block to be consistent with the coding style
2018-12-24 09:04:08 -05:00
Andrew Bone
71ed1d40bc Adding --theme-top-bar-color (#1373)
Adding `--theme-top-bar-color` to change the colour of the text in the nav bar
Currently, this only changes the colours of the icons fill.
2018-12-20 16:40:06 -05:00
Ben Halpern
0aeb579547
Remove Facebook pixel (#1380) 2018-12-20 14:25:07 -05:00
Andrew Bone
3feccdc852 Add --theme-background to notifications page (#1374)
The background colour is different, by default, on the notification page so I missed it on my initial sweep.
2018-12-20 12:51:23 -05:00
Andrew Bone
6c88857865 Adding --theme-top-bar-search-* (#1375)
* Adding --theme-top-bar-search-*

Adding both --theme-top-bar-search-color and --theme-top-bar-search-background to change the colour and background colour of the search box.

* Changes to placeholder and input

Placeholder opacity down to 0.5 to appear faded
Placeholder default colour set to system black

Input text colour can now be set with `--theme-top-bar-search-color` too
2018-12-20 12:50:58 -05:00
Ashwin Vaswani
fbdd80d5fc Add headings to header tags (#1003)
* updating all headers to have h* tags, or changing elements

* Remove commented out binding.pry

* Remove unused page

* Use article instead of div for consistency

* Update snapshot with new section tag

* Use h4 tags again for new views
2018-12-19 16:47:44 -05:00
Ben Halpern
bbbfe6af51
Add haptic feedback where it was missing (#1367) 2018-12-19 16:24:12 -05:00
Andrew Bone
67ee564730 Beginning of css variable implementation (--theme-background) (#1306)
* Beginning of css variable implimentation

Added --theme-background leaving the default the same.
This will make no, visible, change to the styles currently.

* Beginning of css variable implimentation

Added --theme-background leaving the default the same.
This will make no, visible, change to the styles currently.

* Beginning of css variable implimentation

Added --theme-background leaving the default the same.
This will make no, visible, change to the styles currently.

* Beginning of css variable implimentation

Added --theme-background leaving the default the same.
This will make no, visible, change to the styles currently.

* Beginning of css variable implimentation

Added --theme-background leaving the default the same.
This will make no, visible, change to the styles currently.

* Beginning of css variable implimentation

Added --theme-background leaving the default the same.
This will make no, visible, change to the styles currently.
2018-12-19 10:16:30 -05:00
Chinmay Joshi
d39d44ac07 css fix for mixed looking text while rendering articles (#502) 2018-12-15 13:18:01 -05:00
Andrew Bone
db55f871d4 Beginning of css variable implementation (#1307)
Added --theme-top-bar-background leaving the default the same.
This will make no, visible, change to the styles currently.
2018-12-15 12:48:28 -05:00
Richard Kichenama
4b8dffb4c9 Iterate on Night Theme (#1303)
*  implement night theme through css filters

* 🐛 and video

* ♻️ simplify selector

* ♻️ finer targeting and untouched graphics

* 🐛 keep it in the theme

* ♻️ remove styling for 3x inverted elements
2018-12-15 12:46:34 -05:00
Ben Halpern
9b299569cb
Modify style on show page cta (#1324) 2018-12-13 14:23:18 -05:00
Ben Halpern
14bba5e4d5
Adjust button style/placement on desktop (#1288)
* Adjust button style/placement on desktop

* Change opacity on side comments

* Adjust css for side article actions

* Adjust opacity

* Adjust opacity

* Adjust opacity

* Fix test language

* Remove opacity deal
2018-12-11 13:08:43 -05:00
Anant Jain
6bb87b25b2 Fixes #1298: Overflowing User Bio in article sidebar. (#1300) 2018-12-10 18:51:11 -05:00
Mark Frost
bb5a999a91 [#339] fixed broken markup on /readinglist page (#435) 2018-12-10 13:23:38 -05:00
rhymes
96d01b20a2 Use allow/allowed instead of whitelist (#1296)
* Use allow/allowed instead of whitelist

* Remove duplication in comment
2018-12-10 13:16:16 -05:00
Ben Halpern
c3d5220767
Add haptic message for iOS feedback (#1287) 2018-12-09 12:30:14 -05:00
Andrew Bone
bfa6622486 Darken cta-button (#1281)
Darken cta-button to bring contrast up to 7
The new colour value is `#1b4bcb`
2018-12-09 11:17:38 -05:00
Andrew Bone
d387f1a35f Add alt attributes for landing page images (#1272)
* Add alt tag

`alt` tag is blank at @Zhao-Andy's request

* Added alt tag

`alt` tag is blank at @Zhao-Andy's request

* Added alt tag

Added `alt` tag for a11y compliance
2018-12-07 12:24:33 -05:00
Ben Halpern
20c237d1be
Fix css z-index style bug on series indicator (#1265) 2018-12-05 15:12:25 -05:00
Andy Zhao
bfcc40779a Remove some unnecessary CSS (#1263) 2018-12-05 10:39:21 -05:00
Rozie
37fc82c409 change save button background (#1261) 2018-12-05 09:56:20 -05:00
Andrew Bone
aefec87214 Shrink bookmark icon for smaller devices (#1237)
Make the bookmark icon just slightly larger than the font size
2018-12-04 15:30:52 -05:00
Michael Kohl
ffd24f791e Add Mastodon URL to profile (#1137) 2018-12-04 13:24:53 -05:00
Richard Kichenama
7d79b29b6c Night/Dark mode (#1104)
*  implement night theme through css filters

* 🐛 and video

* ♻️ simplify selector
2018-12-04 13:23:25 -05:00
Ty Hopp
39fc832801 Adjust gist embed styles for readability on mobile browsers (#1251)
* Adjust gist embed styles for readability on mobile browsers

* Remove gist embed css from articles.scss

* Add gist embed css to correct gist tag scss file
2018-12-04 08:53:24 -05:00
Brett Stevenson
57f2e40379 Modify user settings notification styling (#994) 2018-12-03 19:38:22 -05:00
Mario See
8b05f6b45b connect channel details (#1247)
* update channelDetails, its test, and snapshots

* spacing

* spacing

* spacing

* label spacing

* label spacing

* label spacing

* snapshot update

* refactor implementation

* spacing fix

* styling and small changes

channelDetails
- added small profile image to channel users
- moved "Recently Active Members" below the channel description and above the channel users

Styling
- mostly in relation to channelDetails
- Leave Channel area styled similar to deleting account (lots of red)
- created connect folder in stylesheets where _channel-detials.scss is located
- chat.scss imports _channel-details.scss

* spacing

* update testing and snapshots

* fixed functionality, tests and styling

* leave button update

* show message for empty group

* limit users in channel and show message for empty group

* remove extra period

* change limit from 12 to 11

* show members header

* hide members h3
2018-12-03 19:29:38 -05:00
Mario See
1ba9c98c5a connect channel invites (#1201)
* update channelDetails, its test, and snapshots

* spacing

* spacing

* spacing

* label spacing

* label spacing

* label spacing

* snapshot update

* refactor implementation

* spacing fix

* styling and small changes

channelDetails
- added small profile image to channel users
- moved "Recently Active Members" below the channel description and above the channel users

Styling
- mostly in relation to channelDetails
- Leave Channel area styled similar to deleting account (lots of red)
- created connect folder in stylesheets where _channel-detials.scss is located
- chat.scss imports _channel-details.scss

* spacing

* update testing and snapshots

* fixed functionality, tests and styling

* leave button update
2018-12-03 13:05:29 -05:00
Ben Halpern
f400b42e38
Add anti-follow language (#1233) 2018-11-30 18:08:51 -05:00
Ben Halpern
651ab3ce35
Add point weights for tag follows (#1229)
* Add point weights for tag follows

* Adjust num articles to initially show up on home page

* Fix schema.rb

* Adjust follow policy spec

* Adjust dashboard styling for follow points form
2018-11-30 15:36:58 -05:00
Ben Halpern
b51042f035
Fix readinglist issue (#1231) 2018-11-30 15:36:20 -05:00
Andrew Bone
f13d9e01a8 Move menu background down 8 pixels (#1227)
Fix for issues #1160 and #1213
2018-11-30 15:26:10 -05:00
Andy Zhao
74e63e2aa4 Add Support Chrome and other browsers for anchor jumps (#1217)
* Support Chrome and other browsers

* Make title div always above article body

* Only show margin when figcaption is used below markdown
2018-11-28 18:37:03 -05:00
Mike Chen
7ce311834f Fix errant scroll behavior on /new when using keyboard scrolling (#1203)
Disable textarea resize and window scroll method when doing anything
that does not actually modify the textarea contents (e.g. arrow keys,
pgup/pgdn).

Fixes #1109
2018-11-28 14:57:21 -05:00
Ben Halpern
db6232adf3
Add initial ios push notifications to server (#1207)
* Add initial push notification logic for iOS

* Adjust notification form css

* Clean up schema.rb

* Add mark-all-as-read functionality for ios notifications

* Update app/models/notification.rb

Fix `find` to `find_by`

Co-Authored-By: benhalpern <bendhalpern@gmail.com>
2018-11-27 17:40:43 -05:00
Ben Halpern
73b1616bb5
Fix notification pagination reaction issue (#1181) 2018-11-22 12:48:54 -05:00
Ben Halpern
eccee11106
Initial basic paginionation-ish for notifications (#1175) 2018-11-21 20:03:56 -05:00
Ben Halpern
86c60307d2
Small notification update (#1169)
* Small notification update

* Rescue errors in notifications
2018-11-20 20:03:55 -05:00
Gabriel Lebec
1e2749be24 feat(markdown): add ids to headers (#713)
* feat(markdown): add anchors for headers

* Fix markdown anchors impl and spec

* Fixes tests for markdown anchors

* Use name for anchors instead of IDs

* Fix approval file

* Remove emojis in links and hyphenate only spaces
2018-11-20 18:17:07 -05:00
Ben Halpern
5ee5c931fc
Fix small details in notification results and add filtering (#1166)
* Fix small details in notification results and add filtering

* Adjust filter styling

* Fix filtering

* Add reaction render to comments
2018-11-20 18:00:11 -05:00
Ben Halpern
b2d46fed65
Lessen amount of notifications queried slightly to improve performance (#1159)
* Lessen amount of notifications queried slightly to improve performance

* Guard for last_user_reaction
2018-11-19 20:36:35 -05:00
Andy Zhao
a1010201f2 Notifications part 2 (#1156)
* Remove stream and add new notification views

* Actually remove Stream

* Move followers query to async method

* Remove unused tests and fix query

* Try using without delay instead

* Add without delay and escape HTML

* Make all tests pending for now
2018-11-19 18:14:24 -05:00
Alex B
ca72083019 Added retina compatible favicon #1116 (#1139) 2018-11-19 09:41:10 -05:00
Anna Buyanova
deb7e794a6 Fixes #708 the reading list pagination (#1149) 2018-11-19 09:09:10 -05:00