Skip to content

Commit

Permalink
Fixed UI issues on Essay board page.
Browse files Browse the repository at this point in the history
  • Loading branch information
revagomes committed Apr 2, 2018
1 parent 311a0e5 commit 096c4f2
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 3 deletions.
42 changes: 39 additions & 3 deletions profiles/pece/themes/pece_scholarly_lite/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -443,13 +443,13 @@ input[type="button"].btn-block {
color: white;
opacity: 0.8; }

.field-name-field-pece-tags, .view-display-id-pece_user_artifact_annotations > .view-content > .views-row .views-field-field-pece-struct-analytics .field-content .item-list, .view-display-id-pece_question_annotations .field-name-field-pece-struct-analytics,
.field-name-field-pece-tags, .biblio-alpha-line, .view-display-id-pece_user_artifact_annotations > .view-content > .views-row .views-field-field-pece-struct-analytics .field-content .item-list, .view-display-id-pece_question_annotations .field-name-field-pece-struct-analytics,
.view-display-id-pece_question_artifact_annotions .field-name-field-pece-struct-analytics, .pane-node-field-pece-struct-analytics, .view-display-id-pece_user_artifact_annotations .views-field-field-pece-tags-1 .field-content,
.view-display-id-pece_question_artifact_annotions .views-field-field-pece-tags-1 .field-content,
.view-display-id-pece_question_annotations .views-field-field-pece-tags-1 .field-content {
display: inline;
margin-right: 2px; }
.field-name-field-pece-tags a, .view-display-id-pece_user_artifact_annotations > .view-content > .views-row .views-field-field-pece-struct-analytics .field-content .item-list a, .view-display-id-pece_question_annotations .field-name-field-pece-struct-analytics a,
.field-name-field-pece-tags a, .biblio-alpha-line a, .view-display-id-pece_user_artifact_annotations > .view-content > .views-row .views-field-field-pece-struct-analytics .field-content .item-list a, .view-display-id-pece_question_annotations .field-name-field-pece-struct-analytics a,
.view-display-id-pece_question_artifact_annotions .field-name-field-pece-struct-analytics a, .pane-node-field-pece-struct-analytics a, .view-display-id-pece_user_artifact_annotations .views-field-field-pece-tags-1 .field-content a,
.view-display-id-pece_question_artifact_annotions .views-field-field-pece-tags-1 .field-content a,
.view-display-id-pece_question_annotations .views-field-field-pece-tags-1 .field-content a {
Expand All @@ -462,7 +462,7 @@ input[type="button"].btn-block {
display: inline-block;
margin: 3px 0;
transition: linear .3s; }
.field-name-field-pece-tags a:hover, .view-display-id-pece_user_artifact_annotations > .view-content > .views-row .views-field-field-pece-struct-analytics .field-content .item-list a:hover, .view-display-id-pece_question_annotations .field-name-field-pece-struct-analytics a:hover,
.field-name-field-pece-tags a:hover, .biblio-alpha-line a:hover, .view-display-id-pece_user_artifact_annotations > .view-content > .views-row .views-field-field-pece-struct-analytics .field-content .item-list a:hover, .view-display-id-pece_question_annotations .field-name-field-pece-struct-analytics a:hover,
.view-display-id-pece_question_artifact_annotions .field-name-field-pece-struct-analytics a:hover, .pane-node-field-pece-struct-analytics a:hover, .view-display-id-pece_user_artifact_annotations .views-field-field-pece-tags-1 .field-content a:hover,
.view-display-id-pece_question_artifact_annotions .views-field-field-pece-tags-1 .field-content a:hover,
.view-display-id-pece_question_annotations .views-field-field-pece-tags-1 .field-content a:hover {
Expand Down Expand Up @@ -1533,6 +1533,26 @@ i.pece_memo::before {
display: block;
width: 100%; }

/*
*------------------------------------------------------------------------------
* PECE Biblio node styles
*------------------------------------------------------------------------------
*/
#biblio-header #edit-filters {
margin-bottom: 12px; }

.biblio-current-filters {
background-color: #f9f9f9;
border: 1px solid #eeeeee;
padding: 15px;
margin-bottom: 10px; }

.biblio-alpha-line {
display: inherit; }

.node-biblio table td, .node-biblio table p {
font-size: 14px; }

/*
*------------------------------------------------------------------------------
* Views styles
Expand Down Expand Up @@ -2347,6 +2367,22 @@ i.pece_memo::before {
border-bottom: 2px solid #999999;
padding-bottom: .3em; }

.pece-three-col .panel-pane,
.mccoppin .panel-pane {
margin-bottom: 20px;
overflow: hidden;
word-wrap: break-word; }

.pece-three-col .field-name-field-pece-website-url,
.mccoppin .field-name-field-pece-website-url {
word-wrap: break-word;
text-overflow: ellipsis; }

.pece-three-col .essay-link,
.mccoppin .essay-link {
display: block;
width: 100%; }

/*
*------------------------------------------------------------------------------
* Design logic
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,18 @@
@import essay-link
@import question-set
@import content-heading

.pece-three-col,
.mccoppin
.panel-pane
margin-bottom: 20px
overflow: hidden
word-wrap: break-word

.field-name-field-pece-website-url
word-wrap: break-word
text-overflow: ellipsis

.essay-link
display: block
width: 100%

0 comments on commit 096c4f2

Please sign in to comment.