| @@ -1,117 +1,166 @@ | ||
| 1 | -#winp-snippet-library { | |
| 2 | - .wbcr-inp-enable-snippet-button, | |
| 3 | - .wbcr-inp-delete-snippet-button { | |
| 4 | - .dashicons { | |
| 5 | - margin-top: 4px; | |
| 6 | - } | |
| 7 | - } | |
| 8 | - | |
| 9 | - .wbcr-inp-snippet-type-label { | |
| 10 | - display: inline-block; | |
| 11 | - padding: 3px 8px 6px; | |
| 12 | - border-radius: 3px; | |
| 13 | - font-weight: bold; | |
| 14 | - width: 30px; | |
| 15 | - text-align: center; | |
| 16 | - | |
| 17 | - &.wbcr-inp-type-php { | |
| 18 | - background: #777bb3; | |
| 19 | - color: #ffffff; | |
| 20 | - } | |
| 21 | - | |
| 22 | - &.wbcr-inp-type-text { | |
| 23 | - background: #4CAF50; | |
| 24 | - color: #fffffd; | |
| 25 | - } | |
| 26 | - | |
| 27 | - &.wbcr-inp-type-universal { | |
| 28 | - background: #607D8B; | |
| 29 | - color: #ffffff; | |
| 30 | - } | |
| 31 | - | |
| 32 | - &.wbcr-inp-type-css { | |
| 33 | - background: #1572b6; | |
| 34 | - color: #ffffff; | |
| 35 | - } | |
| 36 | - | |
| 37 | - &.wbcr-inp-type-js { | |
| 38 | - background: #f7df1e; | |
| 39 | - color: #655b0e; | |
| 40 | - } | |
| 41 | - | |
| 42 | - &.wbcr-inp-type-html { | |
| 43 | - background: #e44d26; | |
| 44 | - color: #fffffd; | |
| 45 | - } | |
| 46 | - } | |
| 47 | -} | |
| 48 | - | |
| 49 | -.winp-snippet-library { | |
| 50 | - p.winp-icon { | |
| 51 | - padding: 10px 0 50px 0; | |
| 52 | - margin-right: 30px; | |
| 53 | - | |
| 54 | - span { | |
| 55 | - font-size: 5em; | |
| 56 | - color: #c5ccd2; | |
| 57 | - } | |
| 58 | - } | |
| 59 | - | |
| 60 | - p.winp-header-modal { | |
| 61 | - font-size: 28px; | |
| 62 | - color: #717880; | |
| 63 | - } | |
| 64 | - | |
| 65 | - p.winp-title-modal { | |
| 66 | - font-size: 14px; | |
| 67 | - color: #b3b7ba; | |
| 68 | - padding-bottom: 20px; | |
| 69 | - } | |
| 70 | - | |
| 71 | - .winp-more-padding { | |
| 72 | - padding-top: 100px; | |
| 73 | - } | |
| 74 | - | |
| 75 | - /*.wbcr-inp-snippet-description { | |
| 76 | - width: 90%; | |
| 77 | - white-space: nowrap; | |
| 78 | - overflow: hidden; | |
| 79 | - text-overflow: ellipsis; | |
| 80 | - }*/ | |
| 81 | - | |
| 82 | - table.snippets { | |
| 83 | - .column-type { | |
| 84 | - width: 80px; | |
| 85 | - } | |
| 86 | - | |
| 87 | - .column-preview { | |
| 88 | - width: 130px; | |
| 89 | - } | |
| 90 | - | |
| 91 | - .column-datetime { | |
| 92 | - width: 130px; | |
| 93 | - } | |
| 94 | - | |
| 95 | - .column-insert, .column-delete { | |
| 96 | - width: 100px; | |
| 97 | - } | |
| 98 | - } | |
| 99 | -} | |
| 100 | - | |
| 101 | -#winp-library-buy-button { | |
| 102 | - background-color: #fdc018; | |
| 103 | - border-color: #e7b017; | |
| 104 | - color: white; | |
| 105 | - text-transform: uppercase; | |
| 106 | - border-radius: 1px; | |
| 107 | - padding: 10px 30px; | |
| 108 | - | |
| 109 | - span { | |
| 110 | - //position: relative; | |
| 111 | - bottom: 13px; | |
| 112 | - } | |
| 113 | - | |
| 114 | - span:hover { | |
| 115 | - color: #f3f4ef; | |
| 116 | - } | |
| 1 | +#winp-snippet-library { | |
| 2 | + .wbcr-inp-enable-snippet-button, | |
| 3 | + .wbcr-inp-delete-snippet-button { | |
| 4 | + .dashicons { | |
| 5 | + margin-top: 4px; | |
| 6 | + } | |
| 7 | + } | |
| 8 | + | |
| 9 | + .wbcr-inp-snippet-type-label { | |
| 10 | + display: inline-block; | |
| 11 | + padding: 3px 8px 6px; | |
| 12 | + border-radius: 3px; | |
| 13 | + font-weight: bold; | |
| 14 | + text-align: center; | |
| 15 | + | |
| 16 | + &.wbcr-inp-type-PHP { | |
| 17 | + background: #777bb3; | |
| 18 | + color: #ffffff; | |
| 19 | + } | |
| 20 | + | |
| 21 | + &.wbcr-inp-type-Text { | |
| 22 | + background: #4CAF50; | |
| 23 | + color: #fffffd; | |
| 24 | + } | |
| 25 | + | |
| 26 | + &.wbcr-inp-type-Universal { | |
| 27 | + background: #607D8B; | |
| 28 | + color: #ffffff; | |
| 29 | + } | |
| 30 | + | |
| 31 | + &.wbcr-inp-type-CSS { | |
| 32 | + background: #1572b6; | |
| 33 | + color: #ffffff; | |
| 34 | + } | |
| 35 | + | |
| 36 | + &.wbcr-inp-type-JS { | |
| 37 | + background: #f7df1e; | |
| 38 | + color: #655b0e; | |
| 39 | + } | |
| 40 | + | |
| 41 | + &.wbcr-inp-type-HTML { | |
| 42 | + background: #e44d26; | |
| 43 | + color: #fffffd; | |
| 44 | + } | |
| 45 | + | |
| 46 | + &.wbcr-inp-type-Advert { | |
| 47 | + background: #26aa5d; | |
| 48 | + color: #fffffd; | |
| 49 | + } | |
| 50 | + } | |
| 51 | +} | |
| 52 | + | |
| 53 | +.winp-snippet-library { | |
| 54 | + .winp-upsell-container { | |
| 55 | + max-width: 640px; | |
| 56 | + margin: 60px auto; | |
| 57 | + padding: 0 20px; | |
| 58 | + } | |
| 59 | + | |
| 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; | |
| 84 | + } | |
| 85 | + } | |
| 86 | + | |
| 87 | + .winp-upsell-title { | |
| 88 | + font-size: 24px; | |
| 89 | + font-weight: 600; | |
| 90 | + margin: 0 0 8px 0; | |
| 91 | + color: #111827; | |
| 92 | + } | |
| 93 | + | |
| 94 | + .winp-upsell-badge { | |
| 95 | + font-size: 14px; | |
| 96 | + color: #9ca3af; | |
| 97 | + margin: 0 0 20px 0; | |
| 98 | + font-weight: 500; | |
| 99 | + } | |
| 100 | + | |
| 101 | + .winp-upsell-description { | |
| 102 | + font-size: 16px; | |
| 103 | + color: #6b7280; | |
| 104 | + line-height: 1.6; | |
| 105 | + margin: 0 0 32px 0; | |
| 106 | + } | |
| 107 | + | |
| 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; | |
| 122 | + | |
| 123 | + &:hover, | |
| 124 | + &:focus { | |
| 125 | + background: #5558e3 !important; | |
| 126 | + border-color: #5558e3 !important; | |
| 127 | + color: #fff !important; | |
| 128 | + } | |
| 129 | + } | |
| 130 | + | |
| 131 | + table.snippets { | |
| 132 | + .column-type { | |
| 133 | + width: 120px; | |
| 134 | + } | |
| 135 | + | |
| 136 | + .column-preview { | |
| 137 | + width: 130px; | |
| 138 | + } | |
| 139 | + | |
| 140 | + .column-datetime { | |
| 141 | + width: 130px; | |
| 142 | + } | |
| 143 | + | |
| 144 | + .column-insert, .column-delete { | |
| 145 | + width: 100px; | |
| 146 | + } | |
| 147 | + } | |
| 148 | +} | |
| 149 | + | |
| 150 | +#winp-library-buy-button { | |
| 151 | + background-color: #fdc018; | |
| 152 | + border-color: #e7b017; | |
| 153 | + color: white; | |
| 154 | + text-transform: uppercase; | |
| 155 | + border-radius: 1px; | |
| 156 | + padding: 10px 30px; | |
| 157 | + | |
| 158 | + span { | |
| 159 | + //position: relative; | |
| 160 | + bottom: 13px; | |
| 161 | + } | |
| 162 | + | |
| 163 | + span:hover { | |
| 164 | + color: #f3f4ef; | |
| 165 | + } | |
| 117 | 166 | } |