Skip to content

Commit 4bde679

Browse files
committed
Adjust styles
1 parent d5b4766 commit 4bde679

File tree

3 files changed

+31
-10
lines changed

3 files changed

+31
-10
lines changed

src/components/CopyTools.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,12 @@ export default {
9898
flex-direction: row;
9999
justify-content: space-between;
100100
align-items: center;
101-
border: 2px solid #d8d8d8;
101+
border: 0.125rem solid #d8d8d8;
102102
border-top: none;
103103
background-color: white;
104104
padding: 0 1.5rem 1.5rem;
105+
border-bottom-left-radius: 0.25rem;
106+
border-bottom-right-radius: 0.25rem;
105107
}
106108
.button.donate.small {
107109
justify-content: center;

src/components/CopyTypeSwitch.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ export default {
9999
}
100100
101101
.toggle-label {
102-
font-size: 13px;
102+
font-size: 0.8125rem;
103+
font-weight: 600;
103104
color: #d8d8d8;
104105
&.selected {
105106
color: #333;

src/components/LicenseUseCard.vue

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,20 @@
99
<p class="license-use-instructions">
1010
{{ $t('license-use.common-instructions') }}
1111
</p>
12-
<tabs ref="alltabs">
12+
<tabs
13+
ref="alltabs"
14+
class="top-tabs"
15+
>
1316
<!-- Website: Richtext, HTML, XMP -->
1417
<tab
1518
ref="web"
19+
class="main-tabs"
1620
:title="$t('license-use.web-tab-heading')"
1721
>
1822
{{ $t('license-use.web-instructions') }}
1923
<tabs
2024
ref="web"
21-
class="attribution-tab"
25+
class="sub-tabs"
2226
:boxed="true"
2327
>
2428
<tab
@@ -98,13 +102,27 @@ export default {
98102
</script>
99103
<style lang="scss">
100104
.license-use-card {
101-
margin-bottom: 24px;
105+
margin-bottom: 1.5rem;
106+
h3 {
107+
margin-bottom: 0.5rem;
108+
}
109+
}
110+
111+
.top-tabs > .tabs:not(:last-child) {
112+
margin: 2rem 0 1rem;
113+
}
114+
.sub-tabs {
115+
margin-top: 1.25rem;
116+
.tabs-content.is-boxed {
117+
padding: 1.5rem !important;
118+
border-bottom: none;
119+
border-top-right-radius: 0.25rem;
120+
}
102121
}
103-
.tabs {
104-
margin-top: 2rem;
122+
.tabs.is-boxed li:first-child a {
123+
border-top-left-radius: 0.25rem;
105124
}
106-
.attribution-tab .tabs-content.is-boxed {
107-
padding: 1.5rem!important;
108-
border-bottom: none;
125+
.tabs.is-boxed li:last-child a {
126+
border-top-right-radius: 0.25rem;
109127
}
110128
</style>

0 commit comments

Comments
 (0)