Advertisement
Guest User

Untitled

a guest
Nov 14th, 2019
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.37 KB | None | 0 0
  1. /* OVERRIDE FULL WIDTH FOR SCENE */
  2. #kn-scene_121 {
  3.   width: 50%;
  4.   margin: auto !important;
  5. }
  6.  
  7. /* NO TABLES ON MOBILE, NO LISTS ON DESKTOP */
  8. @media screen and (max-width: 768px) {
  9.   #kn-scene_121 {width: 90%; margin: auto;}
  10. }
  11.  
  12. .kn-table.kn-view {display: block;}
  13. .kn-list.kn-view {display: none;}
  14.  
  15. @media screen and (max-width: 768px) {
  16.  
  17. .kn-table.kn-view {display: none;}
  18. .kn-list.kn-view {display: block;}
  19.  
  20. }
  21. /* TABLE GROUPS SHADING */
  22. .kn-table .kn-group-level-1 {
  23.     background-color: rgba(69,138,186,0.5)!important;
  24. }
  25.  
  26. .kn-table .kn-group-level-2 {
  27.     background-color: rgba(69,138,186,0.1)!important;
  28. }
  29.  
  30. .kn-table .kn-group-level-3 {
  31.     background-color: rgba(69,138,186,0.1)!important;
  32. }
  33.  
  34. /* LIST VIEW -> CARDS */
  35. .kn-list-item-container {
  36. border: solid 0.4px grey;
  37. -webkit-box-shadow: -1px 2px 5px 7px rgba(163,163,163,0.33);
  38. -moz-box-shadow: -1px 2px 5px 7px rgba(163,163,163,0.33);
  39. box-shadow: -1px 2px 5px 7px rgba(163,163,163,0.33);
  40. margin-top:20px;
  41. padding-bottom:30px;
  42. }
  43.  
  44. /* BUTTONS */
  45. a.kn-link-page{
  46.   background-color: white;
  47.   color: black;
  48.   border: 2px solid #458aba;
  49.   border-radius: 15px;
  50.   padding: 5px 10px;
  51.   text-align: center;
  52.   text-transform: capitalize;
  53.   text-decoration: none;
  54.   display: inline-block;
  55. }
  56.  
  57. a.kn-link-page:hover{
  58.     background-color: #458aba;
  59.     border-color: #458aba;
  60.     color: white;
  61. }
  62.  
  63. a.kn-link-delete{
  64.   background-color: white;
  65.   color: black;
  66.   border: 2px solid #ff3232;
  67.   border-radius: 15px;
  68.   padding: 5px 10px;
  69.   text-align: center;
  70.   text-transform: capitalize;
  71.   text-decoration: none;
  72.   display: inline-block;
  73. }
  74.  
  75. a.kn-link-delete:hover{
  76.     background-color: #ff3232;
  77.     color: white;
  78. }
  79.  
  80. /* Calendar Export Button */
  81. .kn-ical.kn-button{
  82.   margin: 0px 0px 50px 0px;
  83.   background-color: #003d99;
  84.   color: white;
  85.   text-transform: uppercase;
  86. }
  87.  
  88. /*-------- Modal View Width --------*/
  89. @media only screen and (max-width: 1300px) and (min-width: 1201px) {
  90.   .kn-modal {width: 85%;
  91. }
  92. }
  93. @media only screen and (max-width: 1200px) and (min-width: 1101px) {
  94.   .kn-modal {width: 90%;
  95. }
  96. }
  97. @media only screen and (max-width: 1100px) and (min-width: 800px) {
  98.   .kn-modal {width: 95%;
  99. }
  100. }
  101. @media only screen and (min-width: 1301px) {
  102.   .kn-modal {width: 1100px;
  103. }
  104. }
  105.  
  106. /* Calendar max width */
  107. div.knack-calendar.fc{
  108.   max-width: 1000px;
  109.   margin-left: auto;
  110.   margin-right: auto;
  111. }
  112.  
  113. /* EVERYTHING BELOW IS FOR CHECKBOX TO SLIDER */
  114. /* Checkbox to Slider */
  115. .option {
  116. position: relative;
  117. display: inline-block;
  118. width: 60px;
  119. height: 34px;
  120. }
  121.  
  122. /* Hide default HTML checkbox */
  123. .option input {
  124. opacity: 0;
  125. width: 0;
  126. height: 0;
  127. }
  128.  
  129. /* The slider */
  130. .slider {
  131. position: absolute;
  132. cursor: pointer;
  133. top: 0;
  134. left: 0;
  135. right: 0;
  136. bottom: 0;
  137. background-color: #ff6464;
  138. -webkit-transition: .4s;
  139. transition: .4s;
  140. }
  141.  
  142. .slider:before {
  143. position: absolute;
  144. content: "";
  145. height: 26px;
  146. width: 26px;
  147. left: 4px;
  148. bottom: 4px;
  149. background-color: white;
  150. -webkit-transition: .4s;
  151. transition: .4s;
  152. }
  153.  
  154. input:checked + .slider {
  155. background-color: #1ade00;
  156. }
  157.  
  158. input:focus + .slider {
  159. box-shadow: 0 0 1px #1ade00;
  160. }
  161.  
  162. input:checked + .slider:before {
  163. -webkit-transform: translateX(26px);
  164. -ms-transform: translateX(26px);
  165. transform: translateX(26px);
  166. }
  167.  
  168. /* Rounded sliders */
  169. .slider.round {
  170. border-radius: 34px;
  171. }
  172.  
  173. .slider.round:before {
  174. border-radius: 50%;
  175. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement