mirror of
				https://github.com/owncast/owncast.git
				synced 2025-11-04 13:27:21 +08:00 
			
		
		
		
	* color experimentation and troubleshooting * create color scheme, assign colors, more ant overrides * fun selection color * Prettified Code! * Correctly import opensans * Prettified Code! * Organize+standardize colors/names and update the app to use them * Prettified Code! * Use css var references instead of resolving value of vars in css files * Prettified Code! Co-authored-by: gingervitis <gingervitis@users.noreply.github.com> Co-authored-by: Gabe Kangas <gabek@real-ity.com> Co-authored-by: gabek <gabek@users.noreply.github.com>
		
			
				
	
	
		
			92 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
			
		
		
	
	
			92 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
.root {
 | 
						|
  * {
 | 
						|
    z-index: 100;
 | 
						|
  }
 | 
						|
  position: relative;
 | 
						|
  font-size: 0.9rem;
 | 
						|
  padding: 0px 15px 5px 5px;
 | 
						|
  padding-left: 1rem;
 | 
						|
  .user {
 | 
						|
    display: flex;
 | 
						|
    align-items: center;
 | 
						|
    font-family: var(--theme-text-display-font-family);
 | 
						|
    font-weight: bold;
 | 
						|
  }
 | 
						|
  .message {
 | 
						|
    color: var(--theme-color-components-chat-text);
 | 
						|
 | 
						|
    mark {
 | 
						|
      padding-left: 0.35em;
 | 
						|
      padding-right: 0.35em;
 | 
						|
      color: var(--theme-color-palette-12);
 | 
						|
    }
 | 
						|
  }
 | 
						|
 | 
						|
  .customBorder {
 | 
						|
    position: absolute;
 | 
						|
    top: 0px;
 | 
						|
    left: 0px;
 | 
						|
    width: 5px;
 | 
						|
    height: 100%;
 | 
						|
    overflow: hidden;
 | 
						|
    &:after {
 | 
						|
      content: '';
 | 
						|
      width: 10px;
 | 
						|
      height: 100%;
 | 
						|
      position: absolute;
 | 
						|
      top: 0%;
 | 
						|
      right: 0px;
 | 
						|
      background-color: currentColor;
 | 
						|
      border-radius: var(--theme-rounded-corners);
 | 
						|
    }
 | 
						|
  }
 | 
						|
 | 
						|
  &.ownMessage {
 | 
						|
    .customBorder {
 | 
						|
      left: auto;
 | 
						|
      right: 0px;
 | 
						|
      opacity: 0.85;
 | 
						|
      &:after {
 | 
						|
        left: 0px;
 | 
						|
      }
 | 
						|
    }
 | 
						|
    .background {
 | 
						|
      position: absolute;
 | 
						|
      z-index: -1;
 | 
						|
      top: 0px;
 | 
						|
      left: 0px;
 | 
						|
      width: 100%;
 | 
						|
      height: 100%;
 | 
						|
      background-color: currentColor;
 | 
						|
      opacity: 0.07;
 | 
						|
      border-radius: 0.25rem;
 | 
						|
      overflow: hidden;
 | 
						|
    }
 | 
						|
  }
 | 
						|
 | 
						|
  .modMenuWrapper {
 | 
						|
    position: absolute;
 | 
						|
    display: none;
 | 
						|
    top: 0;
 | 
						|
    right: 10px;
 | 
						|
    & button:focus,
 | 
						|
    & button:active {
 | 
						|
      display: block !important;
 | 
						|
    }
 | 
						|
  }
 | 
						|
 | 
						|
  &:hover .modMenuWrapper {
 | 
						|
    display: block;
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
.messagePadding {
 | 
						|
  padding: 3.5px;
 | 
						|
  padding-bottom: 0px;
 | 
						|
  padding-top: 7px;
 | 
						|
}
 | 
						|
 | 
						|
.messagePaddingCollapsed {
 | 
						|
  padding-top: 2px;
 | 
						|
}
 |