0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-14 06:47:55 +01:00
doodle3d-client/less/help_joyride-2.1.less
2014-01-17 12:51:54 +01:00

337 lines
10 KiB
Plaintext

//@helpBlue: #2470E2;
@modalBgColor: rgba(0,0,0, 0.30);
@darkBlue: #013;
@helpBlue: #1B76FF;
@helpFullBlue: rgb(0,85,214);
@helpDarkBlue: darken(desaturate(@helpBlue, 25%), 35%);
@tipBgColor: rgba(255, 255, 255, 1.0);
/* Default styles for the container */
.joyride-tip-guide {
position: absolute;
// background: #000;
background: @tipBgColor;
display: none;
color: @darkBlue;
// color: rgb(0,99,255);
width: 300px;
z-index: 101;
top: 0; /* keeps the page from scrolling when calculating position */
left: 0;
// font-family: "HelveticaNeue", "Helvetica Neue", "Helvetica", Helvetica, Arial, Lucida, sans-serif;
font-weight: normal;
border-radius: 10px;
// border: 3px solid #5FCE4F;
// border: 3px solid #374952;
border: 3px solid @helpFullBlue;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}
.joyride-content-wrapper {
padding: 10px 10px 15px 15px;
}
/* Add a little css triangle pip, older browser just miss out on the fanciness of it */
.joyride-tip-guide span.joyride-nub {
display: block;
position: absolute;
right: 22px;
width: 0;
height: 0;
border: solid 14px;
// box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}
.joyride-tip-guide span.joyride-nub.top {
// IE7/IE8 Don't support rgba so we set the fallback
// border color here. However, IE7/IE8 are also buggy
// in that the fallback color doesn't work for
// border-bottom-color so here we set the border-color
// and override the top,left,right colors below.
// border-color: #000;
// border-color: rgba(67, 216, 20, 1.0) !important;
border-color: @helpFullBlue !important;
// border-color: rgba(0,0,0,0.8);
border-top-color: transparent !important;
border-left-color: transparent !important;
border-right-color: transparent !important;
border-top-width: 0;
top: -14px;
bottom: 0;
}
.joyride-tip-guide span.joyride-nub.bottom {
// IE7/IE8 Don't support rgba so we set the fallback
// border color here. However, IE7/IE8 are also buggy
// in that the fallback color doesn't work for
// border-top-color so here we set the border-color
// and override the bottom,left,right colors below.
// border-color: #000;
// border-color: rgba(67, 216, 20, 1.0) !important;
border-color: @helpFullBlue !important;
// border-color: rgba(0,0,0,0.8) !important;
border-bottom-color: transparent !important;
border-left-color: transparent !important;
border-right-color: transparent !important;
border-bottom-width: 0;
bottom: -14px !important;
bottom: 0;
}
.joyride-tip-guide span.joyride-nub.right {
// border-color: #000;
// border-color: rgba(67, 216, 20, 1.0) !important;
border-color: @helpFullBlue !important;
// border-color: rgba(0,0,0,0.8) !important;
border-top-color: transparent !important;
border-right-color: transparent !important;
border-bottom-color: transparent !important;
border-right-width: 0;
top: 22px;
bottom: 0;
left: auto;
right: -14px;
}
.joyride-tip-guide span.joyride-nub.left {
// border-color: #000;
// border-color: rgba(67, 216, 20, 1.0) !important;
border-color: @helpFullBlue !important;
// border-color: rgba(0,0,0,0.8) !important;
border-top-color: transparent !important;
border-left-color: transparent !important;
border-bottom-color: transparent !important;
border-left-width: 0;
top: 22px;
left: -14px;
right: auto;
bottom: 0;
}
.joyride-tip-guide span.joyride-nub.top-right {
// border-color: #000;
border-color: @helpFullBlue;
border-top-color: transparent !important;
border-left-color: transparent !important;
border-right-color: transparent !important;
border-top-width: 0;
top: -14px;
bottom: 0;
left: auto;
right: 28px;
}
/* Typography */
//.joyride-tip-guide h1,.joyride-tip-guide h2,.joyride-tip-guide h3,.joyride-tip-guide h4,.joyride-tip-guide h5,.joyride-tip-guide h6 {
//}
.joyride-tip-guide {
h1, h2, h3, h4, h5, h6 {
line-height: 1.25em;
margin: 0;
font-weight: bold;
// color: #2DDF34;
color: @helpFullBlue;
// color: #fff;
}
}
.joyride-tip-guide h1 { font-size: 1.85em; }
.joyride-tip-guide h2 { font-size: 1.7em; }
.joyride-tip-guide h3 { font-size: 1.55em; }
.joyride-tip-guide h4 { font-size: 1.4em; }
.joyride-tip-guide h5 { font-size: 1.25em; }
.joyride-tip-guide h6 { font-size: 1.1em; }
.joyride-tip-guide {
p {
// margin: 0 0 18px 0;
margin: 5px 0 25px;
font-size: 1.1em;
line-height: 1.3em;
}
a {
// color: rgb(255,255,255);
color: @helpFullBlue;
text-decoration: none;
// border-bottom: dotted 1px rgba(255,255,255,0.6);
border-bottom: dotted 1px lighten(@helpFullBlue, 20%);
&:hover {
// color: rgba(255,255,255,0.8);
color: lighten(@helpFullBlue, 20%);
border-bottom: none;
}
}
.joyride-next-tip {
width: auto;
padding: 6px 18px 4px;
font-size: 13px;
text-decoration: none;
color: rgb(255,255,255);
border: solid 1px rgb(0,60,180);
background: rgb(0,99,255);
// background: -moz-linear-gradient(top, rgb(0,99,255) 0%, rgb(0,85,214) 100%);
// background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(0,99,255)), color-stop(100%,rgb(0,85,214)));
// background: -webkit-linear-gradient(top, rgb(0,99,255) 0%,rgb(0,85,214) 100%);
// background: -o-linear-gradient(top, rgb(0,99,255) 0%,rgb(0,85,214) 100%);
// background: -ms-linear-gradient(top, rgb(0,99,255) 0%,rgb(0,85,214) 100%);
// filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0063ff', endColorstr='#0055d6',GradientType=0 );
background: linear-gradient(top, rgb(0,99,255) 0%,rgb(0,85,214) 100%);
text-shadow: 0 -1px 0 rgba(0,0,0,0.5);
border-radius: 2px;
box-shadow: 0px 1px 0px rgba(255,255,255,0.3) inset;
&:hover {
color: rgb(255,255,255) !important;
border: solid 1px rgb(0,60,180) !important;
background: rgb(43,128,255);
// background: -moz-linear-gradient(top, rgb(43,128,255) 0%, rgb(29,102,211) 100%);
// background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(43,128,255)), color-stop(100%,rgb(29,102,211)));
// background: -webkit-linear-gradient(top, rgb(43,128,255) 0%,rgb(29,102,211) 100%);
// background: -o-linear-gradient(top, rgb(43,128,255) 0%,rgb(29,102,211) 100%);
// background: -ms-linear-gradient(top, rgb(43,128,255) 0%,rgb(29,102,211) 100%);
// filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b80ff', endColorstr='#1d66d3',GradientType=0 );
background: linear-gradient(top, rgb(43,128,255) 0%,rgb(29,102,211) 100%);
}
}
}
// Button Style
//.joyride-tip-guide .joyride-next-tip {
// width: auto;
// padding: 6px 18px 4px;
// font-size: 13px;
// text-decoration: none;
// color: rgb(255,255,255);
// border: solid 1px rgb(0,60,180);
// background: rgb(0,99,255);
// background: -moz-linear-gradient(top, rgb(0,99,255) 0%, rgb(0,85,214) 100%);
// background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(0,99,255)), color-stop(100%,rgb(0,85,214)));
// background: -webkit-linear-gradient(top, rgb(0,99,255) 0%,rgb(0,85,214) 100%);
// background: -o-linear-gradient(top, rgb(0,99,255) 0%,rgb(0,85,214) 100%);
// background: -ms-linear-gradient(top, rgb(0,99,255) 0%,rgb(0,85,214) 100%);
// filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0063ff', endColorstr='#0055d6',GradientType=0 );
// background: linear-gradient(top, rgb(0,99,255) 0%,rgb(0,85,214) 100%);
// text-shadow: 0 -1px 0 rgba(0,0,0,0.5);
// border-radius: 2px;
// box-shadow: 0px 1px 0px rgba(255,255,255,0.3) inset;
//}
//.joyride-next-tip:hover {
// color: rgb(255,255,255) !important;
// border: solid 1px rgb(0,60,180) !important;
// background: rgb(43,128,255);
// background: -moz-linear-gradient(top, rgb(43,128,255) 0%, rgb(29,102,211) 100%);
// background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(43,128,255)), color-stop(100%,rgb(29,102,211)));
// background: -webkit-linear-gradient(top, rgb(43,128,255) 0%,rgb(29,102,211) 100%);
// background: -o-linear-gradient(top, rgb(43,128,255) 0%,rgb(29,102,211) 100%);
// background: -ms-linear-gradient(top, rgb(43,128,255) 0%,rgb(29,102,211) 100%);
// filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b80ff', endColorstr='#1d66d3',GradientType=0 );
// background: linear-gradient(top, rgb(43,128,255) 0%,rgb(29,102,211) 100%);
//}
.joyride-timer-indicator-wrap {
width: 50px;
height: 3px;
border: solid 1px rgba(255,255,255,0.1);
position: absolute;
right: 17px;
bottom: 16px;
}
.joyride-timer-indicator {
display: block;
width: 0;
height: inherit;
background: rgba(255,255,255,0.25);
}
.joyride-close-tip {
position: absolute;
right: 10px;
top: 10px;
// color: rgba(255,255,255,0.4) !important;
color: rgba(0, 0, 0, 0.5) !important;
text-decoration: none;
font-family: Verdana, sans-serif;
font-size: 10px;
font-weight: bold;
border-bottom: none !important;
&:hover {
color: rgba(0, 0, 0, 0.9) !important;
// color: rgba(255,255,255,0.9) !important;
}
}
//.joyride-close-tip:hover {
// color: rgba(0, 0, 0, 0.9) !important;
//// color: rgba(255,255,255,0.9) !important;
//}
.joyride-modal-bg {
position: fixed;
height: 100%;
width: 100%;
background: @modalBgColor;
z-index: 100;
display: none;
top: 0;
left: 0;
cursor: pointer;
}
.joyride-expose-wrapper {
background-color: #fff;
position: absolute;
z-index: 102;
box-shadow: 0px 0px 30px #fff;
border-radius: 5px;
}
.joyride-expose-cover {
background: transparent;
position: absolute;
//z-index: 10000;
top: 0;
left: 0;
border-radius: 5px;
}
// Mobile
@media only screen and (max-width: 767px) {
.joyride-tip-guide {
// width: 75% !important;
// border-radius: 0;
p {
margin: 5px 0 18px;
font-size: 1.0em;
}
.joyride-next-tip {
// width: auto;
// padding: 6px 18px 4px;
font-size: 1.0em;
}
h1 { font-size: 1.60em; }
h2 { font-size: 1.48em; }
h3 { font-size: 1.36em; }
h4 { font-size: 1.24em; }
h5 { font-size: 1.12em; }
h6 { font-size: 1.0em; }
}
.joyride-tip-guide-wrapper {
width: 80%;
}
}