Blame view

src/styles/components/scroll.less 977 Bytes
be01f0b4   Sergio Crisostomo   New component: Sc...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  @scroll-prefix-cls: ~"@{css-prefix}scroll";
  
  .@{scroll-prefix-cls} {
  	&-wrapper {
  		width: auto;
  		margin: 0 auto;
  		position: relative;
  		outline: none;
  	}
  
  	&-container {
  		overflow-y: scroll;
  	}
  
  	&-content {
  		opacity: 1;
  		transition: opacity 0.5s;
  	}
  
  	&-content-loading {
  		opacity: 0.5;
  	}
  
  	&-loader {
  		text-align: center;
c6487ddf   梁灏   update dependencies
26
  		padding: 0;
be01f0b4   Sergio Crisostomo   New component: Sc...
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
  		transition: padding 0.5s;
  	}
  }
  
  .@{scroll-prefix-cls}-loader-wrapper {
  	padding: 5px 0;
  	height: 0;
  	background-color: inherit;
  	transform: scale(0);
  	transition: opacity .3s, transform .5s, height .5s;
  
  	&-active {
  		height: 40px;
  		transform: scale(1);
  	}
  
  	@keyframes ani-demo-spin {
  		from {
  			transform: rotate(0deg);
  		}
  		50% {
  			transform: rotate(180deg);
  		}
  		to {
  			transform: rotate(360deg);
  		}
  	}
  
  	.@{scroll-prefix-cls}-spinner {
  		position: relative;
  	}
  
  	.@{scroll-prefix-cls}-spinner-icon {
  		animation: ani-demo-spin 1s linear infinite;
  	}
  }
  
6e97df10   梁灏   update default me...
64
  @media (max-width: @screen-sm) {
be01f0b4   Sergio Crisostomo   New component: Sc...
65
66
67
  	.@{scroll-prefix-cls} {
  	}
  }