Commit graph

286 commits

Author SHA1 Message Date
Mario See
6ade962480 connect message spacing fix (#1259)
* style changes

* removed detail already in parent class

* Update chat.scss

width assertions

* mobile
2019-01-10 14:33:25 -05:00
Ben Halpern
ebc859f574
Fix user-select issue in comments (#1502) 2019-01-08 19:38:13 -05:00
Mario See
8bb1716935 connect chat message markdown styling (#1487)
* remove inline markdown rule

* broaden evaluate_inline_markdown

basically same as evaluate_markdown but without class attributes

* remove inline markdown parser

* change code block color and background

* even out code padding top/bottom
2019-01-08 17:48:12 -05:00
Ben Halpern
f626a3a2ad
Modify display and style of API tokens (#1490)
* Modify display and style of API tokens

* Delete accidentally-included slideshare tag
2019-01-08 16:17:00 -05:00
Ben Halpern
7333aa5436
Fix comment creation (#1495) 2019-01-08 14:29:49 -05:00
Ben Halpern
7c8f71251d
Add details to toggles and modify some styling (#1484)
* Add details to toggles and modify some styling

* Add details to child comments

* Finalize comment collapse in nested comments

* Modify styling on comment <details>
2019-01-08 12:53:48 -05:00
Timothy Ng
84bd3a69d7 ApiSecret model for Developer API (#1369)
* Add ApiSecret model scaffold

* Add relationships between ApiSecret, User, Organization

* Add placeholder template to account tab

* Add description column to ApiSecrets

* Add very basic access token generation

* Add basic access token deletion

* Show access token on success flash

* Add placeholder message when user has no secrets

* Use cta style on token generation button

* Add presence validation for ApiSecret description

* Add ApiSecrets factory

* Add pundit policy for ApiSecret

* Nest form field within api_secret hash to allow rails strong params

* Use pundit to authorize ApiSecretController actions

* Add error message flash for ApiSecretsController actions

* Add specs for ApiSecretsController

* Add length validation to api secret description

* Flash model error instead of generic message on save failure

* Truncate ApiSecret factory objects descriptions to prevent validation error

* Remove length restriction on ApiSecret.description

* Use darker font color for token creation date

* Consolidate ApiSecret migrations
2019-01-08 12:30:54 -05:00
Andrew Bone
9ea53d5669 Add --theme-container-color (#1479)
* Add --theme-container-color

Add --theme-container-color for theming all containing elements

* Add --theme-container-color

Add --theme-container-color for theming all containing elements

* Add --theme-container-color

Add --theme-container-color for theming all containing elements

* Add --theme-container-color

Add --theme-container-color for theming all containing elements

* Add --theme-container-color

Add --theme-container-color for theming all containing elements

* Add --theme-container-color

Add --theme-container-color for theming all containing elements

* Add --theme-container-color

Add --theme-container-color for theming all containing elements
2019-01-07 15:56:01 -05:00
Andrew Bone
abc8aaf793 Missed --theme-container-border (#1480)
* Missed --theme-container-border

Adding --theme-container-border for missed elements

* Missed --theme-container-border

Adding --theme-container-border for missed elements

* Missed --theme-container-border

Adding --theme-container-border for missed elements
2019-01-07 11:27:02 -05:00
Andrew Bone
8cccc03b9a Add --theme-container-box-shadow places missed (#1420)
* Add --theme-container-box-shadow to footer

Add the --theme-container-box-shadow variable to the footer box shadow

* Add --theme-container-box-shadow to dashboard-analytics-header-wrapper

Add the --theme-container-box-shadow variable to the dashboard-analytics-header-wrapper

* Add --theme-container-box-shadow to query

Add the --theme-container-box-shadow variables to the no results query page

* Add --theme-container-box-shadow to widgets

Add the --theme-container-box-shadow variables to widgets
2019-01-06 15:15:38 -05:00
Andrew Bone
6b4b8b9c6a Add --theme-container-border (#1421)
* Add --theme-container-border

Add the --theme-container-border variable for styling.

* Add --theme-container-border

Add the --theme-container-border variable for styling.

* Add --theme-container-border

Add the --theme-container-border variable for styling.

* Add --theme-container-border

Add the --theme-container-border variable for styling.
2019-01-04 20:37:53 -05:00
Mac Siri
8e50e58844 Add list-style to Widget (#1448)
* Add list

* Remove retry
2019-01-04 17:48:12 -05:00
Ben Halpern
c6644f9e97
Create tag liquid tag (#1417)
* Create tag liquid tag

* Add tag embed to editor guide
2018-12-29 12:12:18 -05:00
Andrew Bone
9e18264f9f Add --theme-container-box-shadow (#1403)
* Add --theme-container-box-shadow

Box-shadow settings for articles and nav-elements

* Add --theme-container-box-shadow

Box-shadow settings for articles and nav-elements

* Add --theme-container-box-shadow

Box-shadow settings for articles and nav-elements

* Add --theme-container-box-shadow

Box-shadow settings for articles and nav-elements

* Add --theme-container-box-shadow

Box-shadow settings for articles and nav-elements

* Add --theme-container-box-shadow

Box-shadow settings for articles and nav-elements

* Add --theme-container-box-shadow

Box-shadow settings for articles and nav-elements

* Add --theme-container-box-shadow

Box-shadow settings for articles and nav-elements

* Add --theme-container-box-shadow

Box-shadow settings for articles and nav-elements
2018-12-26 16:54:15 -05:00
Andrew Bone
e7770ac6ec Add --theme-background to new post page (#1402)
The background colour tag is different, by default, on the new post page so I missed it on my initial sweep
2018-12-26 16:53:25 -05:00
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