forked from EVOgeek/Vmeda.Online
		
	MOBILE-3814 style: Fix some rtl styles
This commit is contained in:
		
							parent
							
								
									76c1e7834e
								
							
						
					
					
						commit
						7dc81feb92
					
				| @ -1,3 +1,5 @@ | |||||||
|  | @import "~theme/globals"; | ||||||
|  | 
 | ||||||
| :host .core-block-content ::ng-deep { | :host .core-block-content ::ng-deep { | ||||||
|     max-height: 200px; |     max-height: 200px; | ||||||
|     overflow-y: auto; |     overflow-y: auto; | ||||||
| @ -17,14 +19,13 @@ | |||||||
|             list-style-type: none; |             list-style-type: none; | ||||||
| 
 | 
 | ||||||
|             .user { |             .user { | ||||||
|                 float: left; |                 @include float(start); | ||||||
|                 position: relative; |                 position: relative; | ||||||
|                 padding-bottom: 16px; |                 padding-bottom: 16px; | ||||||
| 
 | 
 | ||||||
|                 .core-adapted-img-container { |                 .core-adapted-img-container { | ||||||
|                     display: inline; |                     display: inline; | ||||||
|                     margin-left: 0; |                     @include margin-horizontal(0px, 8px); | ||||||
|                     margin-right: 8px; |  | ||||||
|                 } |                 } | ||||||
| 
 | 
 | ||||||
|                 .userpicture { |                 .userpicture { | ||||||
| @ -33,7 +34,7 @@ | |||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             .message { |             .message { | ||||||
|                 float: right; |                 @include float(end); | ||||||
|                 margin-top: 3px; |                 margin-top: 3px; | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
| @ -48,20 +49,3 @@ | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| } | } | ||||||
| 
 |  | ||||||
| :host-context([dir=rtl]) .core-block-content ::ng-deep { |  | ||||||
|     .list li.listentry { |  | ||||||
|         .user { |  | ||||||
|             float: right; |  | ||||||
| 
 |  | ||||||
|             .core-adapted-img-container { |  | ||||||
|                 margin-left: 8px; |  | ||||||
|                 margin-right: 0; |  | ||||||
|             } |  | ||||||
|         } |  | ||||||
| 
 |  | ||||||
|         .message { |  | ||||||
|             float: left; |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
| } |  | ||||||
|  | |||||||
| @ -1,3 +1,5 @@ | |||||||
|  | @import "~theme/globals"; | ||||||
|  | 
 | ||||||
| :host .core-block-content ::ng-deep { | :host .core-block-content ::ng-deep { | ||||||
|     .activitydate, .activityhead { |     .activitydate, .activityhead { | ||||||
|         text-align: center; |         text-align: center; | ||||||
| @ -12,14 +14,8 @@ | |||||||
|             margin-bottom: 1em; |             margin-bottom: 1em; | ||||||
| 
 | 
 | ||||||
|             .head .date { |             .head .date { | ||||||
|                 float: right; |                 @include float(end); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
| 
 |  | ||||||
| :host-context([dir=rtl]) .core-block-content ::ng-deep { |  | ||||||
|     .unlist li .head .date { |  | ||||||
|         float: left; |  | ||||||
|     } |  | ||||||
| } |  | ||||||
|  | |||||||
| @ -22,17 +22,17 @@ | |||||||
| 
 | 
 | ||||||
|     .addon-calendar-day { |     .addon-calendar-day { | ||||||
|         border-bottom: 1px solid var(--addon-calendar-border-color); |         border-bottom: 1px solid var(--addon-calendar-border-color); | ||||||
|         border-right: 1px solid var(--addon-calendar-border-color); |         @include border-end(1px, solid var(--addon-calendar-border-color)); | ||||||
|         overflow: hidden; |         overflow: hidden; | ||||||
|         min-height: 60px; |         min-height: 60px; | ||||||
|         cursor: pointer; |         cursor: pointer; | ||||||
| 
 | 
 | ||||||
|         &:first-child { |         &:first-child { | ||||||
|             padding-left: 10px; |             @include padding-horizontal(10px, null); | ||||||
|         } |         } | ||||||
|         &:last-child { |         &:last-child { | ||||||
|             border-right: 0; |             @include border-end(0); | ||||||
|             padding-left: 8px; |             @include padding-horizontal(8px, null); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         &.addon-calendar-event-past-day > .addon-calendar-dot-types, |         &.addon-calendar-event-past-day > .addon-calendar-dot-types, | ||||||
| @ -89,9 +89,7 @@ | |||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         .addon-calendar-day-more { |         .addon-calendar-day-more { | ||||||
|             margin-top: 0.6em; |             @include margin(0.6em, null, 0.6em, 4px); | ||||||
|             margin-bottom: 0.6em; |  | ||||||
|             margin-right: 4px; |  | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         .addon-calendar-dot-types { |         .addon-calendar-dot-types { | ||||||
| @ -117,10 +115,10 @@ | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     .addon-calendar-day-events { |     .addon-calendar-day-events { | ||||||
|         text-align: left; |         text-align: start; | ||||||
| 
 | 
 | ||||||
|         ion-icon { |         ion-icon { | ||||||
|             margin-right: 2px; |             @include margin-horizontal(null, 2px); | ||||||
|             font-size: 1em; |             font-size: 1em; | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| @ -154,37 +152,6 @@ | |||||||
|     } |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| :host-context([dir=rtl]) { |  | ||||||
|     .addon-calendar-day-events { |  | ||||||
|         text-align: right; |  | ||||||
| 
 |  | ||||||
|         ion-icon { |  | ||||||
|             margin-right: unset; |  | ||||||
|             margin-left: 2px; |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|     .addon-calendar-day { |  | ||||||
|         border-left: 1px solid var(--addon-calendar-border-color); |  | ||||||
|         border-right: unset; |  | ||||||
| 
 |  | ||||||
|         &:first-child { |  | ||||||
|             padding-right: 10px; |  | ||||||
|             padding-left: unset; |  | ||||||
|         } |  | ||||||
|         &:last-child { |  | ||||||
|             border-left: 0; |  | ||||||
|             border-right: unset; |  | ||||||
|             padding-right: 8px; |  | ||||||
|             padding-left: unset; |  | ||||||
|         } |  | ||||||
|         .addon-calendar-day-more { |  | ||||||
|             margin-left: 4px; |  | ||||||
|             margin-right: unset; |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| :host-context(body.dark) { | :host-context(body.dark) { | ||||||
|     --addon-calendar-blank-day-background-color: var(--gray-900); |     --addon-calendar-blank-day-background-color: var(--gray-900); | ||||||
| } | } | ||||||
|  | |||||||
| @ -1,7 +1,9 @@ | |||||||
|  | @import "~theme/globals"; | ||||||
|  | 
 | ||||||
| :host { | :host { | ||||||
|     ion-item { |     ion-item { | ||||||
|         ion-icon, ion-radio { |         ion-icon, ion-radio { | ||||||
|             margin-right: 8px; |             @include margin-horizontal(null, 8px); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         > ion-icon { |         > ion-icon { | ||||||
| @ -10,12 +12,3 @@ | |||||||
|         } |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
| 
 |  | ||||||
| :host-context([dir=rtl]) { |  | ||||||
|     ion-item { |  | ||||||
|         ion-icon, ion-radio { |  | ||||||
|             margin-left: 8px; |  | ||||||
|             margin-right: unset; |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
| } |  | ||||||
|  | |||||||
| @ -1,3 +1,5 @@ | |||||||
|  | @import "~theme/globals"; | ||||||
|  | 
 | ||||||
| :host { | :host { | ||||||
|     .addon-messages-conversation-item, |     .addon-messages-conversation-item, | ||||||
|     .addon-message-discussion { |     .addon-message-discussion { | ||||||
| @ -12,7 +14,7 @@ | |||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             ion-icon { |             ion-icon { | ||||||
|                 margin-left: 2px; |                 @include margin-horizontal(2px, null); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
| @ -20,7 +22,7 @@ | |||||||
|             display: flex; |             display: flex; | ||||||
|             flex-direction: column; |             flex-direction: column; | ||||||
|             align-self: flex-start; |             align-self: flex-start; | ||||||
|             margin-left: 2px; |             @include margin-horizontal(2px, null); | ||||||
| 
 | 
 | ||||||
|             ion-badge, ion-icon { |             ion-badge, ion-icon { | ||||||
|                 margin-top: 3px; |                 margin-top: 3px; | ||||||
| @ -40,7 +42,7 @@ | |||||||
|         .addon-message-last-message-user { |         .addon-message-last-message-user { | ||||||
|             white-space: nowrap; |             white-space: nowrap; | ||||||
|             color: var(--ion-text-color); |             color: var(--ion-text-color); | ||||||
|             margin-right: 2px; |             @include margin-horizontal(null, 2px); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         .addon-message-last-message-text { |         .addon-message-last-message-text { | ||||||
| @ -62,18 +64,3 @@ | |||||||
|         margin-right: 16px; |         margin-right: 16px; | ||||||
|     } |     } | ||||||
| } | } | ||||||
| 
 |  | ||||||
| :host-context([dir=rtl]) { |  | ||||||
|     .addon-messages-conversation-item, |  | ||||||
|     .addon-message-discussion { |  | ||||||
|         .item-heading ion-icon { |  | ||||||
|             margin-right: 2px; |  | ||||||
|             margin-left: 0; |  | ||||||
|         } |  | ||||||
| 
 |  | ||||||
|         .addon-message-last-message-user { |  | ||||||
|             margin-left: 2px; |  | ||||||
|             margin-right: 0; |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
| } |  | ||||||
|  | |||||||
| @ -1,9 +1,9 @@ | |||||||
| <ion-button fill="clear" (click)="scroll('backward')" [hidden]="scrollPosition === 'hidden'" [disabled]="scrollPosition === 'start'" | <ion-button fill="clear" (click)="scroll('backward')" [hidden]="scrollPosition === 'hidden'" [disabled]="scrollPosition === 'start'" | ||||||
|     [attr.aria-label]="'core.scrollbackward' | translate" [attr.aria-controls]="targetId"> |     [attr.aria-label]="'core.scrollbackward' | translate" [attr.aria-controls]="targetId"> | ||||||
|     <ion-icon name="fas-chevron-left" slot="icon-only" aria-hidden="true"></ion-icon> |     <ion-icon name="fas-chevron-left" slot="icon-only" aria-hidden="true" flip-rtl="false"></ion-icon> | ||||||
| </ion-button> | </ion-button> | ||||||
| 
 | 
 | ||||||
| <ion-button fill="clear" (click)="scroll('forward')" [hidden]="scrollPosition === 'hidden'" [disabled]="scrollPosition === 'end'" | <ion-button fill="clear" (click)="scroll('forward')" [hidden]="scrollPosition === 'hidden'" [disabled]="scrollPosition === 'end'" | ||||||
|     [attr.aria-label]="'core.scrollforward' | translate" [attr.aria-controls]="targetId"> |     [attr.aria-label]="'core.scrollforward' | translate" [attr.aria-controls]="targetId"> | ||||||
|     <ion-icon name="fas-chevron-right" slot="icon-only" aria-hidden="true"></ion-icon> |     <ion-icon name="fas-chevron-right" slot="icon-only" aria-hidden="true" flip-rtl="false"></ion-icon> | ||||||
| </ion-button> | </ion-button> | ||||||
|  | |||||||
| @ -35,7 +35,7 @@ | |||||||
| 
 | 
 | ||||||
| // Common styles. | // Common styles. | ||||||
| .item-heading ion-icon { | .item-heading ion-icon { | ||||||
|     margin-right: 4px; |     @include margin-horizontal(null, 4px); | ||||||
|     color: var(--core-star-color); |     color: var(--core-star-color); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| @ -130,7 +130,7 @@ ion-card.core-course-list-item { | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     .core-course-maininfo { |     .core-course-maininfo { | ||||||
|         margin-right: 32px; |         @include margin-horizontal(null, 32px); | ||||||
|     } |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user