Skip to content

Commit 600b167

Browse files
committed
white navigation buttons for swiper
1 parent 0464c54 commit 600b167

File tree

7 files changed

+17
-7
lines changed

7 files changed

+17
-7
lines changed

config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
<plugin name="cordova-plugin-wkwebview-engine" spec="^1.1.4" />
6666
<plugin name="cordova-plugin-x-socialsharing" spec="^5.2.1" />
6767
<plugin name="cordova-plugin-zeroconf" spec="^1.3.3" />
68+
<plugin name="cordova-plugin-device" spec="^2.0.2" />
6869
<engine name="android" spec="^7.1.0" />
6970
<engine name="ios" spec="^4.5.4" />
70-
<plugin name="cordova-plugin-device" spec="^2.0.2" />
7171
</widget>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,4 +227,4 @@
227227
"cordova-plugin-device": {}
228228
}
229229
}
230-
}
230+
}

src/components/Setup/ProtocolCard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const ProtocolCard = ({ protocol, selectProtocol, className, size }) => {
1919
<div className={`${sized('protocol-card')} ${className}`} onClick={() => selectProtocol(protocol)}>
2020
<Icon className="protocol-card__icon" name="add-a-screen" />
2121
<div className="protocol-card__labels">
22-
<h3 className={sized('protocol-card__name')}>{protocol.name}</h3>
22+
<h2 className={sized('protocol-card__name')}>{protocol.name}</h2>
2323
<p className="protocol-card__version">{protocol.version}</p>
2424
</div>
2525
</div>

src/containers/Setup/ProtocolList.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ class ProtocolList extends Component {
4646
clickable: true,
4747
},
4848
navigation: {
49-
nextEl: '.swiper-button-next',
50-
prevEl: '.swiper-button-prev',
49+
nextEl: '.swiper-button-next.swiper-button-white',
50+
prevEl: '.swiper-button-prev.swiper-button-white',
5151
},
5252
loop: true,
5353
shouldSwiperUpdate: true,

src/styles/components/_protocol-card.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
// TODO: does this deserve its own svg?
2424
margin: -6px -40px 0;
2525

26+
position: relative;
27+
right: -15px;
28+
2629
.cls-1,
2730
.cls-2 {
2831
display: none;

src/styles/containers/_session-list.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
.session-list {
22
&--empty {
3-
padding: spacing(huge) 0;
3+
padding: spacing(huge);
4+
border-radius: 15px;
5+
background: palette('modal-main-panel');
6+
width: 80%;
7+
margin: 0 auto;
48

59
.session-list__header {
610
text-align: center;

src/styles/containers/_setupScreen.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.setup {
22
$active-border-color: rgba(255, 255, 255, .5);
33
--active-border-color: $active-border-color;
4-
--setup-header-height: 30vh;
4+
--setup-header-height: 23vh;
55
display: flex;
66
flex-direction: column;
77
height: 100%;
@@ -14,6 +14,7 @@
1414
height: var(--setup-header-height);
1515
justify-content: center;
1616
text-align: center;
17+
margin-bottom: 20px;
1718
}
1819

1920
.header-content {
@@ -46,6 +47,8 @@
4647
flex: 1 1 auto;
4748
height: calc(100vh - var(--setup-header-height));
4849
padding-bottom: 20vh;
50+
display: flex;
51+
align-items: center;
4952

5053
.scrollable {
5154
height: 100%; // TODO: should this be on component?

0 commit comments

Comments
 (0)