Skip to content
Snippets Groups Projects
Select Git revision
  • 0a0bb18f4f82e8d8c6ec6c1c0d77d77b3bf226ff
  • master default protected
  • remove-event-tracking-fix-adblocker
  • ja-oss-test
  • sk-pin-chai-dependency
  • secure-headers
  • sk-add-csrf-acceptance-test
  • ja-handle-commands-in-arguments
  • ja-include-token-in-project-schema
  • sk-fix-project-feature-loading
  • ho-csrf-acceptence-tests
  • revert-580-ja-import-collaborators
  • ja-import-projects
  • ja-import-collaborators
  • sk-tc-toggle-access-control
  • ja-per-user-track-changes
  • ja-overleaf-oauth
  • ja-brand-prefix-config
  • ja-overleaf-styling
  • ho-overleaf-styling
  • ja-update-ace
  • v0.2.0
  • v0.1.4
  • v0.1.3
  • v0.1.2
  • v0.1.0
26 results

trackchanges.less

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    trackchanges.less 1.90 KiB
    @changesListWidth:   250px;
    @changesListPadding: 10px;
    
    #trackChangesPanel {
    	.track-changes-diff {
    		position: absolute;
    		right: @changesListWidth + 1px;
    		left: 0;
    		top: 0;
    		bottom: 0;
    		padding: 0px 12px;
    		height: 100%;
    		.ace_editor {
    			position: absolute;
    			top: 0;
    			left: 0;
    			right: 0;
    			bottom: 0;
    		}
    	}
    
    	.track-changes-side-bar {
    		border-left: 1px solid #999;
    		height: 100%;
    		width: @changesListWidth;
    		position: absolute;
    		right: 0;
    		background-color: white;
    
    		.track-changes-header {
    			background-color: black;
    			h3 {
    				color: white;
    				padding-left: 8px;
    				font-size: 1.2em;
    			}
    			a {
    				color: white;
    				position: absolute;
    				top: 6px;
    				right: 8px;
    			}
    			height: 30px;
    		}
    
    		.change-list-area {
    			overflow: scroll;
    			position: absolute;
    			left: 0px;
    			right: 0px;
    			top: 30px;
    			bottom: 0px;
    		}
    	}
    
    	.deleted-change-background, .deleted-change-foreground, .inserted-change, .change-name-marker {
    		position: absolute;
    		z-index: 2;
    	}
    
    	.change-name-marker {
    		.name {
    			font-size: 0.8em;
    			padding: 2px 6px;
    			.border-radius(3px 3px 3px 3px);
    			position: absolute;
    			border: 1px solid #999;
    			left: 0;
    		}
    	}
    
    	ul.change-list {
    		li {
    			padding: 6px 4px;
    			position: relative;
    			border-bottom: 1px solid #ccc;
    			cursor: pointer;
    			.change-selectors {
    				position: absolute;
    				top: 4px;
    				left: 6px;
    				.change-selector-from {
    					position: absolute;
    					top: 0;
    					left: 0;
    				}
    				.change-selector-to {
    					position: absolute;
    					top: 0;
    					left: 20px;
    				}
    			}
    			.change-description {
    				padding-left: 42px;
    			}
    			.change-name {
    				font-size: 0.9em;
    				color: #666;
    				text-transform: capitalize;
    			}
    			.color-square {
    				display: inline-block;
    				height: 10px;
    				width: 10px;
    				margin-right: 4px;
    				margin-bottom: -1px;
    			}
    			&:hover {
    				background-color: #eaeaea;
    			}
    		}
    		li.selected {
    			background-color: #eaeaea;
    		}
    	}
    }