Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion anoncat-demo-app/app/anoncat/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from django.shortcuts import render
from medcat.cat import CAT
from medcat.utils.ner import deid_text
from rest_framework.decorators import api_view
from rest_framework.response import Response

Expand Down
88 changes: 85 additions & 3 deletions anoncat-demo-app/app/frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<div class="title">
<div class="cs-title">
<img src="./assets/cs-logo.png" class="logo">
CogStack
<span class="cs-text">CogStack</span>
</div>
<div class="app-title">
Anon
<span class="anon-text">Anon</span>
<img src="./assets/logo.png" class="logo">
AT
<span class="anon-text">AT</span>
</div>
<span class="help">
<v-icon icon="mdi-help-circle-outline" @click="helpModal = true"></v-icon>
Expand Down Expand Up @@ -202,5 +202,87 @@ export default {
}
}

/* Mobile header adjustments */
@media (max-width: 767px) {
.wrapper {
height: 120px !important;
}

.title {
display: flex;
flex-direction: column;
align-items: center;
padding: 10px;
}

.cs-title {
width: 100%;
text-align: center;
font-size: 24px;
margin-bottom: 5px;
}

.cs-title .logo {
height: 32px;
}

.app-title {
width: 100%;
padding: 0;
font-size: 36px;
text-align: center;
}

.app-title .logo {
height: 36px;
}

.help {
top: 10px;
right: 10px;
font-size: 20px;
}
}

@media (min-width: 768px) and (max-width: 1023px) {
.wrapper {
height: 130px !important;
}

.title {
display: flex;
flex-direction: column;
align-items: center;
padding: 15px 10px;
}

.cs-title {
width: 100%;
text-align: center;
font-size: 28px;
margin-bottom: 8px;
}

.cs-title .logo {
height: 40px;
}

.app-title {
width: 100%;
padding: 0;
font-size: 48px;
text-align: center;
}

.app-title .logo {
height: 48px;
}

.help {
top: 15px;
right: 15px;
}
}


</style>
Loading