新手操作指南Demo - 使用双汇UI代码

introjs.css 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513
  1. .introjs-overlay {
  2. position: absolute;
  3. box-sizing: content-box;
  4. z-index: 999999;
  5. background-color: #000;
  6. opacity: 0;
  7. background: -moz-radial-gradient(center,ellipse farthest-corner,rgba(0,0,0,0.4) 0,rgba(0,0,0,0.9) 100%);
  8. background: -webkit-gradient(radial,center center,0px,center center,100%,color-stop(0%,rgba(0,0,0,0.4)),color-stop(100%,rgba(0,0,0,0.9)));
  9. background: -webkit-radial-gradient(center,ellipse farthest-corner,rgba(0,0,0,0.4) 0,rgba(0,0,0,0.9) 100%);
  10. background: -o-radial-gradient(center,ellipse farthest-corner,rgba(0,0,0,0.4) 0,rgba(0,0,0,0.9) 100%);
  11. background: -ms-radial-gradient(center,ellipse farthest-corner,rgba(0,0,0,0.4) 0,rgba(0,0,0,0.9) 100%);
  12. background: radial-gradient(center,ellipse farthest-corner,rgba(0,0,0,0.4) 0,rgba(0,0,0,0.9) 100%);
  13. filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#66000000',endColorstr='#e6000000',GradientType=1)";
  14. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  15. filter: alpha(opacity=50);
  16. -webkit-transition: all 0.3s ease-out;
  17. -moz-transition: all 0.3s ease-out;
  18. -ms-transition: all 0.3s ease-out;
  19. -o-transition: all 0.3s ease-out;
  20. transition: all 0.3s ease-out;
  21. }
  22. .introjs-fixParent {
  23. z-index: auto !important;
  24. opacity: 1.0 !important;
  25. -webkit-transform: none !important;
  26. -moz-transform: none !important;
  27. -ms-transform: none !important;
  28. -o-transform: none !important;
  29. transform: none !important;
  30. }
  31. .introjs-showElement,
  32. tr.introjs-showElement > td,
  33. tr.introjs-showElement > th {
  34. z-index: 9999999 !important;
  35. }
  36. .introjs-disableInteraction {
  37. z-index: 99999999 !important;
  38. position: absolute;
  39. background-color: white;
  40. opacity: 0;
  41. filter: alpha(opacity=0);
  42. }
  43. .introjs-relativePosition,
  44. tr.introjs-showElement > td,
  45. tr.introjs-showElement > th {
  46. position: relative;
  47. }
  48. .introjs-helperLayer {
  49. box-sizing: content-box;
  50. position: absolute;
  51. z-index: 9999998;
  52. background-color: #FFF;
  53. background-color: rgba(255,255,255,.9);
  54. border: 1px solid #777;
  55. border: 1px solid rgba(0,0,0,.5);
  56. border-radius: 4px;
  57. box-shadow: 0 2px 15px rgba(0,0,0,.4);
  58. -webkit-transition: all 0.3s ease-out;
  59. -moz-transition: all 0.3s ease-out;
  60. -ms-transition: all 0.3s ease-out;
  61. -o-transition: all 0.3s ease-out;
  62. transition: all 0.3s ease-out;
  63. }
  64. .introjs-tooltipReferenceLayer {
  65. box-sizing: content-box;
  66. position: absolute;
  67. visibility: hidden;
  68. z-index: 100000000;
  69. background-color: transparent;
  70. -webkit-transition: all 0.3s ease-out;
  71. -moz-transition: all 0.3s ease-out;
  72. -ms-transition: all 0.3s ease-out;
  73. -o-transition: all 0.3s ease-out;
  74. transition: all 0.3s ease-out;
  75. }
  76. .introjs-helperLayer *,
  77. .introjs-helperLayer *:before,
  78. .introjs-helperLayer *:after {
  79. -webkit-box-sizing: content-box;
  80. -moz-box-sizing: content-box;
  81. -ms-box-sizing: content-box;
  82. -o-box-sizing: content-box;
  83. box-sizing: content-box;
  84. }
  85. .introjs-helperNumberLayer {
  86. box-sizing: content-box;
  87. position: absolute;
  88. visibility: visible;
  89. top: -16px;
  90. left: -16px;
  91. z-index: 9999999999 !important;
  92. padding: 2px;
  93. font-family: Arial, verdana, tahoma;
  94. font-size: 13px;
  95. font-weight: bold;
  96. color: white;
  97. text-align: center;
  98. text-shadow: 1px 1px 1px rgba(0,0,0,.3);
  99. background: #ff3019; /* Old browsers */
  100. background: -webkit-linear-gradient(top, #ff3019 0%, #cf0404 100%); /* Chrome10+,Safari5.1+ */
  101. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ff3019), color-stop(100%, #cf0404)); /* Chrome,Safari4+ */
  102. background: -moz-linear-gradient(top, #ff3019 0%, #cf0404 100%); /* FF3.6+ */
  103. background: -ms-linear-gradient(top, #ff3019 0%, #cf0404 100%); /* IE10+ */
  104. background: -o-linear-gradient(top, #ff3019 0%, #cf0404 100%); /* Opera 11.10+ */
  105. background: linear-gradient(to bottom, #ff3019 0%, #cf0404 100%); /* W3C */
  106. width: 20px;
  107. height:20px;
  108. line-height: 20px;
  109. border: 3px solid white;
  110. border-radius: 50%;
  111. filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3019', endColorstr='#cf0404', GradientType=0)"; /* IE6-9 */
  112. filter: "progid:DXImageTransform.Microsoft.Shadow(direction=135, strength=2, color=ff0000)"; /* IE10 text shadows */
  113. box-shadow: 0 2px 5px rgba(0,0,0,.4);
  114. }
  115. .introjs-arrow {
  116. border: 5px solid transparent;
  117. content:'';
  118. position: absolute;
  119. }
  120. .introjs-arrow.top {
  121. top: -10px;
  122. border-bottom-color:white;
  123. }
  124. .introjs-arrow.top-right {
  125. top: -10px;
  126. right: 10px;
  127. border-bottom-color:white;
  128. }
  129. .introjs-arrow.top-middle {
  130. top: -10px;
  131. left: 50%;
  132. margin-left: -5px;
  133. border-bottom-color:white;
  134. }
  135. .introjs-arrow.right {
  136. right: -10px;
  137. top: 10px;
  138. border-left-color:white;
  139. }
  140. .introjs-arrow.right-bottom {
  141. bottom:10px;
  142. right: -10px;
  143. border-left-color:white;
  144. }
  145. .introjs-arrow.bottom {
  146. bottom: -10px;
  147. border-top-color:white;
  148. }
  149. .introjs-arrow.bottom-right {
  150. bottom: -10px;
  151. right: 10px;
  152. border-top-color:white;
  153. }
  154. .introjs-arrow.bottom-middle {
  155. bottom: -10px;
  156. left: 50%;
  157. margin-left: -5px;
  158. border-top-color:white;
  159. }
  160. .introjs-arrow.left {
  161. left: -10px;
  162. top: 10px;
  163. border-right-color:white;
  164. }
  165. .introjs-arrow.left-bottom {
  166. left: -10px;
  167. bottom:10px;
  168. border-right-color:white;
  169. }
  170. .introjs-tooltip {
  171. box-sizing: content-box;
  172. position: absolute;
  173. visibility: visible;
  174. padding: 10px;
  175. /*background-color: white;*/
  176. background-color: rgb(48, 76, 98);
  177. min-width: 200px;
  178. max-width: 300px;
  179. border-radius: 3px;
  180. box-shadow: 0 1px 10px rgba(0,0,0,.4);
  181. -webkit-transition: opacity 0.1s ease-out;
  182. -moz-transition: opacity 0.1s ease-out;
  183. -ms-transition: opacity 0.1s ease-out;
  184. -o-transition: opacity 0.1s ease-out;
  185. transition: opacity 0.1s ease-out;
  186. }
  187. .introjs-tooltiptext{
  188. color: rgb(255, 255, 255)
  189. }
  190. .introjs-tooltipbuttons {
  191. text-align: right;
  192. white-space: nowrap;
  193. }
  194. /*
  195. Buttons style by http://nicolasgallagher.com/lab/css3-github-buttons/
  196. Changed by Afshin Mehrabani
  197. */
  198. .introjs-button {
  199. box-sizing: content-box;
  200. position: relative;
  201. overflow: visible;
  202. display: inline-block;
  203. padding: 0.3em 0.8em;
  204. border: 1px solid #d4d4d4;
  205. margin: 0;
  206. text-decoration: none;
  207. text-shadow: 1px 1px 0 #fff;
  208. font: 11px/normal sans-serif;
  209. color: #333;
  210. white-space: nowrap;
  211. cursor: pointer;
  212. outline: none;
  213. background-color: #ececec;
  214. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f4f4f4), to(#ececec));
  215. background-image: -moz-linear-gradient(#f4f4f4, #ececec);
  216. background-image: -o-linear-gradient(#f4f4f4, #ececec);
  217. background-image: linear-gradient(#f4f4f4, #ececec);
  218. -webkit-background-clip: padding;
  219. -moz-background-clip: padding;
  220. -o-background-clip: padding-box;
  221. /*background-clip: padding-box;*/ /* commented out due to Opera 11.10 bug */
  222. -webkit-border-radius: 0.2em;
  223. -moz-border-radius: 0.2em;
  224. border-radius: 0.2em;
  225. /* IE hacks */
  226. zoom: 1;
  227. *display: inline;
  228. margin-top: 10px;
  229. }
  230. .introjs-button:hover {
  231. border-color: #bcbcbc;
  232. text-decoration: none;
  233. box-shadow: 0px 1px 1px #e3e3e3;
  234. }
  235. .introjs-button:focus,
  236. .introjs-button:active {
  237. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ececec), to(#f4f4f4));
  238. background-image: -moz-linear-gradient(#ececec, #f4f4f4);
  239. background-image: -o-linear-gradient(#ececec, #f4f4f4);
  240. background-image: linear-gradient(#ececec, #f4f4f4);
  241. }
  242. /* overrides extra padding on button elements in Firefox */
  243. .introjs-button::-moz-focus-inner {
  244. padding: 0;
  245. border: 0;
  246. }
  247. .introjs-skipbutton {
  248. box-sizing: content-box;
  249. margin-right: 5px;
  250. color: #7a7a7a;
  251. }
  252. .introjs-prevbutton {
  253. -webkit-border-radius: 0.2em 0 0 0.2em;
  254. -moz-border-radius: 0.2em 0 0 0.2em;
  255. border-radius: 0.2em 0 0 0.2em;
  256. border-right: none;
  257. }
  258. .introjs-prevbutton.introjs-fullbutton {
  259. border: 1px solid #d4d4d4;
  260. -webkit-border-radius: 0.2em;
  261. -moz-border-radius: 0.2em;
  262. border-radius: 0.2em;
  263. }
  264. .introjs-nextbutton {
  265. -webkit-border-radius: 0 0.2em 0.2em 0;
  266. -moz-border-radius: 0 0.2em 0.2em 0;
  267. border-radius: 0 0.2em 0.2em 0;
  268. }
  269. .introjs-nextbutton.introjs-fullbutton {
  270. -webkit-border-radius: 0.2em;
  271. -moz-border-radius: 0.2em;
  272. border-radius: 0.2em;
  273. }
  274. .introjs-disabled, .introjs-disabled:hover, .introjs-disabled:focus {
  275. color: #9a9a9a;
  276. border-color: #d4d4d4;
  277. box-shadow: none;
  278. cursor: default;
  279. background-color: #f4f4f4;
  280. background-image: none;
  281. text-decoration: none;
  282. }
  283. .introjs-hidden {
  284. display: none;
  285. }
  286. .introjs-bullets {
  287. text-align: center;
  288. }
  289. .introjs-bullets ul {
  290. box-sizing: content-box;
  291. clear: both;
  292. margin: 15px auto 0;
  293. padding: 0;
  294. display: inline-block;
  295. }
  296. .introjs-bullets ul li {
  297. box-sizing: content-box;
  298. list-style: none;
  299. float: left;
  300. margin: 0 2px;
  301. }
  302. .introjs-bullets ul li a {
  303. box-sizing: content-box;
  304. display: block;
  305. width: 6px;
  306. height: 6px;
  307. /*background: #ccc;*/
  308. background: rgb(255, 255, 255);
  309. border-radius: 10px;
  310. -moz-border-radius: 10px;
  311. -webkit-border-radius: 10px;
  312. text-decoration: none;
  313. cursor: pointer;
  314. }
  315. .introjs-bullets ul li a:hover {
  316. background: #999;
  317. }
  318. .introjs-bullets ul li a.active {
  319. background: #999;
  320. }
  321. .introjs-progress {
  322. box-sizing: content-box;
  323. overflow: hidden;
  324. height: 10px;
  325. margin: 10px 0 5px 0;
  326. border-radius: 4px;
  327. background-color: #ecf0f1
  328. }
  329. .introjs-progressbar {
  330. box-sizing: content-box;
  331. float: left;
  332. width: 0%;
  333. height: 100%;
  334. font-size: 10px;
  335. line-height: 10px;
  336. text-align: center;
  337. background-color: #08c;
  338. }
  339. .introjsFloatingElement {
  340. position: absolute;
  341. height: 0;
  342. width: 0;
  343. left: 50%;
  344. top: 50%;
  345. }
  346. .introjs-fixedTooltip {
  347. position: fixed;
  348. }
  349. .introjs-hint {
  350. box-sizing: content-box;
  351. position: absolute;
  352. background: transparent;
  353. width: 20px;
  354. height: 15px;
  355. cursor: pointer;
  356. }
  357. .introjs-hint:focus {
  358. border: 0;
  359. outline: 0;
  360. }
  361. .introjs-hidehint {
  362. display: none;
  363. }
  364. .introjs-fixedhint {
  365. position: fixed;
  366. }
  367. .introjs-hint:hover > .introjs-hint-pulse {
  368. border: 5px solid rgba(60, 60, 60, 0.57);
  369. }
  370. .introjs-hint-pulse {
  371. box-sizing: content-box;
  372. width: 10px;
  373. height: 10px;
  374. border: 5px solid rgba(60, 60, 60, 0.27);
  375. -webkit-border-radius: 30px;
  376. -moz-border-radius: 30px;
  377. border-radius: 30px;
  378. background-color: rgba(136, 136, 136, 0.24);
  379. z-index: 10;
  380. position: absolute;
  381. -webkit-transition: all 0.2s ease-out;
  382. -moz-transition: all 0.2s ease-out;
  383. -ms-transition: all 0.2s ease-out;
  384. -o-transition: all 0.2s ease-out;
  385. transition: all 0.2s ease-out;
  386. }
  387. .introjs-hint-no-anim .introjs-hint-dot {
  388. -webkit-animation: none;
  389. -moz-animation: none;
  390. animation: none;
  391. }
  392. .introjs-hint-dot {
  393. box-sizing: content-box;
  394. border: 10px solid rgba(146, 146, 146, 0.36);
  395. background: transparent;
  396. -webkit-border-radius: 60px;
  397. -moz-border-radius: 60px;
  398. border-radius: 60px;
  399. height: 50px;
  400. width: 50px;
  401. -webkit-animation: introjspulse 3s ease-out;
  402. -moz-animation: introjspulse 3s ease-out;
  403. animation: introjspulse 3s ease-out;
  404. -webkit-animation-iteration-count: infinite;
  405. -moz-animation-iteration-count: infinite;
  406. animation-iteration-count: infinite;
  407. position: absolute;
  408. top: -25px;
  409. left: -25px;
  410. z-index: 1;
  411. opacity: 0;
  412. }
  413. @-webkit-keyframes introjspulse {
  414. 0% {
  415. -webkit-transform: scale(0);
  416. opacity: 0.0;
  417. }
  418. 25% {
  419. -webkit-transform: scale(0);
  420. opacity: 0.1;
  421. }
  422. 50% {
  423. -webkit-transform: scale(0.1);
  424. opacity: 0.3;
  425. }
  426. 75% {
  427. -webkit-transform: scale(0.5);
  428. opacity: 0.5;
  429. }
  430. 100% {
  431. -webkit-transform: scale(1);
  432. opacity: 0.0;
  433. }
  434. }
  435. @-moz-keyframes introjspulse {
  436. 0% {
  437. -moz-transform: scale(0);
  438. opacity: 0.0;
  439. }
  440. 25% {
  441. -moz-transform: scale(0);
  442. opacity: 0.1;
  443. }
  444. 50% {
  445. -moz-transform: scale(0.1);
  446. opacity: 0.3;
  447. }
  448. 75% {
  449. -moz-transform: scale(0.5);
  450. opacity: 0.5;
  451. }
  452. 100% {
  453. -moz-transform: scale(1);
  454. opacity: 0.0;
  455. }
  456. }
  457. @keyframes introjspulse {
  458. 0% {
  459. transform: scale(0);
  460. opacity: 0.0;
  461. }
  462. 25% {
  463. transform: scale(0);
  464. opacity: 0.1;
  465. }
  466. 50% {
  467. transform: scale(0.1);
  468. opacity: 0.3;
  469. }
  470. 75% {
  471. transform: scale(0.5);
  472. opacity: 0.5;
  473. }
  474. 100% {
  475. transform: scale(1);
  476. opacity: 0.0;
  477. }
  478. }