| @@ -10,79 +10,128 @@ | ||
| 10 | 10 | display: inline-block; |
| 11 | 11 | padding: 3px 8px 6px; |
| 12 | 12 | border-radius: 3px; |
| 13 | 13 | font-weight: bold; |
| 14 | - width: 30px; | |
| 15 | 14 | text-align: center; |
| 16 | 15 | |
| 17 | - &.wbcr-inp-type-php { | |
| 16 | + &.wbcr-inp-type-PHP { | |
| 18 | 17 | background: #777bb3; |
| 19 | 18 | color: #ffffff; |
| 20 | 19 | } |
| 21 | 20 | |
| 22 | - &.wbcr-inp-type-text { | |
| 21 | + &.wbcr-inp-type-Text { | |
| 23 | 22 | background: #4CAF50; |
| 24 | 23 | color: #fffffd; |
| 25 | 24 | } |
| 26 | 25 | |
| 27 | - &.wbcr-inp-type-universal { | |
| 26 | + &.wbcr-inp-type-Universal { | |
| 28 | 27 | background: #607D8B; |
| 29 | 28 | color: #ffffff; |
| 30 | 29 | } |
| 31 | 30 | |
| 32 | - &.wbcr-inp-type-css { | |
| 31 | + &.wbcr-inp-type-CSS { | |
| 33 | 32 | background: #1572b6; |
| 34 | 33 | color: #ffffff; |
| 35 | 34 | } |
| 36 | 35 | |
| 37 | - &.wbcr-inp-type-js { | |
| 36 | + &.wbcr-inp-type-JS { | |
| 38 | 37 | background: #f7df1e; |
| 39 | 38 | color: #655b0e; |
| 40 | 39 | } |
| 41 | 40 | |
| 42 | - &.wbcr-inp-type-html { | |
| 41 | + &.wbcr-inp-type-HTML { | |
| 43 | 42 | background: #e44d26; |
| 44 | 43 | color: #fffffd; |
| 45 | 44 | } |
| 45 | + | |
| 46 | + &.wbcr-inp-type-Advert { | |
| 47 | + background: #26aa5d; | |
| 48 | + color: #fffffd; | |
| 49 | + } | |
| 46 | 50 | } |
| 47 | 51 | } |
| 48 | 52 | |
| 49 | 53 | .winp-snippet-library { |
| 50 | - p.winp-icon { | |
| 51 | - padding: 10px 0 50px 0; | |
| 52 | - margin-right: 30px; | |
| 54 | + .winp-upsell-container { | |
| 55 | + max-width: 640px; | |
| 56 | + margin: 60px auto; | |
| 57 | + padding: 0 20px; | |
| 58 | + } | |
| 53 | 59 | |
| 54 | - span { | |
| 55 | - font-size: 5em; | |
| 56 | - color: #c5ccd2; | |
| 60 | + .winp-upsell-card { | |
| 61 | + background: #fff; | |
| 62 | + border: 1px solid #e5e7eb; | |
| 63 | + border-radius: 12px; | |
| 64 | + padding: 40px; | |
| 65 | + text-align: center; | |
| 66 | + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); | |
| 67 | + } | |
| 68 | + | |
| 69 | + .winp-upsell-icon { | |
| 70 | + width: 64px; | |
| 71 | + height: 64px; | |
| 72 | + background: #6366f1; | |
| 73 | + border-radius: 12px; | |
| 74 | + display: inline-flex; | |
| 75 | + align-items: center; | |
| 76 | + justify-content: center; | |
| 77 | + margin-bottom: 24px; | |
| 78 | + | |
| 79 | + .dashicons { | |
| 80 | + font-size: 32px; | |
| 81 | + width: 32px; | |
| 82 | + height: 32px; | |
| 83 | + color: #fff; | |
| 57 | 84 | } |
| 58 | 85 | } |
| 59 | 86 | |
| 60 | - p.winp-header-modal { | |
| 61 | - font-size: 28px; | |
| 62 | - color: #717880; | |
| 87 | + .winp-upsell-title { | |
| 88 | + font-size: 24px; | |
| 89 | + font-weight: 600; | |
| 90 | + margin: 0 0 8px 0; | |
| 91 | + color: #111827; | |
| 63 | 92 | } |
| 64 | 93 | |
| 65 | - p.winp-title-modal { | |
| 94 | + .winp-upsell-badge { | |
| 66 | 95 | font-size: 14px; |
| 67 | - color: #b3b7ba; | |
| 68 | - padding-bottom: 20px; | |
| 96 | + color: #9ca3af; | |
| 97 | + margin: 0 0 20px 0; | |
| 98 | + font-weight: 500; | |
| 69 | 99 | } |
| 70 | 100 | |
| 71 | - .winp-more-padding { | |
| 72 | - padding-top: 100px; | |
| 101 | + .winp-upsell-description { | |
| 102 | + font-size: 16px; | |
| 103 | + color: #6b7280; | |
| 104 | + line-height: 1.6; | |
| 105 | + margin: 0 0 32px 0; | |
| 73 | 106 | } |
| 74 | 107 | |
| 75 | - /*.wbcr-inp-snippet-description { | |
| 76 | - width: 90%; | |
| 77 | - white-space: nowrap; | |
| 78 | - overflow: hidden; | |
| 79 | - text-overflow: ellipsis; | |
| 80 | - }*/ | |
| 108 | + .winp-upsell-button { | |
| 109 | + background: #6366f1 !important; | |
| 110 | + border-color: #6366f1 !important; | |
| 111 | + color: #fff !important; | |
| 112 | + padding: 14px 40px !important; | |
| 113 | + font-size: 18px !important; | |
| 114 | + font-weight: 600; | |
| 115 | + text-decoration: none; | |
| 116 | + display: inline-block; | |
| 117 | + border-radius: 6px; | |
| 118 | + box-shadow: none !important; | |
| 119 | + text-shadow: none !important; | |
| 120 | + height: auto !important; | |
| 121 | + line-height: normal !important; | |
| 81 | 122 | |
| 123 | + &:hover, | |
| 124 | + &:focus { | |
| 125 | + background: #5558e3 !important; | |
| 126 | + border-color: #5558e3 !important; | |
| 127 | + color: #fff !important; | |
| 128 | + } | |
| 129 | + } | |
| 130 | + | |
| 82 | 131 | table.snippets { |
| 83 | 132 | .column-type { |
| 84 | - width: 80px; | |
| 133 | + width: 120px; | |
| 85 | 134 | } |
| 86 | 135 | |
| 87 | 136 | .column-preview { |
| 88 | 137 | width: 130px; |