fix email to teachers (don't send to None)
[edumed.git] / edumed / static / css / base.scss
index d40f461..9896a5f 100644 (file)
@@ -102,20 +102,6 @@ header.main {
             margin: auto;
             margin-bottom: .8em;
         }
-        .menu-lekcje:before { background: url(../img/menu/lekcje.png) no-repeat 0 0; background-size: 100%;}
-        .menu-kompetencje:before { background: url(../img/menu/katalog.png) no-repeat 0 0; background-size: 100%;}
-        .menu-wspolpraca:before { background: url(../img/menu/wspolpraca.png) no-repeat 0 0; background-size: 100%;}
-        .menu-szkolenia:before { background: url(../img/menu/szkolenia.png) no-repeat 0 0; background-size: 100%;}
-        .menu-wesprzyj:before { background: url(../img/menu/wesprzyj.png) no-repeat 0 0; background-size: 100%;}
-        .menu-o-nas:before { background: url(../img/menu/o-nas.png) no-repeat 0 0; background-size: 100%;}
-        .menu-kontakt:before { background: url(../img/menu/kontakt.png) no-repeat 0 0; background-size: 100%;}
-        .menu-lekcje:hover:before { background: url(../img/menu/lekcje_active.png) no-repeat 0 0; background-size: 100%;}
-        .menu-kompetencje:hover:before { background: url(../img/menu/katalog_active.png) no-repeat 0 0; background-size: 100%;}
-        .menu-wspolpraca:hover:before { background: url(../img/menu/wspolpraca_active.png) no-repeat 0 0; background-size: 100%;}
-        .menu-szkolenia:hover:before { background: url(../img/menu/szkolenia_active.png) no-repeat 0 0; background-size: 100%;}
-        .menu-wesprzyj:hover:before { background: url(../img/menu/wesprzyj_active.png) no-repeat 0 0; background-size: 100%;}
-        .menu-o-nas:hover:before { background: url(../img/menu/o-nas_active.png) no-repeat 0 0; background-size: 100%;}
-        .menu-kontakt:hover:before { background: url(../img/menu/kontakt_active.png) no-repeat 0 0; background-size: 100%;}
 
         .menu-oc-program:before { background: url(../img/menu/olimpiada/program.png) no-repeat 0 0; background-size: 100%;}
         .menu-oc-harmonogram:before { background: url(../img/menu/olimpiada/harmonogram.png) no-repeat 0 0; background-size: 100%;}
@@ -181,14 +167,23 @@ footer.main {
         margin-right: 20 * $px;
         width: 220 * $px;
     }
+    .sponsors-page {
+        margin-bottom: 20 * $px;
+    }
     .sponsors-column {
         float: left;
-        margin-left: 20 * $px;
-        width: 100 * $px;
+        margin-right: 20 * $px;
+        width: 147 * $px;
         p {
             font-size: .75em;
         }
     }
+    .sponsors-column:first-child {
+        margin-left: 0;
+    }
+    .sponsors-column:nth-last-child(2) {
+        width: 100 * $px;
+    }
     .footer-extra p {
         margin-top: 0;
     }
@@ -284,11 +279,17 @@ ul.messages {
     list-style: none;
 }
 
-.messages .error {
+.messages li {
     top: 20px;
     left: 20px;
-    border: 1px solid black;
-    background: red;
+    &.error {
+        background: red;
+        border: 1px solid black;
+    }
+    &.info {
+        background: #ed7831;
+        border: none;
+    }
     border-radius: 0.938em;
     padding: 5px 2px;
     color: white;