Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
origin-web-common
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Java-于龙
origin-web-common
Commits
281d40bb
Commit
281d40bb
authored
Sep 18, 2017
by
Jeffrey Phillips
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set guided tour close button styles, override hopscotch image setting.
parent
2a98c3d5
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
50 additions
and
4 deletions
+50
-4
_guided-tour.less
dist/less/_guided-tour.less
+14
-0
origin-web-common-ui.js
dist/origin-web-common-ui.js
+2
-1
origin-web-common.css
dist/origin-web-common.css
+14
-0
origin-web-common.js
dist/origin-web-common.js
+2
-1
origin-web-common.min.js
dist/origin-web-common.min.js
+2
-1
_guided-tour.less
src/styles/_guided-tour.less
+14
-0
guidedTourService.js
src/ui-services/guidedTourService.js
+2
-1
No files found.
dist/less/_guided-tour.less
View file @
281d40bb
...
...
@@ -97,8 +97,22 @@ div.hopscotch-bubble {
}
.hopscotch-bubble-close {
background: none;
color: transparent;
line-height: 0;
right: 8px;
text-indent: inherit;
top: 7px;
&:after {
color: @color-pf-black-500;
content: @pficon-var-close;
display: inline-block;
font-family: "PatternFlyIcons-webfont";
left: 7px;
line-height: 1;
position: absolute;
top: 7px;
}
}
.hopscotch-bubble-container {
...
...
dist/origin-web-common-ui.js
View file @
281d40bb
...
...
@@ -1903,7 +1903,8 @@ angular.module('openshiftCommonUI').factory('GuidedTourService', function() {
showPrevButton
:
true
,
i18n
:
{
nextBtn
:
'Next >'
,
prevBtn
:
'< Back'
prevBtn
:
'< Back'
,
closeTooltip
:
'x'
// this is the button text not a tooltip, hidden but must be 1 character for focus border (cannot but empty or null)
}
};
hopscotchConfig
=
{};
...
...
dist/origin-web-common.css
View file @
281d40bb
...
...
@@ -240,7 +240,21 @@ div.hopscotch-bubble .hopscotch-bubble-arrow-container.up .hopscotch-bubble-arro
margin-top
:
2px
;
}
div
.hopscotch-bubble
.hopscotch-bubble-close
{
background
:
none
;
color
:
transparent
;
line-height
:
0
;
right
:
8px
;
text-indent
:
inherit
;
top
:
7px
;
}
div
.hopscotch-bubble
.hopscotch-bubble-close
:after
{
color
:
#8b8d8f
;
content
:
"\e60b"
;
display
:
inline-block
;
font-family
:
"PatternFlyIcons-webfont"
;
left
:
7px
;
line-height
:
1
;
position
:
absolute
;
top
:
7px
;
}
div
.hopscotch-bubble
.hopscotch-bubble-container
{
...
...
dist/origin-web-common.js
View file @
281d40bb
...
...
@@ -5546,7 +5546,8 @@ angular.module('openshiftCommonUI').factory('GuidedTourService', function() {
showPrevButton
:
true
,
i18n
:
{
nextBtn
:
'Next >'
,
prevBtn
:
'< Back'
prevBtn
:
'< Back'
,
closeTooltip
:
'x'
// this is the button text not a tooltip, hidden but must be 1 character for focus border (cannot but empty or null)
}
};
hopscotchConfig
=
{};
...
...
dist/origin-web-common.min.js
View file @
281d40bb
...
...
@@ -2384,7 +2384,8 @@ onClose:handleTourEnd,
showPrevButton
:
!
0
,
i18n
:{
nextBtn
:
"Next >"
,
prevBtn
:
"< Back"
prevBtn
:
"< Back"
,
closeTooltip
:
"x"
}
},
hopscotchConfig
=
{},
angular
.
merge
(
hopscotchConfig
,
innerConfig
,
tourConfig
),
setupSteps
(),
makeStepTargetVisible
(
0
),
hopscotch
.
startTour
(
hopscotchConfig
,
0
);
},
cancelTour
=
function
()
{
...
...
src/styles/_guided-tour.less
View file @
281d40bb
...
...
@@ -97,8 +97,22 @@ div.hopscotch-bubble {
}
.hopscotch-bubble-close {
background: none;
color: transparent;
line-height: 0;
right: 8px;
text-indent: inherit;
top: 7px;
&:after {
color: @color-pf-black-500;
content: @pficon-var-close;
display: inline-block;
font-family: "PatternFlyIcons-webfont";
left: 7px;
line-height: 1;
position: absolute;
top: 7px;
}
}
.hopscotch-bubble-container {
...
...
src/ui-services/guidedTourService.js
View file @
281d40bb
...
...
@@ -18,7 +18,8 @@ angular.module('openshiftCommonUI').factory('GuidedTourService', function() {
showPrevButton
:
true
,
i18n
:
{
nextBtn
:
'Next >'
,
prevBtn
:
'< Back'
prevBtn
:
'< Back'
,
closeTooltip
:
'x'
// this is the button text not a tooltip, hidden but must be 1 character for focus border (cannot but empty or null)
}
};
hopscotchConfig
=
{};
...
...
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