Skip to content

Commit e33e4bd

Browse files
committed
Change design and layout (2col and 3col)
- make background color more neutral - show 2 columns on smaller viewports - 3 columns on larger viewports - Make border thinner
1 parent c6a213f commit e33e4bd

1 file changed

Lines changed: 18 additions & 22 deletions

File tree

src/views/Overview.vue

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
</div>
88
<ol v-if="!isLoading" class="folders">
99
<li v-for="( channelFolders, channelName) in folders" :key="channelName" class="channelArea">
10-
<span class="channelArea--headline">{{ channelName }}</span>
10+
<h3 class="channelArea__headline">{{ channelName }}</h3>
1111

12-
<ol class="channelArea--folder-list">
12+
<ol class="channelArea__folder-list">
1313
<li v-for="subFolder in channelFolders"
1414
:key="subFolder.campaign"
1515
class="folders__item folder">
@@ -98,35 +98,35 @@ export default defineComponent( {
9898
@import "../assets/settings";
9999
100100
.page-overview {
101-
margin-top: $header-height;
102-
padding: $header-height;
101+
margin-top: 30px;
102+
padding: 45px;
103103
height: 100vH;
104104
105105
&-heading {
106106
margin-bottom: 20px;
107107
}
108108
109109
.channelArea {
110-
width: 26%;
111-
margin: 15px 30px;
110+
width: 45%;
111+
margin: 0 0 0 35px;
112+
113+
@media (min-width: 1100px) {
114+
width: 30%;
115+
}
112116
113-
&--headline {
117+
&__headline {
118+
display: inline-block;
114119
font-weight: bold;
115120
font-size: 20px;
116-
117-
border: 2px solid grey;
118-
border-bottom: 0;
119-
padding: 5px 5px 0;
120-
border-radius: 8px 8px 0 0;
121121
}
122122
123-
&--folder-list {
124-
height: 50vH;
123+
&__folder-list {
124+
height: 36vH;
125125
overflow: scroll;
126-
border: 2px solid #000000;
126+
border: 1px solid #808080;
127127
padding-top: 15px;
128128
padding-bottom: 15px;
129-
background: #edf1ea;
129+
background: #d5d5d5;
130130
}
131131
}
132132
@@ -139,10 +139,6 @@ export default defineComponent( {
139139
140140
&__item {
141141
width: 100%;
142-
143-
@media (min-width: 950px) {
144-
width: 50%;
145-
}
146142
}
147143
}
148144
@@ -158,10 +154,10 @@ export default defineComponent( {
158154
text-decoration: none;
159155
color: $font-color-dark;
160156
background: #ffffff;
161-
margin: 0 math.div($stage-gutter, 2) 15px;
157+
margin: 0 12px 10px 10px;
162158
padding: 15px 15px 15px 80px;
163159
border: 1px solid $border-color;
164-
border-radius: 8px;
160+
border-radius: 3px;
165161
box-shadow: 2px 2px gray;
166162
167163
&:hover, &:focus {

0 commit comments

Comments
 (0)