sabox-admin-style.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630
  1. /* ADMIN PLUGIN STYLE
  2. -------------------------------------------------------------- */
  3. .sabox-table.form-table th {
  4. width: 400px;
  5. padding: 10px 15px;
  6. vertical-align: middle;
  7. }
  8. .sabox-table.form-table {
  9. margin-bottom: 30px;
  10. }
  11. .sabox-table .epfw-tooltip {
  12. color: #b8cad7;
  13. margin-right: 10px;
  14. }
  15. .sabox-table .wp-picker-container {
  16. text-align: right;
  17. }
  18. .sabox-table .wp-picker-holder {
  19. position: absolute;
  20. }
  21. .sabox-table select {
  22. float: right;
  23. }
  24. .sabox-table.form-table tr {
  25. background-color: #fff;
  26. border-bottom: 1px solid #eee;
  27. vertical-align: middle !important;
  28. }
  29. .sabox-table tbody {
  30. border: 1px solid #ddd;
  31. }
  32. .sabox-table.form-table tr:last-of-type {
  33. border-bottom: 0;
  34. }
  35. .sabox-wrap {
  36. max-width: 860px;
  37. padding-left: 20px;
  38. margin: 0 auto;
  39. }
  40. .hide {
  41. display: none;
  42. }
  43. /*.sabox-slider-container .saboxfield {
  44. display: none;
  45. }*/
  46. .sabox-slider-container {
  47. max-width: 390px;
  48. padding-bottom: 5px;
  49. box-sizing: border-box;
  50. }
  51. .sabox-slider-container .ui-slider .ui-slider-handle {
  52. width: auto;
  53. text-align: center;
  54. min-width: 1.2em;
  55. }
  56. .sabox-table p.description {
  57. font-weight: normal;
  58. }
  59. .wp-admin .checkbox_switch {
  60. display: inline-block;
  61. width: 100%;
  62. text-align: right;
  63. }
  64. .customize-control-title.onoffswitch_label {
  65. width: 71%;
  66. }
  67. .sabox-table .onoffswitch_label {
  68. display: inline-block;
  69. vertical-align: top;
  70. margin-right: 21px;
  71. margin-top: -1px;
  72. }
  73. .sabox-table .onoffswitch {
  74. position: relative;
  75. width: 52px;
  76. display: inline-block;
  77. -webkit-user-select: none;
  78. -moz-user-select: none;
  79. -ms-user-select: none;
  80. }
  81. .sabox-table .onoffswitch-checkbox {
  82. display: none !important;
  83. }
  84. .sabox-table .onoffswitch-label {
  85. display: block;
  86. overflow: hidden;
  87. cursor: pointer;
  88. height: 22px;
  89. padding: 0;
  90. line-height: 19px;
  91. transition: background-color 0.2s ease-in;
  92. -webkit-border-radius: 11px;
  93. -moz-border-radius: 11px;
  94. border-radius: 30px;
  95. background-color: #c4c4c4;
  96. -webkit-box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.11);
  97. -moz-box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.11);
  98. box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.11);
  99. }
  100. .sabox-table .onoffswitch-label:before {
  101. content: "";
  102. display: block;
  103. width: 18px;
  104. height: 18px;
  105. margin: 0;
  106. position: absolute;
  107. top: 2px;
  108. bottom: 0;
  109. right: 32px;
  110. background-color: #fff;
  111. -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  112. -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  113. box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  114. -webkit-border-radius: 10px;
  115. -moz-border-radius: 10px;
  116. border-radius: 10px;
  117. transition: all 0.2s ease-in 0s;
  118. }
  119. .sabox-table .onoffswitch-label:after {
  120. content: "OFF";
  121. display: block;
  122. color: #fff;
  123. position: absolute;
  124. top: 2px;
  125. bottom: 2px;
  126. right: 6px;
  127. font-size: 11px;
  128. font-family: 'Arial';
  129. }
  130. .sabox-table .onoffswitch-checkbox:checked + .onoffswitch-label {
  131. background-color: #3caf0e;
  132. }
  133. .sabox-table .onoffswitch-checkbox:checked + .onoffswitch-label,
  134. .sabox-table .onoffswitch-checkbox:checked + .onoffswitch-label:before {
  135. border-color: #3caf0e;
  136. }
  137. .sabox-table .onoffswitch-checkbox:checked + .onoffswitch-label:before {
  138. right: 2px;
  139. }
  140. .sabox-table .onoffswitch-checkbox:checked + .onoffswitch-label:after {
  141. content: "ON";
  142. display: block;
  143. color: #fff;
  144. position: absolute;
  145. top: 2px;
  146. bottom: 2px;
  147. right: 27px;
  148. font-size: 11px;
  149. font-family: 'Arial';
  150. }
  151. .sabox-table .slider-container {
  152. position: relative;
  153. padding-left: 50px;
  154. }
  155. .sabox-table .slider-container input[type="text"] {
  156. border: none;
  157. text-align: center;
  158. padding: 2px;
  159. margin: 0;
  160. font-size: 12px;
  161. color: #333;
  162. border-radius: 10px;
  163. background-color: #f8f8f8;
  164. -webkit-box-shadow: inset 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
  165. -moz-box-shadow: inset 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
  166. box-shadow: inset 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
  167. width: 42px;
  168. height: 22px;
  169. position: absolute;
  170. left: 0;
  171. top: 2px;
  172. }
  173. .sabox-table .slider-container .ui-slider {
  174. position: relative;
  175. text-align: left;
  176. height: 2px;
  177. border-radius: 3px;
  178. border: none;
  179. margin-top: 10px;
  180. margin-left: 22px;
  181. display: inline-block;
  182. width: 97%;
  183. background: #d6d6d6;
  184. }
  185. .sabox-table .slider-container .ui-slider .ui-slider-handle {
  186. position: absolute;
  187. z-index: 2;
  188. top: -10px;
  189. cursor: default;
  190. -ms-touch-action: none;
  191. touch-action: none;
  192. width: 18px;
  193. height: 18px;
  194. -webkit-border-radius: 9px;
  195. -moz-border-radius: 9px;
  196. border-radius: 9px;
  197. background-color: #fff;
  198. -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  199. -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  200. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  201. border: solid 1px #d7d7d7;
  202. transform: translateX(-50%);
  203. }
  204. .sabox-table .slider-container .ui-slider .ui-slider-range {
  205. position: absolute;
  206. z-index: 1;
  207. font-size: 0.7em;
  208. display: block;
  209. border: 0;
  210. background-position: 0 0;
  211. background: #e04d43;
  212. top: 0;
  213. bottom: 0;
  214. }
  215. /* Social Links */
  216. .sabox-add-social-link {
  217. text-align: center;
  218. padding: 10px 0;
  219. max-width: 570px;
  220. }
  221. .sabox-add-social-link:hover {
  222. border-color: #000;
  223. }
  224. #sabox-social-table .dashicons-trash {
  225. vertical-align: middle;
  226. cursor: pointer;
  227. color: #a00;
  228. }
  229. #sabox-social-table .dashicons-trash:hover {
  230. color: #dc3232;
  231. }
  232. /* Simple Author Box Badge */
  233. #sab-current-image img {
  234. max-width: 130px;
  235. height: auto;
  236. }
  237. .checkbox-label {
  238. text-transform: capitalize;
  239. }
  240. /* EPFW Styles
  241. *
  242. * @since 2.0.4
  243. *
  244. -------------------------------------------------------------- */
  245. /* tab styling */
  246. .epfw-tab-wrapper.nav-tab-wrapper {
  247. background: #fff;
  248. padding: 0;
  249. border: 1px solid #ddd;
  250. text-align: center;
  251. margin-bottom: 20px;
  252. }
  253. .epfw-tab.nav-tab {
  254. background: transparent;
  255. border: 0;
  256. display: inline-block;
  257. margin-right: 20px;
  258. margin-left: 0;
  259. padding: 10px;
  260. border-bottom: 2px solid transparent;
  261. color: #0073aa;
  262. font-weight: 400;
  263. position: relative;
  264. bottom: -2px;
  265. }
  266. .epfw-tab.nav-tab.nav-tab-active {
  267. border-bottom: 2px solid #2e4453;
  268. color: #2e4453;
  269. }
  270. /* admin options page styling */
  271. .masthead {
  272. text-align: center;
  273. border-bottom: 1px solid #DDD;
  274. margin-bottom: 20px;
  275. padding: 20px;
  276. }
  277. .masthead h1 {
  278. margin: 0;
  279. padding: 0;
  280. display: inline-block;
  281. font-size: 20px;
  282. color: #000;
  283. font-weight: 500;
  284. }
  285. .masthead a {
  286. display: inline-block;
  287. margin: 0 10px;
  288. text-decoration: none;
  289. }
  290. .sabox-version {
  291. margin: 20px auto;
  292. padding: 20px 0;
  293. display: block;
  294. text-align: center;
  295. border-bottom: 1px solid #ddd;
  296. border-top: 1px solid #ddd;
  297. }
  298. body.toplevel_page_simple-author-box-options {
  299. background-color: #f3f6f8;
  300. }
  301. body.toplevel_page_simple-author-box-options #wpcontent {
  302. padding-left: 0;
  303. }
  304. .sabox-masthead-left,
  305. .sabox-masthead-right {
  306. display: inline-block;
  307. }
  308. .sabox-masthead-left {
  309. float: left;
  310. }
  311. .sabox-masthead-right {
  312. float: right;
  313. }
  314. /* tooltips styling */
  315. .epfw-tooltip {
  316. position: relative;
  317. display: inline;
  318. margin-right: 10px;
  319. }
  320. .epfw-tooltip:after {
  321. font-weight: 400;
  322. display: block;
  323. visibility: hidden;
  324. position: absolute;
  325. bottom: 0;
  326. left: 20%;
  327. opacity: 0;
  328. content: attr(data-tooltip); /* might also use attr(title) */
  329. height: auto;
  330. min-width: 300px;
  331. z-index: 999;
  332. text-decoration: none;
  333. text-align: center;
  334. border: 1px solid #c8d7e1;
  335. border-radius: 4px;
  336. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), 0 0 56px rgba(0, 0, 0, 0.075);
  337. background: #fff;
  338. color: #4f748e;
  339. font-size: 13px;
  340. padding: 16px;
  341. }
  342. .epfw-tooltip:before {
  343. position: absolute;
  344. visibility: hidden;
  345. width: 0;
  346. height: 0;
  347. left: 50%;
  348. bottom: 0px;
  349. opacity: 0;
  350. content: "";
  351. border-style: solid;
  352. border-width: 6px 6px 0 6px;
  353. border-color: rgba(255, 255, 255, 0.85) transparent transparent transparent;
  354. }
  355. .epfw-tooltip:hover:after {
  356. visibility: visible;
  357. opacity: 1;
  358. bottom: 20px;
  359. }
  360. .epfw-tooltip:hover:before {
  361. visibility: visible;
  362. opacity: 1;
  363. bottom: 14px;
  364. }
  365. /* radio group styling */
  366. .sabox-table input[type="radio"] {
  367. display: none;
  368. margin: 10px;
  369. }
  370. .sabox-table input[type="radio"] + label {
  371. margin: .25em 0 .5em !important;
  372. min-width: 100px;
  373. display: inline-block;
  374. padding: 4px 12px;
  375. font-size: 14px;
  376. line-height: 20px;
  377. color: #333;
  378. text-align: center;
  379. text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  380. vertical-align: middle;
  381. cursor: pointer;
  382. background-color: #f5f5f5;
  383. background-image: -moz-linear-gradient(top, #fff, #e6e6e6);
  384. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));
  385. background-image: -webkit-linear-gradient(top, #fff, #e6e6e6);
  386. background-image: -o-linear-gradient(top, #fff, #e6e6e6);
  387. background-image: linear-gradient(to bottom, #fff, #e6e6e6);
  388. background-repeat: repeat-x;
  389. border: 1px solid #ccc;
  390. border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  391. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  392. border-bottom-color: #b3b3b3;
  393. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  394. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  395. -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  396. -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  397. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  398. }
  399. .sabox-table input[type="radio"]:checked + label {
  400. background-image: none;
  401. outline: 0;
  402. -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  403. -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  404. box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  405. background-color: #e0e0e0;
  406. }
  407. .sabox-radio-group {
  408. text-align: right;
  409. }
  410. .sabox-multicheckbox {
  411. text-align: right;
  412. }
  413. .sabox-multicheckbox > div {
  414. display: inline-block;
  415. margin: 0 0 10px 10px;
  416. }
  417. /* Upsell */
  418. a.upgrade-pro {
  419. float: right;
  420. color: red !important;
  421. margin-right: 0 !important;
  422. text-decoration: none;
  423. font-size: 14px;
  424. padding: 12px;
  425. }
  426. a.upgrade-pro:after {
  427. font-family: 'dashicons';
  428. content: '\f155';
  429. margin-left: 7px;
  430. vertical-align: middle;
  431. }
  432. .wp-has-submenu a[href*="admin.php?page=sab-upgrade"] {
  433. color: red !important;
  434. }
  435. .wp-has-submenu a[href*="admin.php?page=sab-upgrade"]:after {
  436. font-family: 'dashicons';
  437. content: '\f155';
  438. margin-left: 7px;
  439. vertical-align: middle;
  440. }
  441. /* Lite vs PRO SEction */
  442. .featured-section.features .row {
  443. display: inline-block;
  444. width: 97%;
  445. padding: 15px;
  446. border-bottom: 1px solid rgba(0, 0, 0, .06);
  447. }
  448. .featured-section.features .row .dashicons-yes {
  449. color: #2cbe4e;
  450. }
  451. .featured-section.features .row .dashicons-no-alt {
  452. color: #ff3d2e;
  453. }
  454. .featured-section.features .row > div {
  455. display: inline-block;
  456. float: left;
  457. width: 15%;
  458. text-align: center;
  459. }
  460. .featured-section.features .row > .feature {
  461. width: 70%;
  462. text-align: left;
  463. }
  464. .featured-section .free-pro-table {
  465. border-spacing: 0;
  466. width: 100%;
  467. margin-top: 40px;
  468. }
  469. .featured-section .free-pro-table th {
  470. padding-bottom: 20px;
  471. }
  472. .featured-section .free-pro-table td {
  473. border-top: 1px solid #ccc;
  474. padding: 20px 0 25px;
  475. }
  476. .featured-section .free-pro-table h3 {
  477. margin: 0;
  478. }
  479. .featured-section .free-pro-table td p {
  480. margin: 0;
  481. }
  482. .featured-section .free-pro-table .sab-feature,
  483. .featured-section .free-pro-table .sab-pro-feature {
  484. text-align: center;
  485. width: 15%;
  486. }
  487. .featured-section .free-pro-table .dashicons-yes {
  488. color: #00a878;
  489. }
  490. .featured-section .free-pro-table .dashicons-no-alt {
  491. color: #ff3439;
  492. }
  493. .featured-section .free-pro-table .dashicons-before:before,
  494. .featured-section .free-pro-table .dashicons-before:before {
  495. font-size: 35px;
  496. height: 35px;
  497. width: 35px;
  498. }
  499. .featured-section .button-hero .dashicons {
  500. font-size: 16px;
  501. vertical-align: middle;
  502. }
  503. .featured-section .ti-about-page-text-center {
  504. text-align: center;
  505. }
  506. .free-pro-table .text-right {
  507. text-align: right;
  508. }
  509. body .simple-author-box-wrap .wp-badge {
  510. background: url('../img/sab-big-icon.png') center 35px no-repeat #27547d;
  511. padding-top: 160px;
  512. height: 0;
  513. background-size: 80%;
  514. }
  515. /* Preview */
  516. .sabox-preview {
  517. border: 1px solid #ddd;
  518. margin: 20px auto;
  519. padding: 0;
  520. }
  521. .sabox-preview .saboxplugin-wrap {
  522. background-color: #FFF;
  523. }
  524. .sabox-preview .sabox-preview-topbar {
  525. background-color: #FAFAFA;
  526. border-bottom: 1px solid #DDD;
  527. text-align: center;
  528. padding: 10px;
  529. margin-bottom: 40px;
  530. }
  531. .sabox-preview .sabox-preview-topbar .dashicons {
  532. position: relative;
  533. top: 2px;
  534. margin-right: 10px;
  535. }
  536. .sabox-preview .note {
  537. margin-top: 40px;
  538. padding: 10px;
  539. background-color: #fafafa;
  540. border-top: 1px solid #ddd;
  541. font-style: italic;
  542. color: #777;
  543. }