You are here

responsive.css in Bootstrap Styles 1.0.x

.bs-responsive-preview-wrapper {
  position: fixed;
  z-index: 500;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.bs-responsive-preview-wrapper:before {
  content: '';
  background-color: black;
  background-color: rgba(0, 0, 0, 0.92);
  background-image: -webkit-linear-gradient(left, #141414, #323232 25%, #646464 40%, #646464 60%, #323232 75%, #141414);
  background-image: -moz-linear-gradient(left, #141414, #323232 25%, #646464 40%, #646464 60%, #323232 75%, #141414);
  background-image: linear-gradient(left, #141414, #323232 25%, #646464 40%, #646464 60%, #323232 75%, #141414);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.bs-responsive-preview-scroll-track {
  padding: 0 60px;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.bs-responsive-preview-scroll-pane {
  min-height: 100%;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.bs-responsive-preview-container {
  z-index: 100;
  background-color: #212121;
  border-radius: 20px;
  box-shadow: 0 0 0px 1px #777, 1px 1px 60px 0px #000;
  -webkit-transition: left 150ms ease-out;
  -moz-transition: left 150ms ease-out;
  transition: left 150ms ease-out;
  opacity: 1;
  min-height: 70vh;
  margin: 0 auto;
  position: relative;
  padding: 20px;
}

iframe#bs-responsive-preview {
  display: block;
  position: absolute;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  box-shadow: 0 0 0 1px #808080;
  -webkit-transition: all 150ms ease-out;
  -moz-transition: all 150ms ease-out;
  -o-transition: all 150ms ease-out;
  transition: all 150ms ease-out;
}

.bs-ui-widget-overlay.ui-widget-overlay {
  opacity: 1;
  z-index: 500 !important;
}

#drupal-off-canvas .form-item.bs_responsive_bar {
  top: 68px;
  z-index: 2;
  position: sticky;
  margin: -68px -30px 68px;
  width: calc(100% + 60px);
  background: #292C32;
  border-bottom: #727579 2px solid;
  transition: all .3s ease-in-out;
}

#drupal-off-canvas .form-item.bs_responsive_bar legend {
  margin-bottom: 2px;
}

File

css/responsive.css
View source
  1. .bs-responsive-preview-wrapper {
  2. position: fixed;
  3. z-index: 500;
  4. left: 0;
  5. top: 0;
  6. right: 0;
  7. bottom: 0;
  8. }
  9. .bs-responsive-preview-wrapper:before {
  10. content: '';
  11. background-color: black;
  12. background-color: rgba(0, 0, 0, 0.92);
  13. background-image: -webkit-linear-gradient(left, #141414, #323232 25%, #646464 40%, #646464 60%, #323232 75%, #141414);
  14. background-image: -moz-linear-gradient(left, #141414, #323232 25%, #646464 40%, #646464 60%, #323232 75%, #141414);
  15. background-image: linear-gradient(left, #141414, #323232 25%, #646464 40%, #646464 60%, #323232 75%, #141414);
  16. bottom: 0;
  17. left: 0;
  18. position: absolute;
  19. right: 0;
  20. top: 0;
  21. z-index: 1;
  22. }
  23. .bs-responsive-preview-scroll-track {
  24. padding: 0 60px;
  25. bottom: 0;
  26. left: 0;
  27. overflow-y: auto;
  28. position: absolute;
  29. right: 0;
  30. top: 0;
  31. z-index: 1;
  32. }
  33. .bs-responsive-preview-scroll-pane {
  34. min-height: 100%;
  35. position: relative;
  36. width: 100%;
  37. display: flex;
  38. align-items: center;
  39. }
  40. .bs-responsive-preview-container {
  41. z-index: 100;
  42. background-color: #212121;
  43. border-radius: 20px;
  44. box-shadow: 0 0 0px 1px #777, 1px 1px 60px 0px #000;
  45. -webkit-transition: left 150ms ease-out;
  46. -moz-transition: left 150ms ease-out;
  47. transition: left 150ms ease-out;
  48. opacity: 1;
  49. min-height: 70vh;
  50. margin: 0 auto;
  51. position: relative;
  52. padding: 20px;
  53. }
  54. iframe#bs-responsive-preview {
  55. display: block;
  56. position: absolute;
  57. width: calc(100% - 40px);
  58. height: calc(100% - 40px);
  59. top: 20px;
  60. left: 20px;
  61. right: 20px;
  62. bottom: 20px;
  63. box-shadow: 0 0 0 1px #808080;
  64. -webkit-transition: all 150ms ease-out;
  65. -moz-transition: all 150ms ease-out;
  66. -o-transition: all 150ms ease-out;
  67. transition: all 150ms ease-out;
  68. }
  69. .bs-ui-widget-overlay.ui-widget-overlay {
  70. opacity: 1;
  71. z-index: 500 !important;
  72. }
  73. #drupal-off-canvas .form-item.bs_responsive_bar {
  74. top: 68px;
  75. z-index: 2;
  76. position: sticky;
  77. margin: -68px -30px 68px;
  78. width: calc(100% + 60px);
  79. background: #292C32;
  80. border-bottom: #727579 2px solid;
  81. transition: all .3s ease-in-out;
  82. }
  83. #drupal-off-canvas .form-item.bs_responsive_bar legend {
  84. margin-bottom: 2px;
  85. }