Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ypl_share_web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄秀兰
ypl_share_web
Commits
b572dd6a
Commit
b572dd6a
authored
May 27, 2016
by
黄秀兰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed stars devide bug on mac
parent
5ce59202
Pipeline
#435
skipped in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
8 deletions
+18
-8
dist/css/sale.css
+9
-4
src/less/sale.less
+9
-4
No files found.
dist/css/sale.css
View file @
b572dd6a
...
...
@@ -207,14 +207,14 @@
margin-bottom
:
0.74666667rem
;
}
.photographer
.photographer-info
.stars
{
position
:
relative
;
margin-bottom
:
0.69333333rem
;
line-height
:
0
;
}
.photographer
.photographer-info
.stars
.stars-info
,
.photographer
.photographer-info
.stars
.stars-level
{
width
:
100px
;
height
:
16px
;
display
:
inline-
block
;
display
:
block
;
}
.photographer
.photographer-info
.stars
.stars-info
{
background-image
:
url('../../dist/img/sprites-photographer.png')
;
...
...
@@ -224,10 +224,15 @@
background-image
:
url('../../dist/img/sprites-photographer.png')
;
background-position
:
0px
-50px
;
}
.photographer
.photographer-info
.stars-info
{
position
:
absolute
;
left
:
45%
;
top
:
-15%
;
}
.photographer
.photographer-info
.stars-txt
{
display
:
block
;
color
:
#999
;
font-size
:
0.69333333rem
;
margin-right
:
0.56rem
;
}
.photographer
.photographer-info
.number
{
color
:
#666
;
...
...
@@ -265,7 +270,7 @@
color
:
#666
;
}
#tab
.hd
>
div
a
.active
{
padding-bottom
:
0.5
6
rem
;
padding-bottom
:
0.5
8
rem
;
border-bottom
:
1px
solid
#000
;
}
#tab
.bd
{
...
...
src/less/sale.less
View file @
b572dd6a
...
...
@@ -194,12 +194,12 @@
.px1rem(margin-bottom, 14);
}
.stars {
position: relative;
.px1rem(margin-bottom, 13);
line-height: 0;
.stars-info, .stars-level {
width: 100px;
height: 16px;
display:
inline-
block;
display: block;
}
.stars-info {
background-image: url('../../dist/img/sprites-photographer.png');
...
...
@@ -210,10 +210,15 @@
background-position: 0px -50px;
}
}
.stars-info {
position: absolute;
left: 45%;
top: -15%;
}
.stars-txt {
display: block;
color: #999;
.px1rem(font-size, 13);
.px1rem(margin-right, 10.5);
}
.number {
color: #666;
...
...
@@ -243,7 +248,7 @@
color: #666;
}
> div a.active {
.px1rem(padding-bottom, 10.5);
.px1rem(padding-bottom, 10.
87
5);
border-bottom: 1px solid #000;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment