_settings.scss 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  1. // ==========================================================================
  2. // Settings
  3. // ==========================================================================
  4. .page-content.configure {
  5. margin-top: 0;
  6. }
  7. .configure .frame {
  8. &.top {
  9. border: none;
  10. box-shadow: none;
  11. padding-top: em(20px);
  12. position: relative;
  13. top: auto;
  14. &.fixed {
  15. background: #f9f9f9;
  16. border-bottom: 1px solid #e9e9e9;
  17. padding-left: 160px;
  18. margin-top: -6px;
  19. position: fixed;
  20. right: 0;
  21. top: 32px;
  22. width: 100%;
  23. z-index: 4;
  24. box-shadow: 0 2px 2px -2px #eee;
  25. @media (max-width: 782px) {
  26. border: none;
  27. box-shadow: none;
  28. padding-top: em(20px);
  29. position: relative;
  30. top: auto;
  31. }
  32. @media (max-width: 600px) {
  33. top: 0;
  34. }
  35. }
  36. }
  37. }
  38. .jp-frame-top-fixed .configure {
  39. padding-top: 94px;
  40. }
  41. .filter-search {
  42. display: none;
  43. float: right;
  44. margin-top: 10px;
  45. @media (max-width: 782px) {
  46. display: block;
  47. }
  48. @media (max-width: 530px) {
  49. display: none;
  50. }
  51. }
  52. .table-bordered.jetpack-modules {
  53. border: none;
  54. margin-bottom: 0;
  55. tr.jetpack-module {
  56. th {
  57. border-left: 0;
  58. padding: 14px 4px 0;
  59. input {
  60. display: block;
  61. }
  62. }
  63. &:hover {
  64. .genericon {
  65. display: inline-block;
  66. }
  67. }
  68. &.active {
  69. th,
  70. td {
  71. background: #f7fcfe;
  72. }
  73. th {
  74. border-left: 4px solid #2ea2cc;
  75. padding-left: 0px;
  76. }
  77. td {
  78. &:first-child {
  79. border-left: 4px solid #2ea2cc;
  80. }
  81. }
  82. }
  83. &.unavailable {
  84. input {
  85. display: none;
  86. }
  87. }
  88. &.deprecated {
  89. span {
  90. color: #888;
  91. }
  92. .dep-msg {
  93. margin-right: 10px;
  94. color: #555;
  95. }
  96. }
  97. th,
  98. td {
  99. background: #fff;
  100. margin: 0;
  101. -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
  102. box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
  103. }
  104. td {
  105. padding: 10px 10px 8px 14px;
  106. line-height: 25px;
  107. &:first-child {
  108. border-left: 4px solid #fff;
  109. }
  110. .row-actions {
  111. float: right;
  112. padding: 0 0 1px;
  113. visibility: visible;
  114. span {
  115. margin-left: 5px;
  116. }
  117. @media (max-width: 530px) {
  118. display: none;
  119. }
  120. @include breakpoint(tablet){
  121. display: block;
  122. padding-left: 10px;
  123. visibility: visible;
  124. };
  125. }
  126. }
  127. }
  128. &.with-transparency tr.jetpack-module {
  129. &:hover {
  130. td .row-actions span a {
  131. opacity: 1;
  132. }
  133. }
  134. &.unavailable {
  135. opacity: 0.3;
  136. }
  137. td .row-actions span a {
  138. opacity: 0;
  139. &:focus {
  140. opacity: 1;
  141. }
  142. }
  143. }
  144. &>thead>tr>th {
  145. border: 0;
  146. vertical-align: middle;
  147. &:last-child {
  148. padding-right: 0;
  149. @include breakpoint(tablet){
  150. padding-left: 0;
  151. }
  152. }
  153. }
  154. td {
  155. background: #fff;
  156. }
  157. #doaction {
  158. margin-top: 0;
  159. @media (max-width: 782px) {
  160. padding: 10px 7px;
  161. }
  162. }
  163. .checkall {
  164. margin-top: 1px;
  165. }
  166. .filter-search {
  167. margin-top: 8px;
  168. }
  169. .genericon {
  170. color: #999;
  171. display: none;
  172. margin: 7px 3px 0;
  173. @include breakpoint(desktop){
  174. display: inline-block;
  175. };
  176. }
  177. .med {
  178. width: 70px;
  179. }
  180. .sm {
  181. width: 30px;
  182. }
  183. @media (max-width: 782px) {
  184. .check-column {
  185. width: 50px;
  186. }
  187. }
  188. }
  189. .fixed-top .check-column {
  190. padding: 8px 10px 0 10px;
  191. width: 2.2em;
  192. }
  193. .wrap {
  194. margin: 0;
  195. padding: 0 1.5em 1em;
  196. overflow: hidden;
  197. h2 {
  198. font-size: 24px;
  199. font-weight: 400;
  200. }
  201. .manage-left {
  202. float: left;
  203. margin: 0;
  204. padding: 0;
  205. width: 63%;
  206. table {
  207. width: 100%;
  208. }
  209. th {
  210. font-weight: 400;
  211. }
  212. @media (max-width: 782px) {
  213. width: 100%;
  214. }
  215. }
  216. .manage-right {
  217. margin: 0;
  218. padding: 0;
  219. float: right;
  220. width: 35%;
  221. z-index: 1;
  222. p {
  223. font-size: 12px;
  224. font-weight: bold;
  225. color: #bbb;
  226. padding-top: 2px;
  227. text-transform: uppercase;
  228. letter-spacing: 1px;
  229. clear: left;
  230. }
  231. .bumper {
  232. margin-left: 33px;
  233. }
  234. &.show {
  235. display: block;
  236. overflow-y: auto;
  237. overflow-x: hidden;
  238. position: absolute;
  239. z-index: 100000; // sits on top of wp-admin bar
  240. }
  241. .search-bar {
  242. margin-bottom: 18px;
  243. max-width: 300px;
  244. }
  245. p.search-box {
  246. float: none;
  247. height: auto;
  248. margin-bottom: 0;
  249. position: relative;
  250. input[type='search'] {
  251. padding: 0 8px;
  252. width: 90%;
  253. line-height: initial;
  254. @media (max-width: 782px) {
  255. float: left;
  256. padding: 9px 8px;
  257. }
  258. }
  259. input[type="submit"] {
  260. display: none;
  261. }
  262. }
  263. .button-group {
  264. .button {
  265. outline: none;
  266. }
  267. }
  268. .subsubsub {
  269. margin: 0;
  270. padding: 0;
  271. a {
  272. padding: 0;
  273. line-height: inherit;
  274. }
  275. .current{
  276. padding:1px 5px;
  277. border-radius:2px;
  278. margin-left:-5px;
  279. background: #0D72B2;
  280. color: #fff;
  281. .count{
  282. color: #BCD7E7;
  283. font-weight:200;
  284. }
  285. }
  286. li {
  287. display: block;
  288. text-align: left;
  289. }
  290. }
  291. @media (max-width: 782px) {
  292. background: #fff;
  293. bottom: 0;
  294. display: none;
  295. min-width: 300px;
  296. position: fixed;
  297. right: 0;
  298. top: 0;
  299. z-index: 13;
  300. box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1);
  301. .bumper {
  302. margin: 13px;
  303. }
  304. .navbar-form {
  305. margin: 0;
  306. padding: 0;
  307. }
  308. } // < 782
  309. }
  310. }
  311. @media (max-width: 782px) {
  312. // Fix to override particular wp-list-table changes in core - July 2015
  313. .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary):not(.check-column) {
  314. padding: 11px 10px;
  315. display: block;
  316. }
  317. .manage-right.show .subsubsub li {
  318. padding: 5px;
  319. }
  320. } // < 782
  321. @media (max-width: 650px) {
  322. .table-bordered.jetpack-modules tr.jetpack-module.deprecated td .row-actions {
  323. float: none;
  324. padding-left: 18px;
  325. }
  326. }
  327. @media (max-width: 430px) {
  328. // Hide activate / config links on really small screens. Users can still utlize these actions by tapping on the title of the module
  329. .table-bordered.jetpack-modules tr.jetpack-module td .row-actions {
  330. display: none;
  331. }
  332. .table-bordered.jetpack-modules tr.jetpack-module.deprecated td .row-actions {
  333. display: block;
  334. }
  335. } // < 430