Browse Source

Drobné úpravy CSSek

pull/44/head
Jonas Havelka 9 months ago
parent
commit
3f8756148d
  1. 4
      mamweb/static/css/base.css
  2. 34
      mamweb/static/css/layout.css
  3. 17
      mamweb/static/css/modules.css

4
mamweb/static/css/base.css

@ -39,7 +39,7 @@ h5 { font-size: 140%; }
h6 { font-size: 120%; } h6 { font-size: 120%; }
h1 { h1 {
margin-top: 0px; margin-top: 0;
} }
/*****************/ /*****************/
@ -55,7 +55,7 @@ a:focus, a:hover, a:active {
} }
.button { .button {
margin: 10px 0px 10px 0px; margin: 10px 0 10px 0;
padding: 4px 0; /*vertikální centování textu*/ padding: 4px 0; /*vertikální centování textu*/
text-align: center; text-align: center;
background-color: var(--hlavni-oranzova); background-color: var(--hlavni-oranzova);

34
mamweb/static/css/layout.css

@ -13,7 +13,7 @@ div.container {
margin: auto; margin: auto;
min-height: 100vh; min-height: 100vh;
position: relative; position: relative;
padding: 0px; padding: 0;
} }
@ -101,7 +101,7 @@ div.content {
#footer p.license { #footer p.license {
text-align: center; text-align: center;
font-weight: 400; font-weight: 400;
bottom: 0px; bottom: 0;
} }
#footer p.license a { #footer p.license a {
@ -110,7 +110,7 @@ div.content {
p.license-mobile { p.license-mobile {
display: none; display: none;
margin-bottom: 0px; margin-bottom: 0;
} }
@media (max-width: 650px) { @media (max-width: 650px) {
@ -207,7 +207,7 @@ a.login-ref-admin {
#header { #header {
width: 100%; width: 100%;
top: 0px; top: 0;
background-image: none; background-image: none;
} }
@ -217,10 +217,10 @@ a.login-ref-admin {
#header img.logo-mobile { #header img.logo-mobile {
display: block; display: block;
top: 0px; top: 0;
left: 0px; left: 0;
width: 100%; width: 100%;
filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.4)); filter: drop-shadow(0px 0 5px rgba(0, 0, 0, 0.4));
margin-bottom: 3px; margin-bottom: 3px;
} }
} }
@ -246,7 +246,7 @@ div.dropdown-backdrop { /* tohle způsobuje, že funguje mobilní menu */
ul.menu { ul.menu {
width: 100%; width: 100%;
padding: 0px; padding: 0;
margin-top: -5px; /* posune celé menu nahoru (pak potřeba zvětšit mezeru mezi menu a submenu) */ margin-top: -5px; /* posune celé menu nahoru (pak potřeba zvětšit mezeru mezi menu a submenu) */
font-variant: small-caps; font-variant: small-caps;
@ -259,7 +259,7 @@ ul.menu a {
} }
ul.menu li { ul.menu li {
margin: 0px; margin: 0;
display: inline-block; display: inline-block;
width: 16.666667%; width: 16.666667%;
text-align: center; text-align: center;
@ -294,7 +294,7 @@ ul.submenu {
ul.submenu li { ul.submenu li {
width: auto; width: auto;
padding: 0px 20px 0px 20px; padding: 0 20px 0 20px;
display: inline-block; display: inline-block;
} }
ul.submenu li>a { ul.submenu li>a {
@ -327,7 +327,7 @@ ul.submenu li.active>a, .parentactive ul li:first-child>a {
} }
ul.submenu li { ul.submenu li {
margin-top: 0px; /* aby se spolu s textem hlavního menu neposunoval níže i text submenu */ margin-top: 0; /* aby se spolu s textem hlavního menu neposunoval níže i text submenu */
} }
ul.submenu { ul.submenu {
@ -346,7 +346,7 @@ ul.submenu li.active>a, .parentactive ul li:first-child>a {
} }
ul.submenu li { ul.submenu li {
margin-top: 0px; /* aby se spolu s textem hlavního menu neposunoval níže i text submenu */ margin-top: 0; /* aby se spolu s textem hlavního menu neposunoval níže i text submenu */
} }
ul.submenu { ul.submenu {
@ -414,8 +414,8 @@ ul.submenu li.active>a, .parentactive ul li:first-child>a {
background-color: var(--hlavni-oranzova); background-color: var(--hlavni-oranzova);
font-variant: small-caps; font-variant: small-caps;
font-size: 160%; font-size: 160%;
border-radius: 0px; border-radius: 0;
border-width: 0px; border-width: 0;
width: 100%; width: 100%;
text-align: right; text-align: right;
} }
@ -514,7 +514,7 @@ body.suprodweb:before, body.suprodweb:after { background: red; }
} }
.novinka_obrazek { .novinka_obrazek {
margin: 10px 0px 10px 0px; margin: 10px 0 10px 0;
width: 100%; width: 100%;
} }
@ -635,7 +635,7 @@ div.cislo_pole {
div.seznam_orgu h3 { div.seznam_orgu h3 {
text-align: center; text-align: center;
margin-top: 10px; margin-top: 10px;
margin-bottom: 0px; margin-bottom: 0;
} }
div.org_email { div.org_email {
@ -666,7 +666,7 @@ div.zadani_termin {
div.zadani_termin .datum { div.zadani_termin .datum {
color: var(--hlavni-oranzova); color: var(--hlavni-oranzova);
margin:0px; margin: 0;
} }
#obrazek_cisla_archiv { #obrazek_cisla_archiv {

17
mamweb/static/css/modules.css

@ -18,12 +18,12 @@
} }
.mam-org-only .mam-org-only { .mam-org-only .mam-org-only {
border: 0px; border: 0;
} }
li.mam-org-only { li.mam-org-only {
padding: 3px 0px; padding: 3px 0;
margin: -2px 0px; margin: -2px 0;
} }
/**********************************/ /**********************************/
@ -144,8 +144,8 @@ div.cislo_odkazy a:hover {
} }
div.cislo_odkazy ul { div.cislo_odkazy ul {
margin: 0px; margin: 0;
padding: 0px; padding: 0;
} }
/***********************/ /***********************/
@ -357,12 +357,11 @@ table#reseni.form td, table#reseni.form tr {
display:none; display:none;
text-shadow: 0 1px 0 #fff; text-shadow: 0 1px 0 #fff;
background-color: #f0f0f0 ; background-color: #f0f0f0 ;
border-color: #dbdbdb;
position:absolute; position:absolute;
z-index:100; z-index:100;
border:1px;
border-style:solid;
border-width:1px; border-width:1px;
border-color: #dbdbdb;
border-style:solid;
border-radius: 5px; border-radius: 5px;
padding:3px; padding:3px;
top:50px; top:50px;
@ -385,7 +384,7 @@ textarea.feedback {
ul.form { ul.form {
list-style-type: none; list-style-type: none;
padding-left: 0px; padding-left: 0;
} }
label.field-label { label.field-label {
font-weight: normal; font-weight: normal;

Loading…
Cancel
Save