mirror of
				https://github.com/veops/cmdb.git
				synced 2025-11-04 13:46:17 +08:00 
			
		
		
		
	前后端全面升级
This commit is contained in:
		
							
								
								
									
										1309
									
								
								cmdb-ui/src/style/global.less
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1309
									
								
								cmdb-ui/src/style/global.less
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										23
									
								
								cmdb-ui/src/style/index.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								cmdb-ui/src/style/index.css
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
::-webkit-scrollbar {
 | 
			
		||||
  width: 8px;
 | 
			
		||||
  height: 8px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
::-webkit-scrollbar-track {
 | 
			
		||||
  width: 8px;
 | 
			
		||||
  background-color: rgba(217, 217, 217, 0.2);
 | 
			
		||||
  box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.1);
 | 
			
		||||
  border-radius: 5px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
::-webkit-scrollbar-thumb {
 | 
			
		||||
  background-color: rgba(47, 122, 235, 0.2);
 | 
			
		||||
  background-clip: padding-box;
 | 
			
		||||
  border-radius: 5px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
::-webkit-scrollbar-thumb:hover {
 | 
			
		||||
  background-color: rgba(47, 122, 235, 0.2);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*# sourceMappingURL=index.css.map */
 | 
			
		||||
							
								
								
									
										1
									
								
								cmdb-ui/src/style/index.less
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								cmdb-ui/src/style/index.less
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
@import "./global.less";
 | 
			
		||||
							
								
								
									
										44
									
								
								cmdb-ui/src/style/static.less
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								cmdb-ui/src/style/static.less
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
			
		||||
@border-radius-base: 2px; // 组件/浮层圆角
 | 
			
		||||
@primary-color: #2f54eb; // 全局主色
 | 
			
		||||
 | 
			
		||||
// @layout-header-background: #1a3652;
 | 
			
		||||
@layout-header-background: #fff;
 | 
			
		||||
@layout-header-height: 40px;
 | 
			
		||||
@layout-header-icon-height: 34px;
 | 
			
		||||
@layout-header-font-color: #020000;
 | 
			
		||||
@layout-header-font-selected-color: #2857bc;
 | 
			
		||||
 | 
			
		||||
//dark
 | 
			
		||||
@layout-background-color: #182132;
 | 
			
		||||
@layout-background-color-light: #262f40;
 | 
			
		||||
//light
 | 
			
		||||
@layout-background-light-color: #fafafa;
 | 
			
		||||
@layout-background-light-color-light: #f0f0f0;
 | 
			
		||||
 | 
			
		||||
#custom_colors() {
 | 
			
		||||
  color_1: #2f54eb;
 | 
			
		||||
  color_2: #f0f5ff;
 | 
			
		||||
  color_3: #D2E2FF;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.ops_display_wrapper(@backgroundColor:#f0f5ff) {
 | 
			
		||||
  cursor: pointer;
 | 
			
		||||
  padding: 5px 8px;
 | 
			
		||||
  background-color: @backgroundColor;
 | 
			
		||||
  border-radius: 5px;
 | 
			
		||||
  height: 30px;
 | 
			
		||||
  color: rgba(0, 0, 0, 0.6);
 | 
			
		||||
  white-space: nowrap;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.ops_popover_item() {
 | 
			
		||||
  cursor: pointer;
 | 
			
		||||
  padding: 5px 10px;
 | 
			
		||||
  &:hover {
 | 
			
		||||
    background-color: #custom_colors[color_2];
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
.ops_popover_item_selected() {
 | 
			
		||||
  background-color: #custom_colors[color_2];
 | 
			
		||||
  color: #custom_colors[color_1];
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user