Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
746935a7
Commit
746935a7
authored
Apr 11, 2022
by
bofeng
Committed by
GitHub
Apr 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Chore: replace node-sass with dart-sass (#21019)"
This reverts commit
d6dedac2
.
parent
f109628a
Changes
13
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
2538 additions
and
2704 deletions
+2538
-2704
package.json
package.json
+3
-3
packages/theme-chalk/gulpfile.js
packages/theme-chalk/gulpfile.js
+3
-3
packages/theme-chalk/package.json
packages/theme-chalk/package.json
+1
-1
packages/theme-chalk/src/badge.scss
packages/theme-chalk/src/badge.scss
+1
-2
packages/theme-chalk/src/carousel.scss
packages/theme-chalk/src/carousel.scss
+1
-2
packages/theme-chalk/src/col.scss
packages/theme-chalk/src/col.scss
+24
-25
packages/theme-chalk/src/common/var.scss
packages/theme-chalk/src/common/var.scss
+1
-2
packages/theme-chalk/src/input-number.scss
packages/theme-chalk/src/input-number.scss
+4
-5
packages/theme-chalk/src/loading.scss
packages/theme-chalk/src/loading.scss
+2
-3
packages/theme-chalk/src/mixins/mixins.scss
packages/theme-chalk/src/mixins/mixins.scss
+2
-11
packages/theme-chalk/src/popper.scss
packages/theme-chalk/src/popper.scss
+4
-5
packages/theme-chalk/src/transfer.scss
packages/theme-chalk/src/transfer.scss
+1
-2
yarn.lock
yarn.lock
+2491
-2640
No files found.
package.json
View file @
746935a7
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
"
gulp
"
:
"
^4.0.0
"
,
"
gulp
"
:
"
^4.0.0
"
,
"
gulp-autoprefixer
"
:
"
^6.0.0
"
,
"
gulp-autoprefixer
"
:
"
^6.0.0
"
,
"
gulp-cssmin
"
:
"
^0.2.0
"
,
"
gulp-cssmin
"
:
"
^0.2.0
"
,
"
gulp-
dart-sass
"
:
"
^1
.0.2
"
,
"
gulp-
sass
"
:
"
^4
.0.2
"
,
"
highlight.js
"
:
"
^9.3.0
"
,
"
highlight.js
"
:
"
^9.3.0
"
,
"
html-webpack-plugin
"
:
"
^3.2.0
"
,
"
html-webpack-plugin
"
:
"
^3.2.0
"
,
"
json-loader
"
:
"
^0.5.7
"
,
"
json-loader
"
:
"
^0.5.7
"
,
...
@@ -121,12 +121,12 @@
...
@@ -121,12 +121,12 @@
"
markdown-it-container
"
:
"
^2.0.0
"
,
"
markdown-it-container
"
:
"
^2.0.0
"
,
"
mini-css-extract-plugin
"
:
"
^0.4.1
"
,
"
mini-css-extract-plugin
"
:
"
^0.4.1
"
,
"
mocha
"
:
"
^6.0.2
"
,
"
mocha
"
:
"
^6.0.2
"
,
"
node-sass
"
:
"
^4.11.0
"
,
"
optimize-css-assets-webpack-plugin
"
:
"
^5.0.1
"
,
"
optimize-css-assets-webpack-plugin
"
:
"
^5.0.1
"
,
"
postcss
"
:
"
^7.0.14
"
,
"
postcss
"
:
"
^7.0.14
"
,
"
progress-bar-webpack-plugin
"
:
"
^1.11.0
"
,
"
progress-bar-webpack-plugin
"
:
"
^1.11.0
"
,
"
rimraf
"
:
"
^2.5.4
"
,
"
rimraf
"
:
"
^2.5.4
"
,
"
sass
"
:
"
^1.34.0
"
,
"
sass-loader
"
:
"
^7.1.0
"
,
"
sass-loader
"
:
"
^10.1.1
"
,
"
select-version-cli
"
:
"
^0.0.2
"
,
"
select-version-cli
"
:
"
^0.0.2
"
,
"
sinon
"
:
"
^7.2.7
"
,
"
sinon
"
:
"
^7.2.7
"
,
"
sinon-chai
"
:
"
^3.3.0
"
,
"
sinon-chai
"
:
"
^3.3.0
"
,
...
...
packages/theme-chalk/gulpfile.js
View file @
746935a7
'
use strict
'
;
'
use strict
'
;
const
{
series
,
src
,
dest
}
=
require
(
'
gulp
'
);
const
{
series
,
src
,
dest
}
=
require
(
'
gulp
'
);
const
sass
=
require
(
'
gulp-
dart-
sass
'
);
const
sass
=
require
(
'
gulp-sass
'
);
const
autoprefixer
=
require
(
'
gulp-autoprefixer
'
);
const
autoprefixer
=
require
(
'
gulp-autoprefixer
'
);
const
cssmin
=
require
(
'
gulp-cssmin
'
);
const
cssmin
=
require
(
'
gulp-cssmin
'
);
function
compile
()
{
function
compile
()
{
return
src
(
'
./src/*.scss
'
)
return
src
(
'
./src/*.scss
'
)
.
pipe
(
sass
.
sync
()
.
on
(
'
error
'
,
sass
.
logError
)
)
.
pipe
(
sass
.
sync
())
.
pipe
(
autoprefixer
({
.
pipe
(
autoprefixer
({
overrideBrowserslist
:
[
'
ie > 9
'
,
'
last 2 versions
'
],
browsers
:
[
'
ie > 9
'
,
'
last 2 versions
'
],
cascade
:
false
cascade
:
false
}))
}))
.
pipe
(
cssmin
())
.
pipe
(
cssmin
())
...
...
packages/theme-chalk/package.json
View file @
746935a7
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
"devDependencies"
:
{
"devDependencies"
:
{
"gulp"
:
"^3.9.1"
,
"gulp"
:
"^3.9.1"
,
"gulp-cssmin"
:
"^0.1.7"
,
"gulp-cssmin"
:
"^0.1.7"
,
"gulp-
dart-sass"
:
"^1.0.2
"
,
"gulp-
sass"
:
"^3.1.0
"
,
"gulp-autoprefixer"
:
"^4.0.0"
"gulp-autoprefixer"
:
"^4.0.0"
},
},
"dependencies"
:
{}
"dependencies"
:
{}
...
...
packages/theme-chalk/src/badge.scss
View file @
746935a7
@use
"sass:math"
;
@import
"mixins/mixins"
;
@import
"mixins/mixins"
;
@import
"common/var"
;
@import
"common/var"
;
...
@@ -23,7 +22,7 @@
...
@@ -23,7 +22,7 @@
@include
when
(
fixed
)
{
@include
when
(
fixed
)
{
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
right
:
#{
1
+
math
.
div
(
$--badge-size
,
2
)
}
;
right
:
#{
1
+
$--badge-size
/
2
}
;
transform
:
translateY
(
-50%
)
translateX
(
100%
);
transform
:
translateY
(
-50%
)
translateX
(
100%
);
@include
when
(
dot
)
{
@include
when
(
dot
)
{
...
...
packages/theme-chalk/src/carousel.scss
View file @
746935a7
@use
"sass:math"
;
@import
"mixins/mixins"
;
@import
"mixins/mixins"
;
@import
"common/var"
;
@import
"common/var"
;
...
@@ -123,7 +122,7 @@
...
@@ -123,7 +122,7 @@
padding
:
$--carousel-indicator-padding-horizontal
$--carousel-indicator-padding-vertical
;
padding
:
$--carousel-indicator-padding-horizontal
$--carousel-indicator-padding-vertical
;
.el-carousel__button
{
.el-carousel__button
{
width
:
$--carousel-indicator-height
;
width
:
$--carousel-indicator-height
;
height
:
#{
math
.
div
(
$--carousel-indicator-width
,
2
)
}
;
height
:
#{
$--carousel-indicator-width
/
2
}
;
}
}
}
}
...
...
packages/theme-chalk/src/col.scss
View file @
746935a7
@use
"sass:math"
;
@import
"./common/var.scss"
;
@import
"./common/var.scss"
;
@import
"./mixins/mixins.scss"
;
@import
"./mixins/mixins.scss"
;
...
@@ -13,21 +12,21 @@
...
@@ -13,21 +12,21 @@
@for
$i
from
0
through
24
{
@for
$i
from
0
through
24
{
.el-col-
#{
$i
}
{
.el-col-
#{
$i
}
{
width
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
width
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
.el-col-offset-
#{
$i
}
{
.el-col-offset-
#{
$i
}
{
margin-left
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
margin-left
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
.el-col-pull-
#{
$i
}
{
.el-col-pull-
#{
$i
}
{
position
:
relative
;
position
:
relative
;
right
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
right
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
.el-col-push-
#{
$i
}
{
.el-col-push-
#{
$i
}
{
position
:
relative
;
position
:
relative
;
left
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
left
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
}
}
...
@@ -37,21 +36,21 @@
...
@@ -37,21 +36,21 @@
}
}
@for
$i
from
0
through
24
{
@for
$i
from
0
through
24
{
.el-col-xs-
#{
$i
}
{
.el-col-xs-
#{
$i
}
{
width
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
width
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
.el-col-xs-offset-
#{
$i
}
{
.el-col-xs-offset-
#{
$i
}
{
margin-left
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
margin-left
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
.el-col-xs-pull-
#{
$i
}
{
.el-col-xs-pull-
#{
$i
}
{
position
:
relative
;
position
:
relative
;
right
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
right
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
.el-col-xs-push-
#{
$i
}
{
.el-col-xs-push-
#{
$i
}
{
position
:
relative
;
position
:
relative
;
left
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
left
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
}
}
}
}
...
@@ -62,21 +61,21 @@
...
@@ -62,21 +61,21 @@
}
}
@for
$i
from
0
through
24
{
@for
$i
from
0
through
24
{
.el-col-sm-
#{
$i
}
{
.el-col-sm-
#{
$i
}
{
width
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
width
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
.el-col-sm-offset-
#{
$i
}
{
.el-col-sm-offset-
#{
$i
}
{
margin-left
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
margin-left
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
.el-col-sm-pull-
#{
$i
}
{
.el-col-sm-pull-
#{
$i
}
{
position
:
relative
;
position
:
relative
;
right
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
right
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
.el-col-sm-push-
#{
$i
}
{
.el-col-sm-push-
#{
$i
}
{
position
:
relative
;
position
:
relative
;
left
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
left
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
}
}
}
}
...
@@ -87,21 +86,21 @@
...
@@ -87,21 +86,21 @@
}
}
@for
$i
from
0
through
24
{
@for
$i
from
0
through
24
{
.el-col-md-
#{
$i
}
{
.el-col-md-
#{
$i
}
{
width
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
width
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
.el-col-md-offset-
#{
$i
}
{
.el-col-md-offset-
#{
$i
}
{
margin-left
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
margin-left
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
.el-col-md-pull-
#{
$i
}
{
.el-col-md-pull-
#{
$i
}
{
position
:
relative
;
position
:
relative
;
right
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
right
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
.el-col-md-push-
#{
$i
}
{
.el-col-md-push-
#{
$i
}
{
position
:
relative
;
position
:
relative
;
left
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
left
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
}
}
}
}
...
@@ -112,21 +111,21 @@
...
@@ -112,21 +111,21 @@
}
}
@for
$i
from
0
through
24
{
@for
$i
from
0
through
24
{
.el-col-lg-
#{
$i
}
{
.el-col-lg-
#{
$i
}
{
width
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
width
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
.el-col-lg-offset-
#{
$i
}
{
.el-col-lg-offset-
#{
$i
}
{
margin-left
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
margin-left
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
.el-col-lg-pull-
#{
$i
}
{
.el-col-lg-pull-
#{
$i
}
{
position
:
relative
;
position
:
relative
;
right
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
right
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
.el-col-lg-push-
#{
$i
}
{
.el-col-lg-push-
#{
$i
}
{
position
:
relative
;
position
:
relative
;
left
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
left
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
}
}
}
}
...
@@ -137,21 +136,21 @@
...
@@ -137,21 +136,21 @@
}
}
@for
$i
from
0
through
24
{
@for
$i
from
0
through
24
{
.el-col-xl-
#{
$i
}
{
.el-col-xl-
#{
$i
}
{
width
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
width
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
.el-col-xl-offset-
#{
$i
}
{
.el-col-xl-offset-
#{
$i
}
{
margin-left
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
margin-left
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
.el-col-xl-pull-
#{
$i
}
{
.el-col-xl-pull-
#{
$i
}
{
position
:
relative
;
position
:
relative
;
right
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
right
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
.el-col-xl-push-
#{
$i
}
{
.el-col-xl-push-
#{
$i
}
{
position
:
relative
;
position
:
relative
;
left
:
(
math
.
div
(
1
,
24
)
*
$i
*
100
)
*
1%
;
left
:
(
1
/
24
*
$i
*
100
)
*
1%
;
}
}
}
}
}
}
\ No newline at end of file
packages/theme-chalk/src/common/var.scss
View file @
746935a7
@use
"sass:math"
;
/* Element Chalk Variables */
/* Element Chalk Variables */
// Special comment for theme configurator
// Special comment for theme configurator
...
@@ -487,7 +486,7 @@ $--cascader-tag-background: #f0f2f5;
...
@@ -487,7 +486,7 @@ $--cascader-tag-background: #f0f2f5;
/* Group
/* Group
-------------------------- */
-------------------------- */
$--group-option-flex
:
0
0
math
.
div
(
1
,
5
)
*
100%
!
default
;
$--group-option-flex
:
0
0
(
1
/
5
)
*
100%
!
default
;
$--group-option-offset-bottom
:
12px
!
default
;
$--group-option-offset-bottom
:
12px
!
default
;
$--group-option-fill-hover
:
rgba
(
$--color-black
,
0
.06
)
!
default
;
$--group-option-fill-hover
:
rgba
(
$--color-black
,
0
.06
)
!
default
;
$--group-title-color
:
$--color-black
!
default
;
$--group-title-color
:
$--color-black
!
default
;
...
...
packages/theme-chalk/src/input-number.scss
View file @
746935a7
@use
"sass:math"
;
@import
"mixins/mixins"
;
@import
"mixins/mixins"
;
@import
"common/var"
;
@import
"common/var"
;
@import
"input"
;
@import
"input"
;
...
@@ -138,7 +137,7 @@
...
@@ -138,7 +137,7 @@
@include
e
((
increase
,
decrease
))
{
@include
e
((
increase
,
decrease
))
{
height
:
auto
;
height
:
auto
;
line-height
:
#{
math
.
div
(
$--input-height
-
2
,
2
)
}
;
line-height
:
#{
(
$--input-height
-
2
)
/
2
}
;
[
class
*=
el-icon
]
{
[
class
*=
el-icon
]
{
transform
:
scale
(
.8
);
transform
:
scale
(
.8
);
...
@@ -162,19 +161,19 @@
...
@@ -162,19 +161,19 @@
&
[
class
*=
medium
]
{
&
[
class
*=
medium
]
{
[
class
*=
increase
],
[
class
*=
decrease
]
{
[
class
*=
increase
],
[
class
*=
decrease
]
{
line-height
:
#{
math
.
div
(
$--input-medium-height
-
2
,
2
)
}
;
line-height
:
#{
(
$--input-medium-height
-
2
)
/
2
}
;
}
}
}
}
&
[
class
*=
small
]
{
&
[
class
*=
small
]
{
[
class
*=
increase
],
[
class
*=
decrease
]
{
[
class
*=
increase
],
[
class
*=
decrease
]
{
line-height
:
#{
math
.
div
(
$--input-small-height
-
2
,
2
)
}
;
line-height
:
#{
(
$--input-small-height
-
2
)
/
2
}
;
}
}
}
}
&
[
class
*=
mini
]
{
&
[
class
*=
mini
]
{
[
class
*=
increase
],
[
class
*=
decrease
]
{
[
class
*=
increase
],
[
class
*=
decrease
]
{
line-height
:
#{
math
.
div
(
$--input-mini-height
-
2
,
2
)
}
;
line-height
:
#{
(
$--input-mini-height
-
2
)
/
2
}
;
}
}
}
}
}
}
...
...
packages/theme-chalk/src/loading.scss
View file @
746935a7
@use
"sass:math"
;
@import
"mixins/mixins"
;
@import
"mixins/mixins"
;
@import
"common/var"
;
@import
"common/var"
;
...
@@ -27,7 +26,7 @@
...
@@ -27,7 +26,7 @@
position
:
fixed
;
position
:
fixed
;
.el-loading-spinner
{
.el-loading-spinner
{
margin-top
:
#{
math
.
div
(
-
$--loading-fullscreen-spinner-size
,
2
)
}
;
margin-top
:
#{
-
$--loading-fullscreen-spinner-size
/
2
}
;
.circular
{
.circular
{
height
:
$--loading-fullscreen-spinner-size
;
height
:
$--loading-fullscreen-spinner-size
;
...
@@ -39,7 +38,7 @@
...
@@ -39,7 +38,7 @@
@include
b
(
loading-spinner
)
{
@include
b
(
loading-spinner
)
{
top
:
50%
;
top
:
50%
;
margin-top
:
#{
math
.
div
(
-
$--loading-spinner-size
,
2
)
}
;
margin-top
:
#{
-
$--loading-spinner-size
/
2
}
;
width
:
100%
;
width
:
100%
;
text-align
:
center
;
text-align
:
center
;
position
:
absolute
;
position
:
absolute
;
...
...
packages/theme-chalk/src/mixins/mixins.scss
View file @
746935a7
...
@@ -6,17 +6,8 @@
...
@@ -6,17 +6,8 @@
@mixin
res
(
$key
,
$map
:
$--breakpoints
)
{
@mixin
res
(
$key
,
$map
:
$--breakpoints
)
{
// 循环断点Map,如果存在则返回
// 循环断点Map,如果存在则返回
@if
map-has-key
(
$map
,
$key
)
{
@if
map-has-key
(
$map
,
$key
)
{
@if
$key
==
'sm-only'
or
$key
==
'md-only'
or
$key
==
'lg-only'
{
@media
only
screen
and
#{
inspect
(
map-get
(
$map
,
$key
))
}
{
// 判定特定定义处理字符串参数值问题
@content
;
@media
only
screen
and
#{
unquote
(
map-get
(
$map
,
$key
))
}
{
@content
;
}
}
@else
{
@media
only
screen
and
#{
inspect
(
map-get
(
$map
,
$key
))
}
{
@content
;
}
}
}
}
@else
{
}
@else
{
@warn
"Undefeined points: `
#{
$map
}
`"
;
@warn
"Undefeined points: `
#{
$map
}
`"
;
...
...
packages/theme-chalk/src/popper.scss
View file @
746935a7
@use
"sass:math"
;
@import
"mixins/mixins"
;
@import
"mixins/mixins"
;
@import
"common/var"
;
@import
"common/var"
;
...
@@ -30,7 +29,7 @@
...
@@ -30,7 +29,7 @@
&
[
x-placement
^=
"top"
]
.popper__arrow
{
&
[
x-placement
^=
"top"
]
.popper__arrow
{
bottom
:
-
$--popover-arrow-size
;
bottom
:
-
$--popover-arrow-size
;
left
:
50%
;
left
:
50%
;
margin-right
:
math
.
div
(
$--tooltip-arrow-size
,
2
)
;
margin-right
:
#{
$--tooltip-arrow-size
/
2
}
;
border-top-color
:
$--popover-border-color
;
border-top-color
:
$--popover-border-color
;
border-bottom-width
:
0
;
border-bottom-width
:
0
;
...
@@ -49,7 +48,7 @@
...
@@ -49,7 +48,7 @@
&
[
x-placement
^=
"bottom"
]
.popper__arrow
{
&
[
x-placement
^=
"bottom"
]
.popper__arrow
{
top
:
-
$--popover-arrow-size
;
top
:
-
$--popover-arrow-size
;
left
:
50%
;
left
:
50%
;
margin-right
:
math
.
div
(
$--tooltip-arrow-size
,
2
)
;
margin-right
:
#{
$--tooltip-arrow-size
/
2
}
;
border-top-width
:
0
;
border-top-width
:
0
;
border-bottom-color
:
$--popover-border-color
;
border-bottom-color
:
$--popover-border-color
;
...
@@ -68,7 +67,7 @@
...
@@ -68,7 +67,7 @@
&
[
x-placement
^=
"right"
]
.popper__arrow
{
&
[
x-placement
^=
"right"
]
.popper__arrow
{
top
:
50%
;
top
:
50%
;
left
:
-
$--popover-arrow-size
;
left
:
-
$--popover-arrow-size
;
margin-bottom
:
#{
math
.
div
(
$--tooltip-arrow-size
,
2
)
}
;
margin-bottom
:
#{
$--tooltip-arrow-size
/
2
}
;
border-right-color
:
$--popover-border-color
;
border-right-color
:
$--popover-border-color
;
border-left-width
:
0
;
border-left-width
:
0
;
...
@@ -87,7 +86,7 @@
...
@@ -87,7 +86,7 @@
&
[
x-placement
^=
"left"
]
.popper__arrow
{
&
[
x-placement
^=
"left"
]
.popper__arrow
{
top
:
50%
;
top
:
50%
;
right
:
-
$--popover-arrow-size
;
right
:
-
$--popover-arrow-size
;
margin-bottom
:
#{
math
.
div
(
$--tooltip-arrow-size
,
2
)
}
;
margin-bottom
:
#{
$--tooltip-arrow-size
/
2
}
;
border-right-width
:
0
;
border-right-width
:
0
;
border-left-color
:
$--popover-border-color
;
border-left-color
:
$--popover-border-color
;
...
...
packages/theme-chalk/src/transfer.scss
View file @
746935a7
@use
"sass:math"
;
@import
"mixins/mixins"
;
@import
"mixins/mixins"
;
@import
"mixins/utils"
;
@import
"mixins/utils"
;
@import
"common/var"
;
@import
"common/var"
;
...
@@ -139,7 +138,7 @@
...
@@ -139,7 +138,7 @@
font-size
:
12px
;
font-size
:
12px
;
display
:
inline-block
;
display
:
inline-block
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
border-radius
:
#{
math
.
div
(
$--transfer-filter-height
,
2
)
}
;
border-radius
:
#{
$--transfer-filter-height
/
2
}
;
padding-right
:
10px
;
padding-right
:
10px
;
padding-left
:
30px
;
padding-left
:
30px
;
}
}
...
...
yarn.lock
View file @
746935a7
This diff is collapsed.
Click to expand it.
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