You are here

mo-card.css in Drupal OAuth & OpenID Connect Login - OAuth2 Client SSO Login 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: 40%;
    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: 120%;
    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%;
    top: -11%;
    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;
    top: -17%;
}
.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: 6.8%;
    margin-bottom: 9px;
}

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

.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: 5px;
    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;
    margin-bottom: 15px;
    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: 18em;
    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: 111px;
    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;

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