web/assets/css/less/scroll.less

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

@scroll-bar-width: 8px;
@scroll-thin-width: 6px;


//.scroll-active {
 .ace-scroll {
	overflow: hidden;
 }
 .scroll-content {
	position: static;
	overflow: hidden;
 }
//}



.scroll-track {
  position: absolute;
  top: auto;
  bottom: auto;
  right: 0;
  
  width: @scroll-bar-width;
  height: auto;// will be determined at runtime
  background-color: #E7E7E7;

  z-index: 99;//to appear above content
  
  	width: 0;
	opacity: 0;
	
}
.scroll-bar {
 position: absolute;
 top: 0;
 left: 0;
 width: inherit;
 background-color: #ACE;
 /**transition-property: top;
 transition-duration: 0.1s;*/
 
 background: saturate(darken(#CFDFEA , 5%), 5%);
}


.scroll-hz .scroll-track {
 top: auto;
 left: auto;
 right: auto;
 bottom: 0;
 
 height: @scroll-bar-width;
 width: auto;// will be determined at runtime
}
.scroll-hz .scroll-bar {
 height: inherit;
 width: auto;
}


后面还有 186 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。