index.styl 4.4 KB
Newer Older
D
DCloud_LXH 已提交
1
.custom-page-class{
D
DCloud_LXH 已提交
2
	position: relative;
D
DCloud_LXH 已提交
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 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 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
	/* 首页几个logo的排版 */
	.flex-img-group-view {
		display flex 
		flex-direction row 
		margin 10px 0
		.barcode-view {
			display flex
			align-items center
			flex-direction column
			margin 0 5px
			margin-bottom 20px
			b {
				text-align center
			}
		}
	}

	.uniapp-home-content {
		display flex
		flex-wrap wrap
		width 100%
		justify-content center
		.uniapp-home-content-item {
			margin-bottom 20px
			.uniapp-home-content-item-image {
				width 55px
				height 55px
				flex-shrink 0
				img {
					height 100%
				}
			}
			p.uniapp-home-content-item-text {
			  margin-bottom 0px 
			  letter-spacing 0px 
			  color #333 
			}
			.uniapp-home-content-item-title{
				font-size 16px
			}
		}
	}
	@media screen and (min-width: 768px) {
		.flex-img-group-view {
			justify-content space-around
		}
		.uniapp-home-content-item{
			width 32% 
		}
	}
	@media screen and (max-width: 600px) {
		.uniapp-home-content-item{
			width 100% 
			display flex
			flex-direction row
		}
		.uniapp-home-content-item-header {
		  display flex 
		  flex-direction column 
		  padding-left 15px 
		}
		.uniapp-home-content-item-title{
			line-height 10px
		}
	}
}

img {
  image-rendering: -moz-crisp-edges; /* Firefox*/
	image-rendering: -o-crisp-edges; /* Opera */
	image-rendering: -webkit-optimize-contrast; /*Webkit (non-standard naming) */
	image-rendering: crisp-edges;
	-ms-interpolation-mode: nearest-neighbor; /* I (non-standard property) */
}

body.forbid_scroll
	height 100%
	overflow hidden

82 83 84
main.page
	padding-bottom 0px

D
DCloud_LXH 已提交
85 86 87 88 89 90
{$contentClass}:not(.custom) 
	> *:first-child
		margin-top 0
		@media (max-width: $MQMobile)
			&
				margin-top $navbarHeight
D
DCloud_LXH 已提交
91 92 93 94
	img
		max-width 100% !important
	table
		position relative
D
DCloud_LXH 已提交
95 96
	p > a
		word-break break-all
D
DCloud_LXH 已提交
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111

h1, h2, h3, h4, h5, h6

	{$contentClass}:not(.custom) > &
		margin-top (5rem - $navbarHeight)
		padding-top ($navbarHeight - 3rem)

		&:first-child
			margin-top (3rem - $navbarHeight)
			padding-top ($navbarHeight - 3rem)
			@media (max-width: $MQMobile)
				&	
					margin-top 3rem
@media (min-width: $MQMobile)
	.nav-dropdown
D
DCloud_LXH 已提交
112 113 114 115
		z-index 1

.sidebar .sidebar-group.is-sub-group>.sidebar-heading:not(.clickable)
	opacity 1
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133

.uni-loading
	width 20px
	height 20px
	display inline-block
	vertical-align middle
	animation uni-loading 1s steps(12, end) infinite
	background-size 100%
	background-color transparent
	background-image url('data:image/svg+xml;base64, PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxs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