You are here

mo-card.css in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7

Same filename and directory in other branches
  1. 8 css/mo-card.css
/* this is for tour button */
.mo-otp-help-button.fixed#restart_tour_button{
    /* right:5.6em; */
    position:relative;
}

.mo-tour-backdrop {
    opacity: 1;
    z-index: 2;
}

.mo-tour-overlay {
    top: 0;
    left: 0;
    position: fixed;
    width: 100%!important;
    background-color: #000000a1!important;
    height: 100%!important;
    z-index: 999991;
    display:block;
}

.mo-card {
    top: 50%;
    left: 50%;
    width: 24em;
    margin-left: -12em;
    /*set to a negative number 1/2 of your width*/
    /* border: 1px solid #ccc; */
    background-color: #ffffff00;
    position: fixed;
    z-index : 999991;
    border-radius: 4px;
    /* transform: scale(0.8); */
}

.mo-card h1 {     font-size: 20px; margin:0;}
.mo-card h2 {     font-size: 17px; margin:0;}
.mo-card {     font-size: 14px;margin:0;}


/* when no side, centre */
.mo-tour-content-area{
    height: 100%;
    width: 100%;
    position: absolute;
    /* border: 1px solid #b8acee; */
    background-color: rgb(255, 255, 255);
    text-align: center;
    border-radius: 4px;

}

.mo-tour-arrow{
    /* border: 1px solid #bcda18; */
    text-align: center;
    height: 0;
    font-size: 5em;
}

.mo-tour-arrow>i {
    position: relative;
    top: calc(50% - 0.6em);
}


/* when pointing left */
.mo-point-left.mo-tour-arrow{
    height: 100%;
    width: 5%;
    position: relative;
    left : 0;
    float: left;

}

.mo-point-left.mo-tour-content-area {
    width: 95%;
    left : 5%;
    float: left;
    padding-left:10px;
}

/* when pointing right */
.mo-point-right.mo-tour-arrow{
    height: 100%;
    width: 5%;
    position: relative;
    float: left;
    margin-left: -27px;
}
.mo-point-right.mo-tour-content-area {
    width: 95%;
    float: left;

}
.mo-point-center > .mo-saml-header
{
    margin:0;
}
.mo-point-right > .mo-saml-header{
    margin:0;
}
.mo-point-up > .mo-saml-header{
    margin:0;
}
/* when pointing top */
.mo-point-up.mo-tour-arrow{
    height: 8%;
    margin-bottom: 9px;
}

.mo-point-up.mo-tour-content-area {
    height: 92%;
}

.mo-point-up #mo-card {
 margin-top:    15px;
}
/* when pointing bottom */
.mo-point-down.mo-tour-arrow{
    height: 7%;
    top: 94%;
    position: relative;
    margin-top: -5px;

}

.mo-point-down.mo-tour-content-area {
    height: 92%;
    top: 0;
}

.mo-tour-content-area>img {
    padding-top: 25px;
    width:auto;     /*maintain aspect ratio*/
}
.mo-tour-title>h1 , .mo-tour-content{
    padding: 15px 15px 10px 25px;

}

.mo-tour-button-area{
    position: absolute;
    bottom: 0;
    margin: 25px auto;
    text-align: center;
    width: inherit;
    border-radius: 7px;
}

.mo-tour-button {
    line-height: 1.4;
    font-weight: 600;
    margin:auto 15px;
    height: 35px;
    width: 110px;
    padding: 0 20px;
    border: none;
    transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: background-color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out;
}

.mo-point-left.mo-tour-button {
    margin:auto 10px;
}

.mo-skip-btn:hover {
    background-color: #f61717d9;
    color: #ffffff;
    /* box-shadow: 0px 4px 10px 0px #32373c; */
}

.mo-skip-btn {
    background-color: #ffffff00;
    border: 2px solid #f61717d9;
    color: #f61717d9;
    cursor: pointer;
}

.mo-tour-primary-btn {
    color : #48a0dc;
    background-color: #ffffff00;
    border: 2px solid #48a0dc;
    cursor:pointer;
}

