canvas-lms/app/stylesheets/components
Ed Schiebel 8b5027dc1a Add download icon to RCE file links
closes: ls-1743
flag="rce_better_file_downloading"

test plan:
  - turn on the "RCE Better File Downloading" flag
  - in the RCE add a course or user file link
  - add another, but check the "disable in-line preview" checkbox
    in link options
  - add another , but check "Automatically open" checkbox in
    link options
  - save
  > expect a download button next to each file
  > expect the preview button next to the first file
  > expect no preveiw button next to the next file
  > expect the last file to have its preview open
  - click the download button
  > expect the file to be downloaded
  - click the link
  > expect the file to be opened in a new tab/window

  - turn off the flag and expect all the above to be true,
    but there's no download button

Change-Id: Ia93b0bd751b9051fbb6b0bd4fed713ccd6a9a0de
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/257910
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Nate Armstrong <narmstrong@instructure.com>
QA-Review: Nate Armstrong <narmstrong@instructure.com>
Product-Review: Peyton Craighill <pcraighill@instructure.com>
2021-02-05 16:31:56 +00:00
..
deprecated move ui-listview out of common into the one page that uses it 2019-04-11 20:51:45 +00:00
_MimeClassIcons.scss da licença part 54 2017-05-10 17:05:54 +00:00
_ProgressBar.scss The Bulk of the RTL CSS changes 2018-03-21 21:10:00 +00:00
_aacs.scss refactor saml debugging 2018-09-29 04:27:17 +00:00
_admin_links.scss Make publish button focus on modules look better 2020-07-09 16:23:45 +00:00
_alerts.scss Remove broken/obsolete content from styleguide 2020-05-15 17:47:09 +00:00
_alignment.scss The Bulk of the RTL CSS changes 2018-03-21 21:10:00 +00:00
_announcement-rss-tray.scss Add Ability To View and Delete RSS Feeds to Announcements 2018-01-19 16:10:02 +00:00
_autocomplete.scss Remove broken/obsolete content from styleguide 2020-05-15 17:47:09 +00:00
_avatars.scss Admin Tools - avatar image overlaps the surrounding border 2017-09-15 14:05:26 +00:00
_borders.scss Remove broken/obsolete content from styleguide 2020-05-15 17:47:09 +00:00
_breadcrumbs.scss The Bulk of the RTL CSS changes 2018-03-21 21:10:00 +00:00
_broken-images.scss Add border around alt text for broken images 2017-10-20 15:59:03 +00:00
_buttons.scss Add focus indication to buttons on modules page 2020-07-07 14:29:52 +00:00
_canvas-icons.scss Remove broken/obsolete content from styleguide 2020-05-15 17:47:09 +00:00
_carousel.scss restyle some parts of grade detail tray to match design 2017-10-02 21:20:09 +00:00
_centered-block.scss The Bulk of the RTL CSS changes 2018-03-21 21:10:00 +00:00
_components.scss remove obsolete course sidebar look and feel 2019-10-31 01:33:14 +00:00
_conditional_release.scss da licença part 54 2017-05-10 17:05:54 +00:00
_conditional_release_stats.scss fix mastery path tray width 2018-09-19 15:10:18 +00:00
_context_search.scss fix "Edit Sections" with expanded text 2019-01-03 20:25:23 +00:00
_element-toggler.scss Remove broken/obsolete content from styleguide 2020-05-15 17:47:09 +00:00
_empty-state.scss Convert $ic-link-color to CSS variable 2017-08-17 20:43:31 +00:00
_external_link.scss da licença part 54 2017-05-10 17:05:54 +00:00
_flickrSearch.scss migrate course card search towards using Unsplash 2019-05-14 18:11:54 +00:00
_forms.scss make assignments index modals responsive to 320px 2020-08-12 19:39:32 +00:00
_g_assignments.scss Rtl: handle borders 2018-10-17 19:12:08 +00:00
_g_collaborations.scss stylelint: shorthand-property-no-redundant-values 2018-08-31 18:48:46 +00:00
_g_conference.scss da licença part 54 2017-05-10 17:05:54 +00:00
_g_context_modules.scss add ability to add NQ from modules 2021-01-26 15:54:30 +00:00
_g_groups.scss Make sure long group names dont overflow in student view 2019-05-17 20:48:15 +00:00
_g_instructure.scss Add download icon to RCE file links 2021-02-05 16:31:56 +00:00
_g_media_comments.scss Fix too small model for media recorder 2019-01-03 17:58:13 +00:00
_g_mini_calendar.scss The Bulk of the RTL CSS changes 2018-03-21 21:10:00 +00:00
_g_rubrics.scss rtl: always use direction helpers 2018-10-17 19:11:47 +00:00
_g_wiki.scss Make long course name wrap on home view 2020-10-14 15:26:33 +00:00
_grade_detail_tray.scss restyle some parts of grade detail tray to match design 2017-10-02 21:20:09 +00:00
_gutters.scss da licença part 54 2017-05-10 17:05:54 +00:00
_header_bar.scss Make calendar header responsive 2020-08-18 16:23:35 +00:00
_helpDialog.scss rtl: use direction-sides for 4 val padding/margin 2018-10-17 15:33:23 +00:00
_ic-badge.scss Remove broken/obsolete content from styleguide 2020-05-15 17:47:09 +00:00
_ic-code.scss Move code/pre styles out of Bootstrap Sass dir 2017-09-06 19:54:05 +00:00
_ic-color-picker.scss rtl: always use direction helpers 2018-10-17 19:11:47 +00:00
_ic-content-rows.scss Remove one of the links on the announcement body 2020-07-08 20:22:13 +00:00
_ic-expand-link.scss Remove broken/obsolete content from styleguide 2020-05-15 17:47:09 +00:00
_ic-forms.scss fix spacing for 320 px on grading periods and schemes 2020-09-22 14:46:52 +00:00
_ic-icon-header.scss Remove broken/obsolete content from styleguide 2020-05-15 17:47:09 +00:00
_ic-image-text-combo.scss Remove broken/obsolete content from styleguide 2020-05-15 17:47:09 +00:00
_ic-range-input.scss The Bulk of the RTL CSS changes 2018-03-21 21:10:00 +00:00
_ic-reset.scss Revert "Decrease specificity of a css selector from our reset" 2019-05-11 19:34:04 +00:00
_ic-sortable-list.scss Rtl: handle borders 2018-10-17 19:12:08 +00:00
_ic-super-toggle.scss Remove broken/obsolete content from styleguide 2020-05-15 17:47:09 +00:00
_ic-theme-card.scss Fix keyboard interaction for deleting theme 2019-03-26 17:30:34 +00:00
_ic-typography.scss [node12] upgrade node-sass 2020-12-02 18:54:32 +00:00
_ic-unread-badge.scss Fix tab sequence in discussionrow. 2018-05-07 22:02:57 +00:00
_imageSearch.scss remove uses of whitelist and blacklist 2020-09-18 15:58:40 +00:00
_inst_tree.scss rtl: use direction-sides for 4 val padding/margin 2018-10-17 15:33:23 +00:00
_item-groups-condensed.scss Add CSS to wrap module headers 2020-08-13 15:08:31 +00:00
_item-groups.scss Remove broken/obsolete content from styleguide 2020-05-15 17:47:09 +00:00
_lock-state.scss Make child course lock icons grey 2017-09-07 16:34:26 +00:00
_master-course-state.scss convert most theme sass variables to css variables 2017-07-28 22:24:58 +00:00
_message_students.scss da licença part 54 2017-05-10 17:05:54 +00:00
_misc.scss Math equation handling tweaks 2021-02-03 14:09:33 +00:00
_new-and-total-badge.scss Some more automated RTL css fixes 2018-04-03 20:24:39 +00:00
_pill.scss Remove broken/obsolete content from styleguide 2020-05-15 17:47:09 +00:00
_post-to-sis-state.scss The Bulk of the RTL CSS changes 2018-03-21 21:10:00 +00:00
_publish-state.scss Make publish button focus on modules look better 2020-07-09 16:23:45 +00:00
_react_modal.scss Rtl: handle borders 2018-10-17 19:12:08 +00:00
_rubric.scss Fix up rest of InstUI <Table> to comply with InstUI 7.0 2020-08-17 16:01:32 +00:00
_show_hide_opacity.scss fix responsive wiki page header 2020-09-21 22:01:07 +00:00
_spacing.scss Adjust styling in group creation modal 2020-09-01 20:15:05 +00:00
_spinner.scss Fix weird loading spinner ax spinning on assignments page 2018-07-19 20:33:26 +00:00
_tables.scss fix dropdown styling in course pages, people tab 2021-01-28 18:27:57 +00:00
_tabs.scss Remove broken/obsolete content from styleguide 2020-05-15 17:47:09 +00:00
_token_input.scss Remove max height on token input combo box 2020-03-11 16:57:10 +00:00
_token_selector.scss The Bulk of the RTL CSS changes 2018-03-21 21:10:00 +00:00
_typography.scss fix(styleguide) remove reference to 'cosby' within headings 2019-02-28 16:54:11 +00:00
_ui.selectmenu.scss Rtl: handle borders 2018-10-17 19:12:08 +00:00
_webcam_modal.scss Use webcam to submit photo 2021-02-03 14:56:47 +00:00