Skip to content

Commit

Permalink
Merge from 3dbio-community:master
Browse files Browse the repository at this point in the history
  • Loading branch information
p3rcypj committed Nov 3, 2023
1 parent 7b9ebaf commit c9beb6e
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 6 deletions.
91 changes: 91 additions & 0 deletions app/assets/stylesheets/main_frame/main_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,15 @@ div#controls{

/* Send feedback partial */
#zammad-feedback-form {
-webkit-appearance: button;
margin: 0;
font-size: 15px;
line-height: 1.5;
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";
line-height: inherit;
overflow: visible;
cursor: pointer;
text-transform: none;
position: fixed;
right: 1em;
bottom: 0;
Expand All @@ -644,4 +653,86 @@ div#controls{
font-weight: 600;
border-radius: 0.3rem 0.3rem 0 0;
z-index: 999;
box-sizing: border-box;
}

.zammad-form-control {
height: calc(1.5em + 0.75rem + 2px);
padding: 0.375rem 0.75rem;
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: 0.25rem;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
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";
}

.zammad-form-modal .zammad-form-modal-body label {
margin-top: 18px;
display: inline-block;
margin-bottom: 0.5rem;
}

.zammad-form-modal .zammad-form-modal-body {
max-width: 600px !important;
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";
}

.zammad-form-modal .zammad-form-modal-body form.zammad-form button[type="submit"] {
-webkit-appearance: button;
background: #607d8b;
border: 0;
color: #fff;
font-weight: 600;
border-radius: 0.3rem;
cursor: pointer;
display: inline-block;
text-align: center;
vertical-align: middle;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
padding: 0.375rem 0.75rem;
font-size: 1rem;
line-height: 1.5;
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;
text-transform: none;
overflow: visible;
margin-top: 18px;
margin: 0;
font-family: inherit;
box-sizing: border-box;
}

.zammad-form-modal .zammad-form-modal-body textarea.form-control {
height: auto;
display: block;
width: 100%;
box-sizing: border-box;
padding: 0.375rem 0.75rem;
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: 0.25rem;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
overflow: auto;
resize: vertical;
margin: 0;
font-family: inherit;
}

.zammad-form-modal .zammad-form-modal-body form.zammad-form h2 {
font-size: 1.25em;
margin-top: 0;
margin-bottom: 0;
font-weight: 500;
line-height: 1.2;
}
10 changes: 5 additions & 5 deletions app/assets/stylesheets/webserver/main.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -325,11 +325,11 @@ a:hover {
}

.citation {
font-size: 1rem;
.authors {
font-size: 0.75rem;
color: #212529 !important;
}
font-size: 1rem;
.authors {
font-size: 0.75rem;
color: #212529 !important;
}
}

.form-check-input {
Expand Down
2 changes: 1 addition & 1 deletion app/lib/global_tools/global_sites.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module GlobalTools
module GlobalSites

GS_BaseUrl = "https://bionotes-service.cnb.csic.es/"
GS_BaseUrl = "http://rinchen-dos.cnb.csic.es/"
GS_EnsemblServer = "http://rest.ensembl.org/"
GS_UniServer = "http://www.uniprot.org/"
GS_SIFTSUrl = "http://ftp.ebi.ac.uk/pub/databases/msd/sifts/xml/"
Expand Down
1 change: 1 addition & 0 deletions app/views/layouts/main.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
%meta{:name => "keywords", :content => "bioinformatics, proteins, PDB, emdb, Uniprot"}
%title= title
= csrf_meta_tag
= stylesheet_link_tag("https://fonts.googleapis.com/css?family=Lato:400,700,400italic&display=swap")
= stylesheet_link_tag('main_frame/main_style.css')
= stylesheet_link_tag('main_frame/upload_data.css')
= stylesheet_link_tag('main_frame/remove_annotations.css')
Expand Down

0 comments on commit c9beb6e

Please sign in to comment.