Skip to content

Commit 79d556e

Browse files
committed
DOC-3313: update icons and svgs, match opacity styling to website css.
1 parent 2abd53e commit 79d556e

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

modules/ROOT/pages/installation-self-hosted.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,25 +133,25 @@ include::partial$css/installation-cards.css[]
133133
<div class="framework-grid">
134134
<a href="https://www.tiny.cloud/docs/tinymce/latest/npm-projects/" class="framework-card-link">
135135
<div class="framework-card">
136-
<div class="framework-icon"><img src="https://www.tiny.cloud/images/homepage/integrations/nodejs-color.svg" alt="Node.js"></div>
136+
<div class="framework-icon"><img src="https://cdn.worldvectorlogo.com/logos/npm.svg" alt="NPM"></div>
137137
<h3 class="framework-name">NPM Projects</h3>
138138
</div>
139139
</a>
140140
<a href="https://www.tiny.cloud/docs/tinymce/latest/php-projects/" class="framework-card-link">
141141
<div class="framework-card">
142-
<div class="framework-icon">🐘</div>
142+
<div class="framework-icon"><img src="https://www.php.net/images/logos/new-php-logo.svg" alt="PHP"></div>
143143
<h3 class="framework-name">PHP Projects</h3>
144144
</div>
145145
</a>
146146
<a href="https://www.tiny.cloud/docs/tinymce/latest/dotnet-projects/" class="framework-card-link">
147147
<div class="framework-card">
148-
<div class="framework-icon">💼</div>
148+
<div class="framework-icon"><img src="https://raw.githubusercontent.com/dotnet/brand/main/logo/dotnet-logo.svg" alt=".NET"></div>
149149
<h3 class="framework-name">.NET Projects</h3>
150150
</div>
151151
</a>
152152
<a href="https://www.tiny.cloud/docs/tinymce/latest/bower-projects/" class="framework-card-link">
153153
<div class="framework-card">
154-
<div class="framework-icon">🥃</div>
154+
<div class="framework-icon"><img src="https://bower.io/img/bower-logo.svg" alt="Bower"></div>
155155
<h3 class="framework-name">Bower Projects</h3>
156156
</div>
157157
</a>
@@ -163,7 +163,7 @@ include::partial$css/installation-cards.css[]
163163
</a>
164164
<a href="https://www.tiny.cloud/docs/tinymce/latest/swing/" class="framework-card-link">
165165
<div class="framework-card">
166-
<div class="framework-icon"></div>
166+
<div class="framework-icon"><img src="https://cdn.worldvectorlogo.com/logos/java-4.svg" alt="Java"></div>
167167
<h3 class="framework-name">Java Swing</h3>
168168
</div>
169169
</a>

modules/ROOT/pages/installation-zip.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ include::partial$css/installation-cards.css[]
119119
</a>
120120
<a href="https://www.tiny.cloud/docs/tinymce/latest/swing/" class="framework-card-link">
121121
<div class="framework-card">
122-
<div class="framework-icon"></div>
122+
<div class="framework-icon"><img src="https://cdn.worldvectorlogo.com/logos/java-4.svg" alt="Java"></div>
123123
<h3 class="framework-name">Java Swing</h3>
124124
</div>
125125
</a>

modules/ROOT/partials/css/installation-cards.css

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,22 @@
220220
color: inherit;
221221
border: 2px solid transparent; /* reserve space to avoid layout shift on hover */
222222
border-radius: 10px;
223-
transition: all 0.3s ease;
223+
transition: all 0.3s ease, opacity 0.3s ease;
224+
opacity: 1;
224225
}
225226

226227
.framework-card-link:hover {
227228
text-decoration: none !important;
228-
border-color: var(--card-border);
229+
border-color: var(--tiny-light-blue);
230+
}
231+
232+
/* When hovering over framework-cards container, dim all cards except the hovered one */
233+
.framework-cards:hover .framework-card-link {
234+
opacity: 0.5;
235+
}
236+
237+
.framework-cards:hover .framework-card-link:hover {
238+
opacity: 1;
229239
}
230240

231241
.framework-card {

0 commit comments

Comments
 (0)