Skip to content

Commit

Permalink
[#1879] Set ellipsis overflow on long result titles
Browse files Browse the repository at this point in the history
  • Loading branch information
gabemart committed Oct 28, 2015
1 parent aa07a76 commit b68dbad
Show file tree
Hide file tree
Showing 3 changed files with 618 additions and 660 deletions.
33 changes: 20 additions & 13 deletions akvo/rsr/static/styles-src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2049,11 +2049,18 @@ body.translationBarActive div.skiptranslate ~ article, body.translationBarActive
color: #202024; }
.results .sidebar .result-nav.expanded ~ .result-nav:before {
background-color: transparent; }
.results .sidebar .result-nav .result-title .fa {
float: right;
font-size: 1.3em;
margin-right: 6px;
text-shadow: 0 1px 0 white; }
.results .sidebar .result-nav .result-title {
position: relative; }
.results .sidebar .result-nav .result-title .fa {
float: right;
font-size: 1.3em;
margin-right: 6px;
text-shadow: 0 1px 0 white; }
.results .sidebar .result-nav .result-title > span {
max-width: 80%;
display: block;
text-overflow: ellipsis;
overflow: hidden; }
.results .sidebar .result-nav .result-indicator-count {
color: #bcbca6;
margin-top: -10px;
Expand Down Expand Up @@ -2082,8 +2089,8 @@ body.translationBarActive div.skiptranslate ~ article, body.translationBarActive
.results .sidebar .result-nav.expanded .result-nav-full .indicator-nav {
padding: 0.25em 0em 0.75em 0.5em;
/* Transparent border means text doesn't shift when
** we add a colored border to active elements.
*/
** we add a colored border to active elements.
*/
border-left: 4px solid transparent; }
.results .sidebar .result-nav.expanded .result-nav-full .indicator-nav.active {
background-color: #ececec;
Expand Down Expand Up @@ -2232,9 +2239,9 @@ body.translationBarActive div.skiptranslate ~ article, body.translationBarActive
background-color: rgba(0, 0, 0, 0.2); }
.results .indicator-bar-display-container .indicator-bar-progress-container {
/* The progress box has non-zero width, so add some
** padding to ensure it doesn't overflow the parent
** container.
*/
** padding to ensure it doesn't overflow the parent
** container.
*/
position: relative;
height: 100%; }
.results .indicator-bar-display-container .indicator-bar-progress-container .indicator-bar-progress {
Expand Down Expand Up @@ -2310,9 +2317,9 @@ body.translationBarActive div.skiptranslate ~ article, body.translationBarActive
border-right: none; }
.results .update-dialog-container td .update-entry-container .indicator-bar-display-container .indicator-bar-progress-container {
/* The progress box has non-zero width, so add some
** padding to ensure it doesn't overflow the parent
** container.
*/
** padding to ensure it doesn't overflow the parent
** container.
*/
position: relative;
height: 100%; }
.results .update-dialog-container td .update-entry-container .indicator-bar-display-container .indicator-bar-progress-container .indicator-bar-progress {
Expand Down
Loading

0 comments on commit b68dbad

Please sign in to comment.