Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
joshine
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
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
joshine
Commits
30dc2f27
Commit
30dc2f27
authored
Feb 16, 2023
by
halweg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat : joshine_utils less 添加button部件
parent
b01652c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
57 deletions
+57
-57
app/code/Joshine/Review/view/frontend/web/css/_button.css
+0
-57
app/design/frontend/Joshine/breeze/web/css/_joshine_utils.less
+57
-0
No files found.
app/code/Joshine/Review/view/frontend/web/css/_button.css
deleted
100644 → 0
View file @
b01652c1
.joshine-btn
{
display
:
inline-block
;
padding
:
6px
12px
;
margin-bottom
:
0
;
font-size
:
14px
;
font-weight
:
normal
;
line-height
:
1.42857143
;
text-align
:
center
;
white-space
:
nowrap
;
vertical-align
:
middle
;
-ms-touch-action
:
manipulation
;
touch-action
:
manipulation
;
cursor
:
pointer
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
;
background-image
:
none
;
border
:
1px
solid
transparent
;
}
.joshine-btn
:focus
,
.joshine-btn
:active:focus
,
.joshine-btn.active
:focus
,
.joshine-btn.focus
,
.joshine-btn
:active
.focus
,
.joshine-btn.active.focus
{
outline
:
5px
auto
-webkit-focus-ring-color
;
outline-offset
:
-2px
;
}
.joshine-btn
:active
,
.joshine-btn.active
{
background-image
:
none
;
outline
:
0
;
-webkit-box-shadow
:
inset
0
3px
5px
rgba
(
0
,
0
,
0
,
.125
);
box-shadow
:
inset
0
3px
5px
rgba
(
0
,
0
,
0
,
.125
);
}
.joshine-btn.disabled
,
.joshine-btn
[
disabled
],
fieldset
[
disabled
]
.joshine-btn
{
cursor
:
not-allowed
;
filter
:
alpha
(
opacity
=
65
);
-webkit-box-shadow
:
none
;
box-shadow
:
none
;
opacity
:
.65
;
}
a
.joshine-btn.disabled
,
fieldset
[
disabled
]
a
.joshine-btn
{
pointer-events
:
none
;
}
.joshine-btn-dark
{
color
:
#fff
;
background-color
:
#000
;
border-color
:
#000
;
}
app/design/frontend/Joshine/breeze/web/css/_joshine_utils.less
View file @
30dc2f27
...
...
@@ -36,7 +36,64 @@
margin: 0;
background: #ed9d00;
}
/*按钮*/
.joshine-btn {
display: inline-block;
padding: 6px 12px;
margin-bottom: 0;
font-size: 14px;
font-weight: normal;
line-height: 1.42857143;
text-align: center;
white-space: nowrap;
vertical-align: middle;
-ms-touch-action: manipulation;
touch-action: manipulation;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-image: none;
border: 1px solid transparent;
}
.joshine-btn:focus,
.joshine-btn:active:focus,
.joshine-btn.active:focus,
.joshine-btn.focus,
.joshine-btn:active.focus,
.joshine-btn.active.focus {
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
.joshine-btn:active,
.joshine-btn.active {
background-image: none;
outline: 0;
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}
.joshine-btn.disabled,
.joshine-btn[disabled],
fieldset[disabled] .joshine-btn {
cursor: not-allowed;
filter: alpha(opacity=65);
-webkit-box-shadow: none;
box-shadow: none;
opacity: .65;
}
a.joshine-btn.disabled,
fieldset[disabled] a.joshine-btn {
pointer-events: none;
}
.joshine-btn-dark {
color: #fff;
background-color: #000;
border-color: #000;
}
/**********************原子部件*************************/
/*背景色组*/
.joshine-bg-default {
background-color: #f7f8fa !important;
...
...
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