newsletter-builder.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800
  1. .tnp-composer-heading {
  2. background-color: #0073aa;
  3. border-radius: 0px !important;
  4. border-top: 5px solid #ffffff;
  5. }
  6. .tnp-composer-heading h2 {
  7. display: inline-block;
  8. margin-left: 30px !important;
  9. text-transform: none !important;
  10. font-weight: 400 !important;
  11. }
  12. .tnp-composer-heading a {
  13. display: inline-block;
  14. margin-left: 30px;
  15. }
  16. .tnp-composer-heading form {
  17. display: inline-block;
  18. margin-left: 30px;
  19. }
  20. .tnp-composer-heading img {
  21. width: 50px;
  22. vertical-align: middle;
  23. }
  24. #newsletter-builder {
  25. position: relative;
  26. overflow: hidden;
  27. width: 100%;
  28. background-color: #FFFFFF;
  29. }
  30. .tnp-builder-column {
  31. overflow: auto;
  32. height: 85vh;
  33. float: left;
  34. }
  35. #newsletter-builder-sidebar {
  36. z-index: 1;
  37. width: 33.33%;
  38. background-color: #ECF0F1;
  39. position: relative;
  40. }
  41. #newsletter-builder-sidebar h4 {
  42. /* margin: 5px; */
  43. /* text-align: center; */
  44. color: #868686;
  45. /* margin-bottom: 20px; */
  46. font-family: Montserrat, sans-serif;
  47. font-weight: 300;
  48. border-bottom: 1px solid #fff;
  49. padding-bottom: 10px;
  50. }
  51. /*#newsletter-builder-sidebar h4 span {
  52. background-color: #27AE60;
  53. padding: 2px 5px;
  54. border-radius: 3px;
  55. }*/
  56. #newsletter-builder-sidebar .newsletter-sidebar-add-buttons img {
  57. width: 150px;
  58. height: auto;
  59. }
  60. .newsletter-sidebar-add-buttons {
  61. border-radius: 4px;
  62. padding: 5px;
  63. margin: 5px;
  64. }
  65. .tnp-body-lite {
  66. background-color: #FFFFFF !important;
  67. }
  68. .newsletter-sidebar-buttons-content-tab {
  69. margin: 1px;
  70. position: relative;
  71. display: inline-block;
  72. }
  73. .newsletter-sidebar-buttons-content-tab:hover {
  74. cursor: move;
  75. }
  76. .newsletter-sidebar-buttons-content-tab:hover img{
  77. opacity: 0.8;
  78. }
  79. .newsletter-sidebar-buttons-content-tab:hover .newsletter-sidebar-buttons-content-tab-add{
  80. opacity: 0.5;
  81. }
  82. .newsletter-sidebar-buttons-content-tab-add {
  83. height: 100%;
  84. width: 100%;
  85. background-color: rgba(70,70,70,1);
  86. position: absolute;
  87. left: 0;
  88. top: 0;
  89. /*float: left;*/
  90. /*margin-top: -15px;*/
  91. /*margin-left: -50px;*/
  92. -webkit-transition: all 0.5s;
  93. -moz-transition: all 0.5s;
  94. -o-transition: all 0.5s;
  95. transition: all 0.5s;
  96. z-index: 2;
  97. opacity: 0;
  98. text-align: center;
  99. line-height: inherit;
  100. color: white;
  101. }
  102. .newsletter-sidebar-buttons-content-tab-add:hover {
  103. background-color: rgba(0,0,0,1);
  104. /* cursor: pointer;*/
  105. }
  106. #newsletter-builder-area {
  107. background-color: #fff;
  108. width: 66.66%;
  109. box-sizing: border-box;
  110. padding-left: 50px;
  111. padding-right: 50px;
  112. padding-top: 10px;
  113. }
  114. #newsletter-builder-area-center-frame-content {
  115. /*float: left;*/
  116. /*width: 730px;*/
  117. /*background-color: rgba(153,153,153,1);*/
  118. min-height: 50px;
  119. padding-bottom: 75px;
  120. background-color: #ECF0F1;
  121. padding-top: 30px;
  122. /*border: 1px dashed #eee;*/
  123. }
  124. #newsletter-mobile-preview-area {
  125. margin-left: 30px;
  126. box-sizing: border-box;
  127. margin-top: 30px;
  128. text-align: center;
  129. border: 1px solid #ddd;
  130. border-radius: 10px;
  131. padding-left: 10px;
  132. padding-right: 10px;
  133. padding-top: 10px;
  134. }
  135. #newsletter-mobile-preview-area input {
  136. width: 100px;
  137. }
  138. iframe#tnpc-mobile-preview {
  139. height: 500px;
  140. box-sizing: border-box;
  141. width: 320px;
  142. border-radius: 30px;
  143. margin-top: 20px;
  144. margin-left: 20px;
  145. background-color: #F6F8FD;
  146. }
  147. .tnpc-row {
  148. -webkit-transition: box-shadow 0.5s;
  149. -moz-transition: box-shadow 0.5s;
  150. -o-transition: box-shadow 0.5s;
  151. transition: box-shadow 0.5s;
  152. position: relative;
  153. }
  154. .tnpc-row:hover {
  155. cursor: move;
  156. /*border: 2px dashed #999;*/
  157. -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.2);
  158. -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.2);
  159. box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.2);
  160. }
  161. .tnpc-row.ui-sortable-helper {
  162. max-width: 700px!important;
  163. }
  164. .tnpc-row-delete, .tnpc-row-edit-block, .tnpc-row-clone {
  165. height: 30px;
  166. width: 30px;
  167. top: 0px;
  168. background-color: rgba(255,255,255,0.5);
  169. z-index: 5;
  170. position: absolute;
  171. color: rgba(102,102,102,1);
  172. -webkit-transition: all 0.5s;
  173. -moz-transition: all 0.5s;
  174. -o-transition: all 0.5s;
  175. transition: all 0.5s;
  176. opacity: 0;
  177. text-align: center;
  178. font-size: 18px;
  179. }
  180. .tnpc-row-delete i, .tnpc-row-edit-block i, .tnpc-row-clone i {
  181. line-height: 30px;
  182. }
  183. .tnpc-row-delete:hover {
  184. background-color: #E74C3C;
  185. cursor: pointer;
  186. color: rgba(255,255,255,1);
  187. }
  188. .tnpc-row:hover .tnpc-row-delete, .tnpc-row:hover .tnpc-row-edit-block, .tnpc-row:hover .tnpc-row-clone {
  189. opacity: 1;
  190. }
  191. .tnpc-row-delete {
  192. right: 0px;
  193. z-index: 5;
  194. }
  195. .tnpc-row-edit-block {
  196. right: 60px;
  197. }
  198. .tnpc-row-edit-block:hover {
  199. background-color: #e0e0e0;
  200. cursor: pointer;
  201. color: rgba(0, 0, 0, 1);
  202. }
  203. .tnpc-row-clone {
  204. right: 30px;
  205. }
  206. .tnpc-row-clone:hover {
  207. background-color: #e0e0e0;;
  208. cursor: pointer;
  209. color: rgba(0,0,0,1);
  210. }
  211. .tnpc-row-edit {
  212. position: relative;
  213. }
  214. .tnpc-row-edit-hover {
  215. height: 100%;
  216. width: 100%;
  217. background-color: rgba(63,141,191,0.8);
  218. position: absolute;
  219. left: 0px;
  220. top: 0px;
  221. cursor: default;
  222. -webkit-transition: all 0.5s;
  223. -moz-transition: all 0.5s;
  224. -o-transition: all 0.5s;
  225. transition: all 0.5s;
  226. }
  227. .tnpc-row-edit-hover i {
  228. position: absolute;
  229. height: 30px;
  230. width: 30px;
  231. line-height: 30px;
  232. left: 50%;
  233. top: 50%;
  234. text-align: center;
  235. margin-top: -15px;
  236. margin-left: -15px;
  237. color: rgba(255,255,255,1);
  238. -webkit-transition: all 0.5s;
  239. -moz-transition: all 0.5s;
  240. -o-transition: all 0.5s;
  241. transition: all 0.5s;
  242. -webkit-border-radius: 50%;
  243. -moz-border-radius: 50%;
  244. border-radius: 50%;
  245. font-size: 16px;
  246. }
  247. .tnpc-row-edit-hover i:hover {
  248. background-color: rgba(0,0,0,0.5);
  249. cursor: pointer;
  250. }
  251. .tnpc-drop-here {
  252. padding:10px;
  253. text-align: center;
  254. }
  255. .tnpc-edit {
  256. height: 100vh;
  257. width: 100vw;
  258. z-index: 10;
  259. display: none;
  260. position: absolute;
  261. top: 0px;
  262. left: 0px;
  263. }
  264. .tnpc-edit-box-title {
  265. /*float: left;*/
  266. width: 100%;
  267. font-size: 29px;
  268. color: #666666;
  269. font-weight: 300;
  270. margin-bottom: 40px;
  271. }
  272. .tnpc-edit-box-content {
  273. /*float: left;*/
  274. width: 100%;
  275. margin-top: 10px;
  276. }
  277. .tnpc-edit-box-content-text {
  278. /*float: left;*/
  279. width: 100%;
  280. font-size: 15px;
  281. color: #666666;
  282. font-weight: 600;
  283. margin: 15px 0px 10px;
  284. text-transform: uppercase;
  285. }
  286. .tnpc-edit-box-content-text span {
  287. font-size: 11px;
  288. color: #95A5A6;
  289. background-color: #D3EADC;
  290. padding: 2px 5px;
  291. text-transform: none;
  292. border-radius: 5px;
  293. }
  294. .tnpc-edit-box-content-field {
  295. /*float: left;*/
  296. width: 100%;
  297. }
  298. .tnpc-edit-box-content-field-input {
  299. height: 33px;
  300. width: 380px;
  301. border: none !important;
  302. outline: none;
  303. font-family: inherit;
  304. padding-right: 10px;
  305. font-size: 15px;
  306. -webkit-transition: all 0.5s;
  307. -moz-transition: all 0.5s;
  308. -o-transition: all 0.5s;
  309. transition: all 0.5s;
  310. color: rgba(102,102,102,1);
  311. margin-bottom: 10px;
  312. }
  313. .tnpc-edit-box-content-field-input:focus {
  314. -webkit-box-shadow: inset 0px 0px 10px 0px rgba(0,0,0,0.2);
  315. -moz-box-shadow: inset 0px 0px 10px 0px rgba(0,0,0,0.2);
  316. box-shadow: inset 0px 0px 10px 0px rgba(0,0,0,0.2);
  317. }
  318. .tnpc-edit-box-content-field-textarea {
  319. /*float: left;*/
  320. height: 180px;
  321. width: 380px;
  322. border: 1px solid rgba(204,204,204,1);
  323. outline: none;
  324. font-family: inherit;
  325. font-size: 15px;
  326. -webkit-transition: all 0.5s;
  327. -moz-transition: all 0.5s;
  328. -o-transition: all 0.5s;
  329. transition: all 0.5s;
  330. color: rgba(102,102,102,1);
  331. resize: none;
  332. padding: 10px;
  333. }
  334. .tnpc-edit-box-content-field-textarea:focus {
  335. -webkit-box-shadow: inset 0px 0px 10px 0px rgba(0,0,0,0.2);
  336. -moz-box-shadow: inset 0px 0px 10px 0px rgba(0,0,0,0.2);
  337. box-shadow: inset 0px 0px 10px 0px rgba(0,0,0,0.2);
  338. }
  339. .tnpc-edit-box-content-icons {
  340. /*float: left;*/
  341. height: 388px;
  342. width: 388px;
  343. border: 1px solid rgba(204,204,204,1);
  344. margin-top: 15px;
  345. overflow-y: scroll;
  346. }
  347. .tnpc-edit-box-content-icons i {
  348. line-height: 50px;
  349. background-color: rgba(225,225,225,1);
  350. /*float: left;*/
  351. height: 50px;
  352. width: 50px;
  353. margin-top: 10px;
  354. margin-left: 10px;
  355. text-align: center;
  356. -webkit-transition: all 0.5s;
  357. -moz-transition: all 0.5s;
  358. -o-transition: all 0.5s;
  359. transition: all 0.5s;
  360. font-size: 28px;
  361. color: rgba(51,51,51,1);
  362. }
  363. .tnpc-edit-box-content-icons i:hover {
  364. cursor: pointer;
  365. background-color: rgba(153,153,153,1);
  366. -webkit-border-radius: 50%;
  367. -moz-border-radius: 50%;
  368. border-radius: 50%;
  369. color: rgba(0,0,0,1);
  370. }
  371. /* Save and cancel buttons container on block options popup */
  372. .tnpc-edit-box-buttons{
  373. margin-top: 10px;
  374. text-align: right;
  375. margin-right: 10px;
  376. }
  377. .tnpc-edit-box-buttons-save{
  378. height: 35px;
  379. text-align: right;
  380. line-height: 35px;
  381. color: #27AE60;
  382. font-weight: 600;
  383. font-size: 15px;
  384. -webkit-border-radius: 3px;
  385. -moz-border-radius: 3px;
  386. border-radius: 3px;
  387. -webkit-transition: background 0.5s;
  388. -moz-transition: background 0.5s;
  389. -o-transition: background 0.5s;
  390. transition: background 0.5s;
  391. cursor: pointer;
  392. /*float: left;*/
  393. /*padding-right: 25px;
  394. padding-left: 25px;
  395. width: 33%;*/
  396. display: inline-block;
  397. }
  398. .tnpc-edit-box-buttons-save:hover {
  399. color: #2ECC71;
  400. }
  401. .tnpc-edit-box-buttons-cancel{
  402. height: 35px;
  403. text-align: right;
  404. line-height: 35px;
  405. color: #666;
  406. font-weight: normal;
  407. font-size: 15px;
  408. -webkit-border-radius: 3px;
  409. -moz-border-radius: 3px;
  410. border-radius: 3px;
  411. -webkit-transition: background 0.5s;
  412. -moz-transition: background 0.5s;
  413. -o-transition: background 0.5s;
  414. transition: background 0.5s;
  415. cursor: pointer;
  416. /*float: left;*/
  417. /*padding-right: 25px;
  418. padding-left: 25px;
  419. width: 33%;*/
  420. display: inline-block;
  421. margin-right: 25px;
  422. }
  423. .tnpc-edit-box-buttons-cancel:hover {
  424. color: #E74C3C;
  425. }
  426. .tnpc-edit-box-content-field .iris-square {
  427. margin-right: 10px;
  428. }
  429. .tnpc-edit-box-content-field .iris-picker .iris-slider {
  430. height: 100% !important;
  431. }
  432. /* Tnp Composer Preview */
  433. .tnpc-subject a {
  434. font-family: Source Sans Pro;
  435. font-weight: 700;
  436. text-transform: uppercase;
  437. text-decoration: none;
  438. background-color: #3498DB;
  439. color: white;
  440. padding: 2px 10px;
  441. border-radius: 10px;
  442. font-size: 13px;
  443. letter-spacing: 0.1em;
  444. }
  445. .tnpc-preview {
  446. margin-top: 10px;
  447. }
  448. .tnpc-preview .fake-browser-ui iframe {
  449. width: 700px;
  450. }
  451. .tnpc-preview .fake-mobile-browser-ui iframe {
  452. width: 320px;
  453. }
  454. .fake-browser-ui {
  455. padding: 30px 0 0;
  456. border-radius: 3px;
  457. border-bottom: 10px solid #ccc;
  458. background: #ddd;
  459. display: inline-block;
  460. position: relative;
  461. line-height: 0;
  462. vertical-align: top;
  463. margin-left: 20px;
  464. }
  465. .fake-mobile-browser-ui {
  466. padding: 30px 10px 37px;
  467. border-radius: 10px;
  468. border-bottom: 10px solid #ccc;
  469. background: #ddd;
  470. display: inline-block;
  471. position: relative;
  472. line-height: 0;
  473. margin-left: 30px;
  474. }
  475. .fake-browser-ui .frame {
  476. display: block;
  477. height: 25px;
  478. position: absolute;
  479. top: 12px;
  480. left: 8px;
  481. }
  482. .fake-mobile-browser-ui .frame {
  483. display: block;
  484. height: 25px;
  485. margin-top: 10px;
  486. }
  487. .fake-browser-ui span {
  488. height: 12px;
  489. width: 12px;
  490. border-radius: 8px;
  491. background-color: #eee;
  492. border: 1px solid #dadada;
  493. float: left;
  494. margin: 0 0 0 4px;
  495. }
  496. .fake-mobile-browser-ui span {
  497. height: 50px;
  498. width: 50px;
  499. border-radius: 60px;
  500. background-color: #eee;
  501. border: 2px solid #ccc;
  502. display: block;
  503. margin: auto;
  504. }
  505. .fake-browser-ui .bt-1 {
  506. background-color: #ED594A;
  507. }
  508. .fake-browser-ui .bt-2 {
  509. background-color: #FDD800;
  510. }
  511. .fake-browser-ui .bt-3 {
  512. background-color: #5AC05A;
  513. }
  514. /* Tnp Html Editor */
  515. #tnpc-html-editor {
  516. height: 600px;
  517. border-top: 20px solid #323232;
  518. border-radius: 8px;
  519. }
  520. /* List Block Styles */ *
  521. .tnp-select2-option {
  522. /* background-color: red; */
  523. }
  524. .tnp-select2-option img {
  525. height: 15px;
  526. margin-right: 5px;
  527. vertical-align: middle;
  528. background-color: rgba(234, 234, 234, 0.25);
  529. padding: 10px;
  530. border-radius: 5px;
  531. }
  532. /* ************************************************************************** */
  533. /* Block options layer over the sidebar */
  534. /* Main container */
  535. #tnpc-block-options {
  536. height: 100vh;
  537. z-index: 10;
  538. display: none;
  539. position: absolute;
  540. top: 0px;
  541. left: 0px;
  542. bottom: 0;
  543. right: 0;
  544. background-color: #ECF0F1;
  545. padding: 0;
  546. }
  547. /* Form */
  548. form#tnpc-block-options-form {
  549. background-color: #fff;
  550. padding: 15px;
  551. margin-top: 50px;
  552. }
  553. #tnpc-block-options-form, #tnpc-block-options-form p {
  554. color: #444;
  555. background-color: #ECF0F1 !important;
  556. }
  557. #tnpc-block-options-form h3 {
  558. color: #000;
  559. }
  560. #tnpc-block-options-form table.form-table th {
  561. /*background-color: #f4f4f4;*/
  562. width: 100%;
  563. vertical-align: top;
  564. float: left;
  565. font-weight: normal;
  566. text-transform: uppercase;
  567. font-size: 13px;
  568. padding-top: 10px;
  569. padding-bottom: 5px;
  570. padding-left: 0;
  571. padding-right: 0;
  572. }
  573. #tnpc-block-options-form table.form-table td {
  574. float: left;
  575. padding: 0;
  576. margin: 0;
  577. border: 0;
  578. width: 100%;
  579. }
  580. #tnpc-block-options-form table.form-table {
  581. margin: 0px;
  582. border-collapse: separate!important;
  583. border-spacing: 1px!important;
  584. }
  585. #tnpc-block-options-form table.form-table table.tnp-button-colors {
  586. border: 0;
  587. border-collapse: collapse;
  588. }
  589. #tnpc-block-options-form table.form-table table.tnp-button-colors td {
  590. border: 0;
  591. padding-top: 0;
  592. }
  593. /* Save and cancel button container */
  594. #tnpc-block-options-buttons {
  595. padding: 20px;
  596. text-align: right;
  597. background-color: #ecf0f1;
  598. width: 31%;
  599. position: fixed;
  600. height: 70px;
  601. border-bottom: 1px solid #ffffff;
  602. z-index: 9999999;
  603. }
  604. #tnpc-block-options-save{
  605. }
  606. #tnpc-block-options-save:hover {
  607. }
  608. #tnpc-block-options-cancel{
  609. }
  610. #tnpc-block-options-cancel:hover {
  611. }
  612. /* Style the tab */
  613. .tnpc-tabs {
  614. overflow: hidden;
  615. background-color: #fff;
  616. font-family: Montserrat, sans-serif;
  617. }
  618. /* Style the buttons that are used to open the tab content */
  619. .tnpc-tabs button {
  620. background-color: inherit;
  621. float: left;
  622. border: none;
  623. outline: none;
  624. cursor: pointer;
  625. padding: 14px 16px;
  626. transition: 0.3s;
  627. color: #6a8ba0;
  628. }
  629. /* Change background color of buttons on hover */
  630. .tnpc-tabs button:hover {
  631. background-color: #ddd;
  632. }
  633. /* Create an active/current tablink class */
  634. .tnpc-tabs button.active {
  635. background-color: #ECF0F1;
  636. color: #3498DB;
  637. }
  638. /* Style the tab content */
  639. .tabcontent {
  640. display: none;
  641. padding: 6px 12px;
  642. border-top: none;
  643. }
  644. /* Style Reset, Save, Save & Preview footer */
  645. .tnpc-controls {
  646. text-align: right;
  647. }
  648. .tnpc-logo {
  649. float: left;
  650. }
  651. .tnpc-logo p {
  652. font-family: Montserrat, Sans-serif;
  653. color: #fff !important;
  654. font-size: 16px;
  655. margin-left: 20px !important;
  656. margin-top: 5px !important;
  657. }
  658. /* Style Subject Area */
  659. /* No influenza anche il contenuto della mail */
  660. #newsletter-builder-area p {
  661. /*background-color: #ECF0F1;
  662. padding: 15px;*/
  663. }
  664. /* Global Options elements style */
  665. #tnpc-general-options select {
  666. box-shadow: none;
  667. border-radius: 0px;
  668. border: none;
  669. margin-right: 5px;
  670. }
  671. /* Blocks options global styles */
  672. .tnpc-block-options-warning {
  673. background-color: #def9e9;
  674. padding: 10px 15px;
  675. }
  676. /* Presets */
  677. .tnpc-presets-title {
  678. padding: 0px 20px 25px;
  679. font-size: 21px;
  680. margin-bottom: 30px;
  681. color: #484848;
  682. border-bottom: 3px solid white;
  683. }
  684. .tnpc-preset {
  685. float: left;
  686. margin: 15px;
  687. cursor: pointer;
  688. width: 150px;
  689. height: 263px;
  690. background: white;
  691. border-radius: 8px;
  692. box-shadow: 0 0 2px 0px #dee3e4;
  693. position: relative;
  694. }
  695. .tnpc-preset:hover {
  696. box-shadow: 0 0 8px 8px #dee3e4;
  697. }
  698. .tnpc-preset-label {
  699. position: absolute;
  700. top: 200px;
  701. left: 50%;
  702. text-align: center;
  703. transform: translate(-50%, -50%);
  704. font-size: 14px;
  705. width: 80%;
  706. }