theming : fonts, more layout, colors, logo, etc

This commit is contained in:
2017-02-07 10:34:50 +01:00
parent 81f67414c8
commit 00cb9b116c
44 changed files with 4641 additions and 148 deletions
+65 -82
View File
@@ -1,14 +1,10 @@
/**
/**
* Primary Drupal Styles
* Author: Bachir Soussi Chiadmi
*/
body {
font-size: 16px;
font-family: Arial, "MS Trebuchet", sans-serif; }
a {
color: #007BC2;
text-decoration: none; }
font-family: "aileron", Arial, "MS Trebuchet", sans-serif; }
h1 {
font-size: 1.6em; }
@@ -56,67 +52,85 @@ body.no-sidebars #center {
width: 18%; }
#header, #main, #footer {
padding: 1em; }
body {
background-color: #DFDFDF; }
padding: 0; }
#container {
width: 1024px;
margin: 0 auto;
background-color: #FFF; }
margin: 0 auto; }
#header, #footer {
background-color: #535353;
color: #fff; }
#header h1 {
display: block;
height: 335px;
background-image: url(../../images/logo.png);
background-size: contain;
background-position: center;
background-repeat: no-repeat;
text-indent: -2000px;
overflow: hidden;
margin: 0; }
.block, .panel-pane {
border: 1px solid #D1D1D1;
padding: 0.5em;
margin: 0.5em;
border-radius: 5px;
background-color: #EAEAEA; }
#header h2 {
text-align: center;
color: #20c498; }
.footer-block .block {
background-color: #353535;
border: 1px solid #1a1a1a; }
#node-63 {
color: #1f04a1; }
.panel-2col-stacked {
background-position: center;
background-size: contain;
background-repeat: no-repeat; }
.panel-2col-stacked .field-name-field-emvideo img {
width: 100%; }
.panel-2col-stacked .panel-col-top h2 {
color: #fb3f08; }
.panel-2col-stacked .center-wrapper .panel-col-first {
width: 70%; }
.panel-2col-stacked .center-wrapper .panel-col-last {
width: 30%; }
.panel-2col-stacked .center-wrapper .panel-col-last .field-name-body {
display: none; }
.panel-2col-stacked .panel-col-bottom .field-name-field-episodes > .field-items {
display: -ms-flexbox;
display: flex;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
-ms-flex-pack: justify;
justify-content: space-between; }
.panel-2col-stacked .panel-col-bottom .field-name-field-episodes > .field-items > .field-item {
display: block;
width: 19%; }
.panel-2col-stacked .panel-col-bottom .field-name-body {
display: none; }
#mini-panel-th_matique {
background-image: url(../../images/fond-theme-0.png); }
#mini-panel-th_matique-1 {
background-image: url(../../images/fond-theme-0.png); }
#mini-panel-th_matique-2 {
background-image: url(../../images/fond-theme-0.png); }
#mini-panel-th_matique-3 {
background-image: url(../../images/fond-theme-0.png); }
#mini-panel-th_matique-4 {
background-image: url(../../images/fond-theme-0.png); }
#mini-panel-th_matique-5 {
background-image: url(../../images/fond-theme-0.png); }
#footer-bottom {
text-align: center; }
#footer-bottom .block {
background-color: transparent;
border: 0 solid #999;
font-size: 0.7em; }
#content {
padding: 1em; }
.logo h1, h1.page-title {
font-size: 2em; }
#header ul.menu li,
#content-top ul.menu li,
#content-bottom ul.menu li,
#footer ul.menu li {
display: inline-block;
vertical-align: top; }
.views-row {
margin-bottom: 1em; }
.views-field-title {
font-size: 1.1em;
font-weight: bold; }
.views-field-title a {
color: #444444;
text-decoration: none; }
li, .item-list ul li {
list-style: none inside url();
margin-left: 0; }
/** Messages. */
div.messages {
padding: 9px;
@@ -155,15 +169,12 @@ ul.primary, .views-admin-links ul {
list-style: none;
margin: 5px;
height: auto;
line-height: normal;
border-bottom: 1px solid #bbb; }
line-height: normal; }
ul.primary li, .views-admin-links li {
display: inline; }
ul.primary li a, .views-admin-links li a {
background-color: #ddd;
border-color: #bbb;
border-width: 1px;
border-style: solid solid none solid;
height: auto;
@@ -174,34 +185,6 @@ ul.primary li a, .views-admin-links li a {
border-top-left-radius: 5px;
border-top-right-radius: 5px; }
ul.primary li.active a {
background-color: #fff;
border: 1px solid #bbb;
border-bottom: #fff 1px solid; }
ul.primary li a:hover, .views-admin-links li a:hover {
background-color: #eee;
border-color: #ccc;
border-bottom-color: #eee; }
ul.secondary {
border-bottom: 1px solid #bbb;
padding: 0.5em 1em;
margin: 5px; }
ul.secondary li {
display: inline;
padding: 0 1em;
border-right: 1px solid #ccc;
/* LTR */ }
ul.secondary a {
padding: 0;
text-decoration: none; }
ul.secondary a.active {
border-bottom: 4px solid #999; }
/** Form */
#node-form .form-region-main {
border-right: 1px solid #BFBFBF;
@@ -1,13 +1,16 @@
/**
/**
* Primary Drupal Styles
* Author: Bachir Soussi Chiadmi
*/
body{font-size:16px; font-family: Arial, "MS Trebuchet", sans-serif;}
body{
font-size:16px;
font-family: "aileron", Arial, "MS Trebuchet", sans-serif;
}
a{color: #007BC2; text-decoration: none;}
// a{color: #007BC2; text-decoration: none;}
h1{font-size:1.6em;}
@@ -19,7 +22,14 @@ h6{font-size:1.1em;}
input{font-family: Arial, "MS Trebuchet", sans-serif; font-size:0.8em;}
// __
// _________ / /___ __________
// / ___/ __ \/ / __ \/ ___/ ___/
// / /__/ /_/ / / /_/ / / (__ )
// \___/\____/_/\____/_/ /____/
$vert : #20c498;
$bleu : #1f04a1;
$rouge : #fb3f08;
/** layout */
#center, #sidebar-first, #sidebar-second, .footer-block .region, .header-block{ display:inline-block; vertical-align: top;}
@@ -32,43 +42,129 @@ body.no-sidebars #center { width: 100%; }
#sidebar-first { width: 24%; }
#sidebar-second { width: 18%; }
#header, #main, #footer{ padding:1em; }
#header, #main, #footer{ padding:0; }
body{background-color: #DFDFDF;}
body{
#container{width:1024px; margin:0 auto; background-color: #FFF;}
#header, #footer{background-color: #535353; color:#fff;}
.block, .panel-pane{
border: 1px solid #D1D1D1; padding:0.5em; margin:0.5em;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
background-color: #EAEAEA;
}
#container{
width:1024px; margin:0 auto;
}
#header{
h1{
display:block;
height:335px;
background-image: url(../../images/logo.png);
background-size: contain;
background-position: center;
background-repeat: no-repeat;
text-indent: -2000px;
overflow: hidden;
margin: 0;
}
h2{
text-align: center;
color:$vert;
}
}
// about
#node-63{
color:$bleu;
}
// thematique
.panel-2col-stacked{
background-position: center;
background-size: contain;
background-repeat: no-repeat;
.field-name-field-emvideo img{
width: 100%;
}
.panel-col-top h2{
color: $rouge;
}
.center-wrapper{
.panel-col-first{
width:70%;
}
.panel-col-last{
width:30%;
.field-name-body{
display:none;
}
}
}
.panel-col-bottom{
.field-name-field-episodes{
// letter-spacing: -0.25em;
&>.field-items{
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
&>.field-item{
display: block;
// letter-spacing: normal;
// display: inline-block;
width:19%;
// padding-right:1%;
}
}
}
.field-name-body{
display:none;
}
}
}
#mini-panel-th_matique{
background-image: url(../../images/fond-theme-0.png);
}
#mini-panel-th_matique-1{
background-image: url(../../images/fond-theme-0.png);
}
#mini-panel-th_matique-2{
background-image: url(../../images/fond-theme-0.png);
}
#mini-panel-th_matique-3{
background-image: url(../../images/fond-theme-0.png);
}
#mini-panel-th_matique-4{
background-image: url(../../images/fond-theme-0.png);
}
#mini-panel-th_matique-5{
background-image: url(../../images/fond-theme-0.png);
}
#footer{
}
// .block, .panel-pane{
// border: 1px solid #D1D1D1; padding:0.5em; margin:0.5em;
// -moz-border-radius: 5px;
// -webkit-border-radius: 5px;
// border-radius: 5px;
// background-color: #EAEAEA;
// }
.footer-block .block{
background-color: #353535; border: 1px solid #1a1a1a;
// background-color: #353535; border: 1px solid #1a1a1a;
}
#footer-bottom{ text-align: center;}
#footer-bottom .block{ background-color: transparent; border: 0 solid #999; font-size:0.7em;}
#footer-bottom .block{
background-color: transparent;
// border: 0 solid #999;
font-size:0.7em;
}
#content{padding:1em;}
.logo h1, h1.page-title{font-size:2em;}
#header ul.menu li,
#content-top ul.menu li,
#content-bottom ul.menu li,
#footer ul.menu li{display:inline-block; vertical-align:top; }
.views-row{margin-bottom:1em;}
.views-field-title{font-size:1.1em; font-weight:bold;}
.views-field-title a{color: #444444; text-decoration:none;}
li, .item-list ul li{list-style: none inside url(); margin-left:0;}
/** Messages. */
@@ -81,7 +177,7 @@ div.messages {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
div.warning {
@@ -111,7 +207,7 @@ div.status {
/** Tab navigation */
ul.primary, .views-admin-links ul {
font:13px/1.231 sans-serif; *font-size:small;
font:13px/1.231 sans-serif; *font-size:small;
border-collapse: collapse;
padding: 0 0 0 1em; /* LTR */
white-space: nowrap;
@@ -119,15 +215,15 @@ ul.primary, .views-admin-links ul {
margin: 5px;
height: auto;
line-height: normal;
border-bottom: 1px solid #bbb;
// border-bottom: 1px solid #bbb;
}
ul.primary li, .views-admin-links li{
display: inline;
}
ul.primary li a, .views-admin-links li a {
background-color: #ddd;
border-color: #bbb;
// background-color: #ddd;
// border-color: #bbb;
border-width: 1px;
border-style: solid solid none solid;
height: auto;
@@ -141,35 +237,35 @@ ul.primary li a, .views-admin-links li a {
-webkit-border-top-right-radius: 5px;
border-top-right-radius: 5px;
}
ul.primary li.active a {
background-color: #fff;
border: 1px solid #bbb;
border-bottom: #fff 1px solid;
}
ul.primary li a:hover, .views-admin-links li a:hover{
background-color: #eee;
border-color: #ccc;
border-bottom-color: #eee;
}
ul.secondary {
border-bottom: 1px solid #bbb;
padding: 0.5em 1em;
margin: 5px;
}
ul.secondary li {
display: inline;
padding: 0 1em;
border-right: 1px solid #ccc; /* LTR */
}
ul.secondary a {
padding: 0;
text-decoration: none;
}
ul.secondary a.active {
border-bottom: 4px solid #999;
}
// ul.primary li.active a {
// background-color: #fff;
// border: 1px solid #bbb;
// border-bottom: #fff 1px solid;
// }
// ul.primary li a:hover, .views-admin-links li a:hover{
// background-color: #eee;
// border-color: #ccc;
// border-bottom-color: #eee;
// }
// ul.secondary {
// border-bottom: 1px solid #bbb;
// padding: 0.5em 1em;
// margin: 5px;
// }
// ul.secondary li {
// display: inline;
// padding: 0 1em;
// border-right: 1px solid #ccc; /* LTR */
// }
// ul.secondary a {
// padding: 0;
// text-decoration: none;
// }
// ul.secondary a.active {
// border-bottom: 4px solid #999;
// }
//
/** Form */
@@ -228,7 +324,7 @@ input.form-text{max-width:95%;}
/** TABLE */
table{width:100%;
table{width:100%;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;