1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-20 02:38:39 +01:00
phorge-phorge/webroot/rsrc/css/application/pholio/pholio-inline-comments.css
epriestley dcf3b4d322 Reduce Pholio brokenness for non-image files
Summary:
Ref T5359. When users upload non-image file types (PDFs, text files, whatever), Pholio currently chokes in a few places. Make most of these behaviors more reasonable:

  - Provide thumbs in the required sizes.
  - Predict the thumb size of these files correctly.
  - Disable inline comments.
  - Make "View Fullsize" and "Download" into buttons. These mostly-work. Download should probaly really download, but CSRF on forms is a bit of a pain right now.

Test Plan: See screenshots.

Reviewers: chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T5359

Differential Revision: https://secure.phabricator.com/D9548
2014-06-15 08:03:04 -07:00

29 lines
554 B
CSS

/**
* @provides pholio-inline-comments-css
*/
.pholio-inline-comment {
margin: 0 0 4px 0;
padding: 8px;
}
.pholio-mock-inline-comments {
background: #fff;
border-top: 1px solid {$thinblueborder};
text-align: left;
overflow: hidden;
}
.pholio-mock-inline-comments a {
font-weight: normal;
color: {$sky};
}
.device-desktop .pholio-mock-inline-comment-highlight.pholio-mock-select-fill {
opacity: 0.5;
}
.device-desktop .pholio-mock-inline-comment-highlight.pholio-inline-comment {
background: #555555;
border-color: #aaaaaa;
}