.mo-tour-primary-btn:hover {
    color : #ffffff;
    background-color:  #48a0dc;
    /* border: 2px solid #48a0dc; */
}

.mo-target-index {
    z-index: 999992 !important;
}
.mo-target-position {
    position: relative !important;
    background-color: #ffffff;
}

.mo-big {
    height: 20em;
    margin-top: -10em;
    /*set to a negative number 1/2 of your height*/
}

.mo-medium {
    height: 14em;
    margin-top: -7em;
    /*set to a negative number 1/2 of your height*/
}
.mo-largemedium {
    height: 15.4em;
    margin-top: -7em;
    /*set to a negative number 1/2 of your height*/
}

.mo-small {
    height: 10em;
    margin-top: -5em;
    /*set to a negative number 1/2 of your height*/
}

.mo-big img {
    height:80px;
}

.mo-medium img {
    height:60px;
    padding-top:10px;
}

.mo-small img {
    height:40px;
}

.mo-saml-header{
    margin: 0px 0px 0px -10px;
    padding: 1px 5px 5px 2px;
    border: 1px solid #3592b6;
    border-bottom: none;
    line-height: 1.4em;
    font-size: 14px;
    color: #fff;
    background: #00a0d2;
    border-radius: 1px;
}
.mo-saml-arrow
{
    margin-left: -9px;
    border: 13px solid transparent;
    border-right-color: #fff;
    display: block;
    content: " ";
    position: initial;
    width: 0;
    height: 0;
}
.mo-saml-arrow
{
    border: 13px solid transparent;
}
/*arrow when pointing to top*/
.mo-saml-arrow-up
{
    margin-left: 165px;
    margin-top: -26px;
    border-bottom-color: #3eb0e4;
}
/*arrow when pointing to bottom*/
.mo-saml-arrow-down
{
    margin-left: 170px;
    margin-top: 196px;
    border-top-color: #fff;
}
/*arrow when pointing to left side*/
    .mo-saml-arrow-left
{
    margin-left: -9px;
    margin-top: 85px;
    border-right-color: #fff;
}
/*arrow when pointing to right side*/
.mo-saml-arrow-right
{
    margin-left: 346px;
    margin-top: 86px;
    border-left-color: #fff;
}

.next_button{
    padding:5px 10px;
    float:right;
    border-color: #0073aa #006799 #006799;
    box-shadow: 0 1px 0 #006799;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
    position: relative;
    bottom:-70px;
    right: 17px;
}
.mo_saml_vt_h3
{
    height: 30px;
    position: relative;
    margin: -1px -1px 5px;
    padding: 15px 18px 14px 60px;
    border: 1px solid #3592b6;
    border-bottom: none;
    line-height: 1.4em;
    font-size: 14px;
    color: #fff;
    background: #00a0d2;
}
.mo_visual_tour_box
{
    position: absolute;
    width: 320px;
    height: 180px;
    top: 0px;
    left: 100px;
    z-index: 9999;
    background-color: #ffffff!important;

}
.mo_saml_restart_button{
    padding:5px 10px;
    float:right;
    border-color: #0073aa #006799 #006799;
    box-shadow: 0 1px 0 #006799;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
}

File

