Skip to content

Commit d53a222

Browse files
finish tippy styles
1 parent 88876cf commit d53a222

File tree

2 files changed

+4
-32
lines changed

2 files changed

+4
-32
lines changed

templates/repo/home.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
<div class="tw-flex-1">{{svg "octicon-terminal" 16}} Clone</div>
129129
<a class="muted close">{{svg "octicon-x" 16}}</a>
130130
</div>
131-
<div class="menu gt-mt-3 clone-panel-content">
131+
<div class="ui input tw-mb-0">
132132
<!-- there is always at least one button (by context/repo.go) -->
133133
{{if $.CloneButtonShowHTTPS}}
134134
<div class="ui clone tabs" id="repo-clone-https" data-link="{{$.CloneButtonOriginLink.HTTPS}}" data-description="{{ctx.Locale.Tr "repo.clone_https_description"}}">
@@ -141,14 +141,14 @@
141141
</div>
142142
{{end}}
143143
</div>
144-
<div class="ui input tiny action gt-mt-4 gt-mb-0 field">
144+
<div class="ui input tiny action tw-mt-4 tw-mb-0 field">
145145
<input id="repo-clone-url" size="30" class="js-clone-url" value="{{$.CloneButtonOriginLink.HTTPS}}" readonly>
146146
<div class="ui basic small compact icon button tooltip" id="clipboard-btn" data-tooltip-content="{{ctx.Locale.Tr "copy_url"}}" data-clipboard-target="#repo-clone-url" aria-label="{{ctx.Locale.Tr "copy_url"}}">
147147
{{svg "octicon-copy" 14}}
148148
</div>
149149
</div>
150150
<div class="divider"></div>
151-
<div id="repo-clone-method-description" class="ui input text tiny grey gt-mt-3"></div>
151+
<div id="repo-clone-method-description" class="ui input text tiny grey tw-mt-3"></div>
152152
<ul class="ui list tw-w-full">
153153
{{range .OpenWithEditorApps}}
154154
<li>

web_src/css/repo.css

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -156,16 +156,6 @@
156156
margin-left: -1px; /* make the borders overlap to avoid double borders */
157157
}
158158

159-
/* .repository .clone-panel > button:first-of-type, */
160-
/* .repository .clone-panel > div:first-of-type {
161-
border-radius: var(--border-radius) 0 0 var(--border-radius) !important;
162-
} */
163-
164-
/* .repository .clone-panel > button:last-of-type, */
165-
/* .repository .clone-panel > div:last-of-type {
166-
border-radius: 0 var(--border-radius) var(--border-radius) 0 !important;
167-
} */
168-
169159
.repository #clone-panel {
170160
position: relative;
171161
}
@@ -178,28 +168,10 @@
178168
border-radius: var(--border-radius) !important;
179169
}
180170

181-
.repository #clone-heading {
182-
font-size: 1rem;
183-
}
184-
185-
.repository .clone-panel-content {
171+
.repository .clone-panel {
186172
min-width: 200px;
187173
}
188174

189-
.clone-panel-content::before {
190-
content: "";
191-
192-
left: auto;
193-
right: 9px;
194-
top: -10px;
195-
196-
border: 8px solid var(--color-black);
197-
border-bottom: 8px solid var(--color-shadow);
198-
199-
display: inline-block;
200-
position: absolute;
201-
}
202-
203175
.clone.tabs {
204176
cursor: pointer;
205177

0 commit comments

Comments
 (0)