You are here

mo-card.css in Drupal OAuth & OpenID Connect Login - OAuth2 Client SSO Login 8

Same filename and directory in other branches
  1. 7 css/mo-card.css
/* this is for tour button */

.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-tour-title>h1 {     font-size: 16px; margin:0;}
.mo-tour-content-area>h2 {     font-size: 13px; margin:0;}
.mo-card>h3, .mo-card>p, .mo-card>div, .mo-card>input {     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: 100%;
    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: 7px;
}

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