Skip to content

Commit 7f9ce70

Browse files
authored
Merge pull request #213 from EyeSeeTea/development
Development
2 parents d6c6fe6 + 7570fad commit 7f9ce70

File tree

4 files changed

+98
-6
lines changed

4 files changed

+98
-6
lines changed

app/assets/stylesheets/main_frame/main_style.css

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,15 @@ div#controls{
634634

635635
/* Send feedback partial */
636636
#zammad-feedback-form {
637+
-webkit-appearance: button;
638+
margin: 0;
639+
font-size: 15px;
640+
line-height: 1.5;
641+
font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
642+
line-height: inherit;
643+
overflow: visible;
644+
cursor: pointer;
645+
text-transform: none;
637646
position: fixed;
638647
right: 1em;
639648
bottom: 0;
@@ -644,4 +653,86 @@ div#controls{
644653
font-weight: 600;
645654
border-radius: 0.3rem 0.3rem 0 0;
646655
z-index: 999;
656+
box-sizing: border-box;
657+
}
658+
659+
.zammad-form-control {
660+
height: calc(1.5em + 0.75rem + 2px);
661+
padding: 0.375rem 0.75rem;
662+
font-size: 1rem;
663+
font-weight: 400;
664+
line-height: 1.5;
665+
color: #495057;
666+
background-color: #fff;
667+
background-clip: padding-box;
668+
border: 1px solid #ced4da;
669+
border-radius: 0.25rem;
670+
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
671+
font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
672+
}
673+
674+
.zammad-form-modal .zammad-form-modal-body label {
675+
margin-top: 18px;
676+
display: inline-block;
677+
margin-bottom: 0.5rem;
678+
}
679+
680+
.zammad-form-modal .zammad-form-modal-body {
681+
max-width: 600px !important;
682+
font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
683+
}
684+
685+
.zammad-form-modal .zammad-form-modal-body form.zammad-form button[type="submit"] {
686+
-webkit-appearance: button;
687+
background: #607d8b;
688+
border: 0;
689+
color: #fff;
690+
font-weight: 600;
691+
border-radius: 0.3rem;
692+
cursor: pointer;
693+
display: inline-block;
694+
text-align: center;
695+
vertical-align: middle;
696+
-moz-user-select: none;
697+
-ms-user-select: none;
698+
user-select: none;
699+
padding: 0.375rem 0.75rem;
700+
font-size: 1rem;
701+
line-height: 1.5;
702+
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
703+
text-transform: none;
704+
overflow: visible;
705+
margin-top: 18px;
706+
margin: 0;
707+
font-family: inherit;
708+
box-sizing: border-box;
709+
}
710+
711+
.zammad-form-modal .zammad-form-modal-body textarea.form-control {
712+
height: auto;
713+
display: block;
714+
width: 100%;
715+
box-sizing: border-box;
716+
padding: 0.375rem 0.75rem;
717+
font-size: 1rem;
718+
font-weight: 400;
719+
line-height: 1.5;
720+
color: #495057;
721+
background-color: #fff;
722+
background-clip: padding-box;
723+
border: 1px solid #ced4da;
724+
border-radius: 0.25rem;
725+
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
726+
overflow: auto;
727+
resize: vertical;
728+
margin: 0;
729+
font-family: inherit;
730+
}
731+
732+
.zammad-form-modal .zammad-form-modal-body form.zammad-form h2 {
733+
font-size: 1.25em;
734+
margin-top: 0;
735+
margin-bottom: 0;
736+
font-weight: 500;
737+
line-height: 1.2;
647738
}

app/assets/stylesheets/webserver/main.css.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,11 @@ a:hover {
325325
}
326326

327327
.citation {
328-
font-size: 1rem;
329-
.authors {
330-
font-size: 0.75rem;
331-
color: #212529 !important;
332-
}
328+
font-size: 1rem;
329+
.authors {
330+
font-size: 0.75rem;
331+
color: #212529 !important;
332+
}
333333
}
334334

335335
.form-check-input {

app/lib/global_tools/global_sites.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module GlobalTools
22
module GlobalSites
33

4-
GS_BaseUrl = "https://bionotes-service.cnb.csic.es/"
4+
GS_BaseUrl = "http://rinchen-dos.cnb.csic.es/"
55
GS_EnsemblServer = "http://rest.ensembl.org/"
66
GS_UniServer = "http://www.uniprot.org/"
77
GS_SIFTSUrl = "http://ftp.ebi.ac.uk/pub/databases/msd/sifts/xml/"

app/views/layouts/main.html.haml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
%meta{:name => "keywords", :content => "bioinformatics, proteins, PDB, emdb, Uniprot"}
66
%title= title
77
= csrf_meta_tag
8+
= stylesheet_link_tag("https://fonts.googleapis.com/css?family=Lato:400,700,400italic&display=swap")
89
= stylesheet_link_tag('main_frame/main_style.css')
910
= stylesheet_link_tag('main_frame/upload_data.css')
1011
= stylesheet_link_tag('main_frame/remove_annotations.css')

0 commit comments

Comments
 (0)