Remove fontawesome leftovers (#31525)
This commit is contained in:
		
							parent
							
								
									19a1acb38b
								
							
						
					
					
						commit
						edeae945c0
					
				@ -130,21 +130,11 @@
 | 
				
			|||||||
  .older {
 | 
					  .older {
 | 
				
			||||||
    float: left;
 | 
					    float: left;
 | 
				
			||||||
    padding-inline-start: 0;
 | 
					    padding-inline-start: 0;
 | 
				
			||||||
 | 
					 | 
				
			||||||
    .fa {
 | 
					 | 
				
			||||||
      display: inline-block;
 | 
					 | 
				
			||||||
      margin-inline-end: 5px;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  .newer {
 | 
					  .newer {
 | 
				
			||||||
    float: right;
 | 
					    float: right;
 | 
				
			||||||
    padding-inline-end: 0;
 | 
					    padding-inline-end: 0;
 | 
				
			||||||
 | 
					 | 
				
			||||||
    .fa {
 | 
					 | 
				
			||||||
      display: inline-block;
 | 
					 | 
				
			||||||
      margin-inline-start: 5px;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  .disabled {
 | 
					  .disabled {
 | 
				
			||||||
 | 
				
			|||||||
@ -122,10 +122,6 @@ $content-width: 840px;
 | 
				
			|||||||
        overflow: hidden;
 | 
					        overflow: hidden;
 | 
				
			||||||
        text-overflow: ellipsis;
 | 
					        text-overflow: ellipsis;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        i.fa {
 | 
					 | 
				
			||||||
          margin-inline-end: 5px;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        &:hover {
 | 
					        &:hover {
 | 
				
			||||||
          color: $primary-text-color;
 | 
					          color: $primary-text-color;
 | 
				
			||||||
          transition: all 100ms linear;
 | 
					          transition: all 100ms linear;
 | 
				
			||||||
@ -306,10 +302,6 @@ $content-width: 840px;
 | 
				
			|||||||
      box-shadow: none;
 | 
					      box-shadow: none;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .directory__tag .table-action-link .fa {
 | 
					 | 
				
			||||||
      color: inherit;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    .directory__tag h4 {
 | 
					    .directory__tag h4 {
 | 
				
			||||||
      font-size: 18px;
 | 
					      font-size: 18px;
 | 
				
			||||||
      font-weight: 700;
 | 
					      font-weight: 700;
 | 
				
			||||||
 | 
				
			|||||||
@ -2891,10 +2891,6 @@ $ui-header-logo-wordmark-width: 99px;
 | 
				
			|||||||
    padding-inline-end: 30px;
 | 
					    padding-inline-end: 30px;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  .search__icon .fa {
 | 
					 | 
				
			||||||
    top: 15px;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  .scrollable {
 | 
					  .scrollable {
 | 
				
			||||||
    overflow: visible;
 | 
					    overflow: visible;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -113,10 +113,6 @@
 | 
				
			|||||||
      flex: 1 1 auto;
 | 
					      flex: 1 1 auto;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .fa {
 | 
					 | 
				
			||||||
      flex: 0 0 auto;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    strong {
 | 
					    strong {
 | 
				
			||||||
      font-weight: 700;
 | 
					      font-weight: 700;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
@ -930,10 +930,6 @@ code {
 | 
				
			|||||||
          font-weight: 700;
 | 
					          font-weight: 700;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					 | 
				
			||||||
      .fa {
 | 
					 | 
				
			||||||
        font-weight: 400;
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -41,14 +41,6 @@ body.rtl {
 | 
				
			|||||||
      no-repeat left 8px center / auto 16px;
 | 
					      no-repeat left 8px center / auto 16px;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  .fa-chevron-left::before {
 | 
					 | 
				
			||||||
    content: '\F054';
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  .fa-chevron-right::before {
 | 
					 | 
				
			||||||
    content: '\F053';
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  .dismissable-banner,
 | 
					  .dismissable-banner,
 | 
				
			||||||
  .warning-banner {
 | 
					  .warning-banner {
 | 
				
			||||||
    &__action {
 | 
					    &__action {
 | 
				
			||||||
 | 
				
			|||||||
@ -142,11 +142,6 @@ a.table-action-link {
 | 
				
			|||||||
    color: $highlight-text-color;
 | 
					    color: $highlight-text-color;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  i.fa {
 | 
					 | 
				
			||||||
    font-weight: 400;
 | 
					 | 
				
			||||||
    margin-inline-end: 5px;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  &:first-child {
 | 
					  &:first-child {
 | 
				
			||||||
    padding-inline-start: 0;
 | 
					    padding-inline-start: 0;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -169,11 +169,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  &__message {
 | 
					  &__message {
 | 
				
			||||||
    margin-bottom: 15px;
 | 
					    margin-bottom: 15px;
 | 
				
			||||||
 | 
					 | 
				
			||||||
    .fa {
 | 
					 | 
				
			||||||
      margin-inline-end: 5px;
 | 
					 | 
				
			||||||
      color: $darker-text-color;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  &__card {
 | 
					  &__card {
 | 
				
			||||||
@ -366,9 +361,7 @@
 | 
				
			|||||||
    padding-inline-end: 16px;
 | 
					    padding-inline-end: 16px;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  .fa {
 | 
					  .icon {
 | 
				
			||||||
    font-size: 16px;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    &.active {
 | 
					    &.active {
 | 
				
			||||||
      color: $highlight-text-color;
 | 
					      color: $highlight-text-color;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
@ -1,11 +1,10 @@
 | 
				
			|||||||
:ruby
 | 
					:ruby
 | 
				
			||||||
  show_results = (user_signed_in? && poll.voted?(current_account)) || poll.expired?
 | 
					  show_results = (user_signed_in? && poll.voted?(current_account)) || poll.expired?
 | 
				
			||||||
  own_votes = user_signed_in? ? poll.own_votes(current_account) : []
 | 
					 | 
				
			||||||
  total_votes_count = poll.voters_count || poll.votes_count
 | 
					  total_votes_count = poll.voters_count || poll.votes_count
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.poll
 | 
					.poll
 | 
				
			||||||
  %ul
 | 
					  %ul
 | 
				
			||||||
    - poll.loaded_options.each_with_index do |option, index|
 | 
					    - poll.loaded_options.each do |option|
 | 
				
			||||||
      %li
 | 
					      %li
 | 
				
			||||||
        - if show_results
 | 
					        - if show_results
 | 
				
			||||||
          - percent = total_votes_count.positive? ? 100 * option.votes_count / total_votes_count : 0
 | 
					          - percent = total_votes_count.positive? ? 100 * option.votes_count / total_votes_count : 0
 | 
				
			||||||
@ -14,9 +13,6 @@
 | 
				
			|||||||
              #{percent.round}%
 | 
					              #{percent.round}%
 | 
				
			||||||
            %span.poll__option__text
 | 
					            %span.poll__option__text
 | 
				
			||||||
              = prerender_custom_emojis(h(option.title), status.emojis)
 | 
					              = prerender_custom_emojis(h(option.title), status.emojis)
 | 
				
			||||||
            - if own_votes.include?(index)
 | 
					 | 
				
			||||||
              %span.poll__voted
 | 
					 | 
				
			||||||
                %i.poll__voted__mark.fa.fa-check
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
          %progress{ max: 100, value: [percent, 1].max, 'aria-hidden': 'true' }
 | 
					          %progress{ max: 100, value: [percent, 1].max, 'aria-hidden': 'true' }
 | 
				
			||||||
            %span.poll__chart
 | 
					            %span.poll__chart
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user