css/mo-card.css
View source
  1. /* this is for tour button */
  2. .mo-otp-help-button.fixed#restart_tour_button{
  3. /* right:5.6em; */
  4. position:relative;
  5. }
  6. .mo-tour-backdrop {
  7. opacity: 1;
  8. z-index: 2;
  9. }
  10. .mo-tour-overlay {
  11. top: 0;
  12. left: 0;
  13. position: fixed;
  14. width: 100%!important;
  15. background-color: #000000a1!important;
  16. height: 100%!important;
  17. z-index: 999991;
  18. display:block;
  19. }
  20. .mo-card {
  21. top: 50%;
  22. left: 50%;
  23. width: 24em;
  24. margin-left: -12em;
  25. /*set to a negative number 1/2 of your width*/
  26. /* border: 1px solid #ccc; */
  27. background-color: #ffffff00;
  28. position: fixed;
  29. z-index : 999991;
  30. border-radius: 4px;
  31. /* transform: scale(0.8); */
  32. }
  33. .mo-card h1 { font-size: 20px; margin:0;}
  34. .mo-card h2 { font-size: 17px; margin:0;}
  35. .mo-card { font-size: 14px;margin:0;}
  36. /* when no side, centre */
  37. .mo-tour-content-area{
  38. height: 100%;
  39. width: 100%;
  40. position: absolute;
  41. /* border: 1px solid #b8acee; */
  42. background-color: rgb(255, 255, 255);
  43. text-align: center;
  44. border-radius: 4px;
  45. }
  46. .mo-tour-arrow{
  47. /* border: 1px solid #bcda18; */
  48. text-align: center;
  49. height: 0;
  50. font-size: 5em;
  51. }
  52. .mo-tour-arrow>i {
  53. position: relative;
  54. top: calc(50% - 0.6em);
  55. }
  56. /* when pointing left */
  57. .mo-point-left.mo-tour-arrow{
  58. height: 100%;
  59. width: 5%;
  60. position: relative;
  61. left : 0;
  62. float: left;
  63. }
  64. .mo-point-left.mo-tour-content-area {
  65. width: 95%;
  66. left : 5%;
  67. float: left;
  68. padding-left:10px;
  69. }
  70. /* when pointing right */
  71. .mo-point-right.mo-tour-arrow{
  72. height: 100%;
  73. width: 5%;
  74. position: relative;
  75. float: left;
  76. margin-left: -27px;
  77. }
  78. .mo-point-right.mo-tour-content-area {
  79. width: 95%;
  80. float: left;
  81. }
  82. .mo-point-center > .mo-saml-header
  83. {
  84. margin:0;
  85. }
  86. .mo-point-right > .mo-saml-header{
  87. margin:0;
  88. }
  89. .mo-point-up > .mo-saml-header{
  90. margin:0;
  91. }
  92. /* when pointing top */
  93. .mo-point-up.mo-tour-arrow{
  94. height: 8%;
  95. margin-bottom: 9px;
  96. }
  97. .mo-point-up.mo-tour-content-area {
  98. height: 92%;
  99. }
  100. .mo-point-up #mo-card {
  101. margin-top: 15px;
  102. }
  103. /* when pointing bottom */
  104. .mo-point-down.mo-tour-arrow{
  105. height: 7%;
  106. top: 94%;
  107. position: relative;
  108. margin-top: -5px;
  109. }
  110. .mo-point-down.mo-tour-content-area {
  111. height: 92%;
  112. top: 0;
  113. }
  114. .mo-tour-content-area>img {
  115. padding-top: 25px;
  116. width:auto; /*maintain aspect ratio*/
  117. }
  118. .mo-tour-title>h1 , .mo-tour-content{
  119. padding: 15px 15px 10px 25px;
  120. }
  121. .mo-tour-button-area{
  122. position: absolute;
  123. bottom: 0;
  124. margin: 25px auto;
  125. text-align: center;
  126. width: inherit;
  127. border-radius: 7px;
  128. }
  129. .mo-tour-button {
  130. line-height: 1.4;
  131. font-weight: 600;
  132. margin:auto 15px;
  133. height: 35px;
  134. width: 110px;
  135. padding: 0 20px;
  136. border: none;
  137. transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
  138. transition: background-color 0.3s ease-in-out;
  139. transition: color 0.3s ease-in-out;
  140. }
  141. .mo-point-left.mo-tour-button {
  142. margin:auto 10px;
  143. }
  144. .mo-skip-btn:hover {
  145. background-color: #f61717d9;
  146. color: #ffffff;
  147. /* box-shadow: 0px 4px 10px 0px #32373c; */
  148. }
  149. .mo-skip-btn {
  150. background-color: #ffffff00;
  151. border: 2px solid #f61717d9;
  152. color: #f61717d9;
  153. cursor: pointer;
  154. }
  155. .mo-tour-primary-btn {
  156. color : #48a0dc;
  157. background-color: #ffffff00;
  158. border: 2px solid #48a0dc;
  159. cursor:pointer;
  160. }
  161. .mo-tour-primary-btn:hover {
  162. color : #ffffff;
  163. background-color: #48a0dc;
  164. /* border: 2px solid #48a0dc; */
  165. }
  166. .mo-target-index {
  167. z-index: 999992 !important;
  168. }
  169. .mo-target-position {
  170. position: relative !important;
  171. background-color: #ffffff;
  172. }
  173. .mo-big {
  174. height: 20em;
  175. margin-top: -10em;
  176. /*set to a negative number 1/2 of your height*/
  177. }
  178. .mo-medium {
  179. height: 14em;
  180. margin-top: -7em;
  181. /*set to a negative number 1/2 of your height*/
  182. }
  183. .mo-largemedium {
  184. height: 15.4em;
  185. margin-top: -7em;
  186. /*set to a negative number 1/2 of your height*/
  187. }
  188. .mo-small {
  189. height: 10em;
  190. margin-top: -5em;
  191. /*set to a negative number 1/2 of your height*/
  192. }
  193. .mo-big img {
  194. height:80px;
  195. }
  196. .mo-medium img {
  197. height:60px;
  198. padding-top:10px;
  199. }
  200. .mo-small img {
  201. height:40px;
  202. }
  203. .mo-saml-header{
  204. margin: 0px 0px 0px -10px;
  205. padding: 1px 5px 5px 2px;
  206. border: 1px solid #3592b6;
  207. border-bottom: none;
  208. line-height: 1.4em;
  209. font-size: 14px;
  210. color: #fff;
  211. background: #00a0d2;
  212. border-radius: 1px;
  213. }
  214. .mo-saml-arrow
  215. {
  216. margin-left: -9px;
  217. border: 13px solid transparent;
  218. border-right-color: #fff;
  219. display: block;
  220. content: " ";
  221. position: initial;
  222. width: 0;
  223. height: 0;
  224. }
  225. .mo-saml-arrow
  226. {
  227. border: 13px solid transparent;
  228. }
  229. /*arrow when pointing to top*/
  230. .mo-saml-arrow-up
  231. {
  232. margin-left: 165px;
  233. margin-top: -26px;
  234. border-bottom-color: #3eb0e4;
  235. }
  236. /*arrow when pointing to bottom*/
  237. .mo-saml-arrow-down
  238. {
  239. margin-left: 170px;
  240. margin-top: 196px;
  241. border-top-color: #fff;
  242. }
  243. /*arrow when pointing to left side*/
  244. .mo-saml-arrow-left
  245. {
  246. margin-left: -9px;
  247. margin-top: 85px;
  248. border-right-color: #fff;
  249. }
  250. /*arrow when pointing to right side*/
  251. .mo-saml-arrow-right
  252. {
  253. margin-left: 346px;
  254. margin-top: 86px;
  255. border-left-color: #fff;
  256. }
  257. .next_button{
  258. padding:5px 10px;
  259. float:right;
  260. border-color: #0073aa #006799 #006799;
  261. box-shadow: 0 1px 0 #006799;
  262. color: #fff;
  263. text-decoration: none;
  264. text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
  265. position: relative;
  266. bottom:-70px;
  267. right: 17px;
  268. }
  269. .mo_saml_vt_h3
  270. {
  271. height: 30px;
  272. position: relative;
  273. margin: -1px -1px 5px;
  274. padding: 15px 18px 14px 60px;
  275. border: 1px solid #3592b6;
  276. border-bottom: none;
  277. line-height: 1.4em;
  278. font-size: 14px;
  279. color: #fff;
  280. background: #00a0d2;
  281. }
  282. .mo_visual_tour_box
  283. {
  284. position: absolute;
  285. width: 320px;
  286. height: 180px;
  287. top: 0px;
  288. left: 100px;
  289. z-index: 9999;
  290. background-color: #ffffff!important;
  291. }
  292. .mo_saml_restart_button{
  293. padding:5px 10px;
  294. float:right;
  295. border-color: #0073aa #006799 #006799;
  296. box-shadow: 0 1px 0 #006799;
  297. color: #fff;
  298. text-decoration: none;
  299. text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
  300. }