• Omid Tourzan's avatar
    [Files.app]: Add GM2 banners for files-ng. · d0cbcbc8
    Omid Tourzan authored
    The drive long welcome banner is removed and the new GM2 looks applied
    to drive welcome banner and drive and download warning banners.
    
    Also Dismiss buttons changed from X to text buttons.
    
    Modified cr-button is used for text buttons. cr-button provides most of
    the text button styles, specially ripple (inkdrop) effect.
    
    The changed css classes duplicated for existing UI and
    files-ng with body:not(.files-ng) and body.files-ng prefixes
    respectively.
    
    The icon/logo changed to svg version.
    
    rtl/ltr direction tested. It's supported in this CL by using flex
    system and inline start/ends rules while the non-filesng uses dir
    attribute and absolution positioning. It helps to reduce the complexity
    by using one set of rules for both directions.
    
    For files-ng clean up:
    - js: can be caught where isFilesNG() method used
    - css: body:not(.files-ng)
    - Other: ToDos added in string resource files
    
    Bug: 1002400
    Change-Id: Icc04ff6193d164e677d6d39294152ec440c73e48
    
    Patchset 10:
    - Fix class of welcome banner in non-filesng mode.
    - Update outline rule to comply percentage convention.
    
    Change-Id: Icc04ff6193d164e677d6d39294152ec440c73e48
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2148917
    Commit-Queue: Noel Gordon <noel@chromium.org>
    Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
    Reviewed-by: default avatarAlex Danilo <adanilo@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#762016}
    d0cbcbc8
file_manager_strings.grdp 94.4 KB