@import url('../../../shared/theme.less'); session-list-item { color: @primary-text-color-white; padding: 10px; display: block; position: relative; border-bottom: 1px solid; border-color: @primary-bg-color-white; cursor: pointer; } session-list-item.selected { background-color: lighten(@primary-interaction-highlight-white, 30%); } session-list-item.selected .slider-wrap { display: block; } .session-list-item-session-id::before { content: ""; } .session-list-item-timestamp::before { content: "Created: "; } .session-list-item-timestamp { font-size: 12px; opacity: 0.9; padding-left: 3px; } .session-list-item-session-id { display: block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; margin-bottom: 3px; } .session-list-item-session-id > span { display: inline-block; font-size: 9px; padding: 2px 4px; background-color: @editor-bg-white; border: 1px solid; border-color: darken(@editor-bg-white, 10%); border-radius: 3px; opacity: 0.7; } .session-list-item-number-of-changes { font-size: 12px; opacity: 0.6; padding-left: 3px; } .session-list-item-number-of-changes::before { content: "Number of changes: "; position: relative; z-index: 0; } .slider-wrap { display: none; margin-top: 3px; } .slider-wrap input { width: 100%; /* Width of the outside container */ } /* The slider itself */ .slider-wrap input { -webkit-appearance: none; /* Override default CSS styles */ appearance: none; width: 100%; /* Full-width */ height: 25px; /* Specified height */ background: @editor-bg-white; /* Grey background */ outline: none; /* Remove outline */ opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */ -webkit-transition: .2s; /* 0.2 seconds transition on hover */ transition: opacity .2s; border-radius: 3px; } /* Mouse-over effects */ .slider-wrap input:hover { opacity: 1; /* Fully shown on mouse-over */ } /* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */ .slider-wrap input::-webkit-slider-thumb { -webkit-appearance: none; /* Override default look */ appearance: none; width: 25px; /* Set a specific slider handle width */ height: 25px; /* Slider handle height */ background: @primary-interaction-highlight-white; /* Green background */ cursor: pointer; /* Cursor on hover */ border-radius: 3px; } .slider-wrap input::-moz-range-thumb { width: 25px; /* Set a specific slider handle width */ height: 25px; /* Slider handle height */ background: @primary-interaction-highlight-white; /* Green background */ cursor: pointer; /* Cursor on hover */ border-radius: 3px; } @media (prefers-color-scheme: dark) { session-list-item { border-color: @primary-bg-color-dark; color: @primary-text-color-dark; } session-list-item.selected { background-color: @primary-interaction-highlight-dark; } .slider-wrap input { background: @editor-bg-dark; /* Grey background */ } .session-list-item-session-id > span { background-color: @editor-bg-dark; border-color: lighten(@editor-bg-dark, 10%); } }