Browse Source

Des fichiers less qui n'ont plus rien à faire ici et mettent le souk, ménage.

Deux noisettes supplémentaires : les articles issus de la syndication dans la rubrique, les évènements liés à l'article cousulté
Up de version
svn/root/tags/v0.4.24
olivier.gautier@ac-rouen.fr 2 years ago
parent
commit
4f1574243c
  1. 7
      .gitattributes
  2. 167
      css/carousel.less
  3. 1470
      css/spipr.educ.less
  4. 484
      css/spipr_dist.lessOLD
  5. 301
      css/variables1.less
  6. 2
      inc/spipr_educ_definitions_noisettes.php
  7. 2
      lang/spipr_educ_fr.php
  8. 3
      noisettes/article/article_evenements_article.html
  9. 21
      noisettes/article/article_liste_evenements_article.html
  10. 22
      noisettes/rubrique/rubrique_articles_syndiques.html
  11. 2
      paquet.xml
  12. 2
      prive/squelettes/contenu/spipr_educ_configure_bloc.html

7
.gitattributes

@ -53,7 +53,6 @@ content/sommaire.html -text
content/spip_pass.html -text
content/z_apl.html -text
/conventions.txt -text
css/carousel.less -text
css/font/opendyslexic-bolditalic-webfont.eot -text
css/font/opendyslexic-bolditalic-webfont.svg -text
css/font/opendyslexic-bolditalic-webfont.ttf -text
@ -114,12 +113,9 @@ css/img/sprite.png -text
css/img/varicelle-sprite.png -text
css/spip.petition.css -text
css/spip.portfolio.css -text
css/spipr.educ.less -text
css/spipr_dist.lessOLD -text
css/spipr_educ.less.html -text
css/style_dyslexie.css -text
css/variables.less -text
css/variables1.less -text
demo/aside/demo-listes.html -text
demo/content/demo-listes.html -text
extra/agenda.html -text
@ -381,12 +377,14 @@ noisettes/article/article_compteur.html -text
noisettes/article/article_contenu.html -text
noisettes/article/article_dyslexie.html -text
noisettes/article/article_evenements.html -text
noisettes/article/article_evenements_article.html -text
noisettes/article/article_footer.html -text
noisettes/article/article_forum.html -text
noisettes/article/article_head.html -text
noisettes/article/article_head_js.html -text
noisettes/article/article_header.html -text
noisettes/article/article_liens_partenaires.html -text
noisettes/article/article_liste_evenements_article.html -text
noisettes/article/article_meme_rubrique.html -text
noisettes/article/article_menu_navigation.html -text
noisettes/article/article_mini_calendrier.html -text
@ -486,6 +484,7 @@ noisettes/commun/spipr_educ_mini_calendrier.html -text
noisettes/commun/spipr_educ_nuage.html -text
noisettes/commun/vide.html -text
noisettes/rubrique/rubrique_articles.html -text
noisettes/rubrique/rubrique_articles_syndiques.html -text
noisettes/rubrique/rubrique_bloc_logos.html -text
noisettes/rubrique/rubrique_bloc_perso_1.html -text
noisettes/rubrique/rubrique_bloc_perso_2.html -text

167
css/carousel.less

@ -1,167 +0,0 @@
//
// Carousel
// --------------------------------------------------
@import "css/variables.less";
/* Carousel base class */
.carousel{
position: relative;
font-size:1.1em;
line-height:1.5;
margin:0 0 1em 0;
padding:0 0 0 0;
border: 1px solid @grayLighter;
height:250px;
background-color: @grayLighter;
.carousel-inner {
overflow: hidden;
width: 100%;
position: relative;
> .item {
strong.h3-like{font-weight:normal;}
overflow:auto;
display: none;
position: relative;
.transition(.6s ease-in-out left);
// Account for jankitude on images
> img,
> a > img {
display: block;
}
article{
width:100%;
height:250px;
overflow:hidden;
margin-bottom:0;
.introduction{padding:0 1em 1em 2em;}
a{
display:block;
padding:0 0 0 1em ;
font-size:1.5em;
font-weight:bold;
line-height:1em;
&:hover{text-decoration:none;}
.spip_logos{margin:0;}
.titre{font-variant:small-caps;display: block;padding-top:.8em;}
}
}
}
> .active,
> .next,
> .prev { display: block; }
> .active {
left: 0;
}
> .next,
> .prev {
position: absolute;
top: 0;
width: 100%;
}
> .next {
left: 100%;
}
> .prev {
left: -100%;
}
> .next.left,
> .prev.right {
left: 0;
}
> .active.left {
left: -100%;
}
> .active.right {
left: 100%;
}
}
// Left/right controls for nav
// ---------------------------
.carousel-control {
color: @white;
background-color: @color2;
&:hover,&:focus{background-color: darken(@color1,10%);}
position: absolute;
bottom: 5px;
top:inherit;
left: 5px;
height:30px;
width:30px;
margin: 0;
padding: 8px 12px 12px 8px;
font-size:30px;
font-family:helvetica,arial,sans-serif;
font-weight: 100;
line-height:1;
text-align: center;
border: 0;
.border-radius(30px);
.opacity(0);
transition:opacity 0.3s ease-in-out 0.2s;
// Reposition the right one
&.right {
left: auto;
right: 5px;
padding: 8px 8px 12px 12px;
}
// Hover/focus state
&:hover,&:focus {
text-decoration: none;
}
}
.carousel-indicators,.carousel-stop{
z-index: 5;
margin: 0;
list-style: none;
li{
color: lighten(@color2,5%);
cursor: pointer;
display: inline;
text-indent: inherit;
height: auto;
width: auto;
background-color: transparent !important;
float: none;
&:hover,&:active,&:focus{color: darken(@color1,20%);background: none;}
}
}
.carousel-indicators{
position: absolute;
bottom:4px;
left: 45%;
li{
font-size:1.5em;
margin:0 5px 0 5px;
padding: 0 0 0 0;
display: inline-block;
.border-radius(5px);
&.active{color: lighten(@color1,10%);}
}
}
.carousel-stop{
position: absolute;
bottom:4px;
left:35%;
margin-left: 0;
margin-bottom: 0;
font-family: helvetica,arial,sans-serif;
li{
font-size:1.5em;
}
}
&:hover{
.carousel-indicators,.carousel-stop{
li{
color: @color2;
&.active,&.active:hover{color: @color1;}
&:hover,&:active,&:focus{color: darken(@color1,10%);}
}
}
.carousel-control {
.opacity(70);
transition: opacity 0.3s ease-in-out 0;
}
}
}

1470
css/spipr.educ.less
File diff suppressed because it is too large
View File

484
css/spipr_dist.lessOLD

@ -1,484 +0,0 @@
@import "css/navbar.less";
@import "css/navs.less";
@import "css/responsive-navbar.less";
@import "css/responsive-utilities.less";
@import "css/dropdowns.less";
@import "css/spip.variables.less";
@import "css/mixins.less";
/* Ici les variables issues de bootstrap2, fichier d'origine variables.less */
//
// Variables
// --------------------------------------------------
// Global values
// --------------------------------------------------
// Grays
// -------------------------
@black: #000;
@grayDarker: #222;
@grayDark: #333;
@gray: #555;
@grayLight: #999;
@grayLighter: #eee;
@white: #fff;
// Accent colors
// -------------------------
@blue: #049cdb;
@blueDark: #0064cd;
@green: #46a546;
@red: #9d261d;
@yellow: #ffc40d;
@orange: #f89406;
@pink: #c3325f;
@purple: #7a43b6;
// Scaffolding
// -------------------------
@bodyBackground: @white;
@textColor: @grayDark;
// Links
// -------------------------
@linkColor: #900;
@linkColorHover: darken(@linkColor, 15%);
// Typography
// -------------------------
@sansFontFamily: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
@serifFontFamily: Georgia, Cambria, "Times New Roman", Times, serif;
@monoFontFamily: "Courier New", Courier, monospace;
@baseFontSize: 14px;
@baseFontFamily: @serifFontFamily;
@baseLineHeight: 20px;
@altFontFamily: @sansFontFamily;
@headingsFontFamily: @baseFontFamily; // empty to use BS default, @baseFontFamily
@headingsFontWeight: normal; // instead of browser default, bold
@headingsColor: inherit; // empty to use BS default, @textColor
// Component sizing
// -------------------------
// Based on 14px font-size and 20px line-height
@fontSizeLarge: @baseFontSize * 1.25; // ~18px
@fontSizeSmall: @baseFontSize * 0.85; // ~12px
@fontSizeMini: @baseFontSize * 0.75; // ~11px
@paddingLarge: 11px 19px; // 44px
@paddingSmall: 2px 10px; // 26px
@paddingMini: 0 6px; // 22px
@baseBorderRadius: 4px;
@borderRadiusLarge: 6px;
@borderRadiusSmall: 3px;
// Tables
// -------------------------
@tableBackground: transparent; // overall background-color
@tableBackgroundAccent: #f9f9f9; // for striping
@tableBackgroundHover: #f5f5f5; // for hover
@tableBorder: #ddd; // table and cell border
// Buttons
// -------------------------
@btnBackground: @white;
@btnBackgroundHighlight: darken(@white, 10%);
@btnBorder: #bbb;
@btnPrimaryBackground: @linkColor;
@btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 20%);
@btnInfoBackground: #5bc0de;
@btnInfoBackgroundHighlight: #2f96b4;
@btnSuccessBackground: #62c462;
@btnSuccessBackgroundHighlight: #51a351;
@btnWarningBackground: lighten(@orange, 15%);
@btnWarningBackgroundHighlight: @orange;
@btnDangerBackground: #ee5f5b;
@btnDangerBackgroundHighlight: #bd362f;
@btnInverseBackground: #444;
@btnInverseBackgroundHighlight: @grayDarker;
// Forms
// -------------------------
@inputBackground: @white;
@inputBorder: #ccc;
@inputBorderRadius: @baseBorderRadius;
@inputDisabledBackground: @grayLighter;
@formActionsBackground: #f5f5f5;
@inputHeight: @baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border
// Dropdowns
// -------------------------
@dropdownBackground: @white;
@dropdownBorder: rgba(0,0,0,.2);
@dropdownDividerTop: #e5e5e5;
@dropdownDividerBottom: @white;
@dropdownLinkColor: @grayDark;
@dropdownLinkColorHover: @white;
@dropdownLinkColorActive: @white;
@dropdownLinkBackgroundActive: @linkColor;
@dropdownLinkBackgroundHover: @dropdownLinkBackgroundActive;
// COMPONENT VARIABLES
// --------------------------------------------------
// Z-index master list
// -------------------------
// Used for a bird's eye view of components dependent on the z-axis
// Try to avoid customizing these :)
@zindexDropdown: 1000;
@zindexPopover: 1010;
@zindexTooltip: 1030;
@zindexFixedNavbar: 1030;
@zindexModalBackdrop: 1040;
@zindexModal: 1050;
// Sprite icons path
// -------------------------
@iconSpritePath: "./img/sprite.png";
@iconWhiteSpritePath: "./img/sprite.png";
// Input placeholder text color
// -------------------------
@placeholderText: @grayLight;
// Hr border color
// -------------------------
@hrBorder: @grayLighter;
// Horizontal forms & lists
// -------------------------
@horizontalComponentOffset: 180px;
// Wells
// -------------------------
@wellBackground: #f5f5f5;
// Navbar
// -------------------------
@navbarCollapseWidth: 767px;
@navbarCollapseDesktopWidth: @navbarCollapseWidth + 1;
@navbarHeight: 40px;
@navbarBackgroundHighlight: #ffffff;
@navbarBackground: darken(@navbarBackgroundHighlight, 5%);
@navbarBorder: darken(@navbarBackground, 12%);
@navbarText: #777;
@navbarLinkColor: #777;
@navbarLinkColorHover: @grayDark;
@navbarLinkColorActive: @gray;
@navbarLinkBackgroundHover: transparent;
@navbarLinkBackgroundActive: darken(@navbarBackground, 5%);
@navbarBrandColor: @navbarLinkColor;
// Inverted navbar
@navbarInverseBackground: #111111;
@navbarInverseBackgroundHighlight: #222222;
@navbarInverseBorder: #252525;
@navbarInverseText: @grayLight;
@navbarInverseLinkColor: @grayLight;
@navbarInverseLinkColorHover: @white;
@navbarInverseLinkColorActive: @navbarInverseLinkColorHover;
@navbarInverseLinkBackgroundHover: @navbarBackground/2;
@navbarInverseLinkBackgroundActive: @navbarInverseBackground;
@navbarInverseSearchBackground: lighten(@navbarInverseBackground, 25%);
@navbarInverseSearchBackgroundFocus: @white;
@navbarInverseSearchBorder: @navbarInverseBackground;
@navbarInverseSearchPlaceholderColor: #ccc;
@navbarInverseBrandColor: @navbarInverseLinkColor;
// Pagination
// -------------------------
@paginationBackground: #fff;
@paginationBorder: #ddd;
@paginationActiveBackground: #f5f5f5;
// Hero unit
// -------------------------
@heroUnitBackground: @grayLighter;
@heroUnitHeadingColor: inherit;
@heroUnitLeadColor: inherit;
// Form states and alerts
// -------------------------
@warningText: #c09853;
@warningBackground: #fcf8e3;
@warningBorder: darken(spin(@warningBackground, -10), 3%);
@errorText: #b94a48;
@errorBackground: #f2dede;
@errorBorder: darken(spin(@errorBackground, -10), 3%);
@successText: #468847;
@successBackground: #dff0d8;
@successBorder: darken(spin(@successBackground, -10), 5%);
@infoText: #3a87ad;
@infoBackground: #d9edf7;
@infoBorder: darken(spin(@infoBackground, -10), 7%);
// Tooltips and popovers
// -------------------------
@tooltipColor: #fff;
@tooltipBackground: #000;
@tooltipArrowWidth: 5px;
@tooltipArrowColor: @tooltipBackground;
@popoverBackground: #fff;
@popoverArrowWidth: 10px;
@popoverArrowColor: #fff;
@popoverTitleBackground: darken(@popoverBackground, 3%);
// Special enhancement for popovers
@popoverArrowOuterWidth: @popoverArrowWidth + 1;
@popoverArrowOuterColor: rgba(0,0,0,.25);
// GRID
// --------------------------------------------------
// Default 940px grid
// -------------------------
@gridColumns: 12;
@gridColumnWidth: 60px;
@gridGutterWidth: 20px;
@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
// 1200px min
@gridColumnWidth1200: 70px;
@gridGutterWidth1200: 30px;
@gridRowWidth1200: (@gridColumns * @gridColumnWidth1200) + (@gridGutterWidth1200 * (@gridColumns - 1));
// 768px-979px
@gridColumnWidth768: 42px;
@gridGutterWidth768: 20px;
@gridRowWidth768: (@gridColumns * @gridColumnWidth768) + (@gridGutterWidth768 * (@gridColumns - 1));
// Fluid grid
// -------------------------
@fluidGridColumnWidth: percentage(@gridColumnWidth/@gridRowWidth);
@fluidGridGutterWidth: percentage(@gridGutterWidth/@gridRowWidth);
// 1200px min
@fluidGridColumnWidth1200: percentage(@gridColumnWidth1200/@gridRowWidth1200);
@fluidGridGutterWidth1200: percentage(@gridGutterWidth1200/@gridRowWidth1200);
// 768px-979px
@fluidGridColumnWidth768: percentage(@gridColumnWidth768/@gridRowWidth768);
@fluidGridGutterWidth768: percentage(@gridGutterWidth768/@gridRowWidth768);
/* Quelques éléments spécifiques à SPIPr */
.header {position: relative;}
.header .accueil a {color: inherit;}
.header .spip_logos {float:left;margin: @paddingLarge;margin-left: 0;margin-top:0;}
.header .accueil {}
#logo_site_spip {line-height: 1em;}
#slogan_site_spip {display: block;}
.header .formulaire_menu_lang {width: 100%;}
.header .formulaire_menu_lang select {width: 100%;}
.hero-unit .postmeta {clear: both;}
.formulaire_recherche,.secondary .formulaire_recherche {padding-right: 42px+2*14px;} /* provisionner la largeur du bouton+padding sur le input.search */
.formulaire_recherche form .input-append {width:100%;}
.formulaire_recherche form input.search {width:100%;}
.footer {
.clearfix;
margin-top:4em;
padding-top: 2em;
border-top:2px solid;
padding-bottom: 2em;
margin-bottom:0;
text-align: left;
position:relative;
.colophon {padding-right: 100px}
.generator {position: absolute;top:2em;right:0;max-width: 100px;}
}
.cartouche {margin-bottom: @emLineHeight;}
.content.primary {min-height: 320px;}
.content {
.postmeta .tags .inline {display: inline;}
}
.page_sommaire .breadcrumb {display: none}
#nav > .navbar-inner {padding-left: 0;padding-right: 0}
/* Pour NavBar, en provenance de SPIPr-educ */
/* surcharge des règles issue de bootstrap + on surcharge les images dans le /img de notre dossier css */
[class^="icon-"],
[class*=" icon-"]{
background-image:url("@{iconSpritePath}");
margin-top: 3px;
}
.icon-white,
.nav-pills > .active > a > [class^="icon-"],
.nav-pills > .active > a > [class*=" icon-"],
.nav-list > .active > a > [class^="icon-"],
.nav-list > .active > a > [class*=" icon-"],
.navbar-inverse .nav > .active > a > [class^="icon-"],
.navbar-inverse .nav > .active > a > [class*=" icon-"],
.dropdown-menu > li > a:hover > [class^="icon-"],
.dropdown-menu > li > a:focus > [class^="icon-"],
.dropdown-menu > li > a:hover > [class*=" icon-"],
.dropdown-menu > li > a:focus > [class*=" icon-"],
.dropdown-menu > .active > a > [class^="icon-"],
.dropdown-menu > .active > a > [class*=" icon-"],
.dropdown-submenu:hover > a > [class^="icon-"],
.dropdown-submenu:focus > a > [class^="icon-"],
.dropdown-submenu:hover > a > [class*=" icon-"],
.dropdown-submenu:focus > a > [class*=" icon-"]{
background-image:url("@{iconWhiteSpritePath}");
}
.navbar .nav > li > a {padding: 9px 10px;}
.navbar .nav > li.item-picto > a {padding: 9px 15px;}
/* icones en sprite css */
[class^="icon-nav"], [class*=" icon-nav"]{
background-image:url("./img/sprite.png");
height:22px;
width:22px;
background-repeat:no-repeat;
display:inline-block;
vertical-align:text-top;
margin:0;
&:hover{background-color:@grayDark;}
}
.icone{
display: inline-block;
vertical-align: middle;
padding:5px;
width: 30px;
height: 30px;
.border-radius(20px);
background-color: @blue ;
&:hover,&:active,&:focus{background-color: @blue ;}
}
#nav{
.menu-container{
border-top:1px solid @blue;
border-bottom:1px solid @blue;
.border-radius(0);
.nav{
margin:0 auto;
float:none;
.dropdown-menu {
min-width: 240px;
.border-radius(@baseBorderRadius);
.box-shadow(0 2px 2px rgba(0,0,0,.2));
}
.item{
li.item{
text-transform:none;
background:none;
list-style: none;
a{
display: block;
&:hover,&:focus,&:active{background-color:@blue;color:@white;}
}
}
&.tout_voir{text-align:right;}
.on,&.on{font-weight: normal;}
&.item-picto {
>a{
&.icon-nav-home{
background-position:12px -30px;
&:hover,&:focus,&:active{background-position:12px 9px;}
}
&.icon-nav-calendar{
background-position:-25px -30px;
&:hover,&:focus,&:active{background-position:-27px 9px;}
}
&.icon-nav-contact{
background-position:-187px -30px;
&:hover,&:focus,&:active{background-position:-187px 9px;}
}
&.icon-nav-themes{
background-position:-266px -30px;
&:hover,&:focus,&:active{background-position:-266px 9px;}
}
&.icon-nav-star{
background-position:-228px -30px;
&:hover,&:focus,&:active{background-position:-228px 9px;}
}
}
}
}
}
}
}
/* Gestion des layoutgala */
@import "css/layoutgala/9";
@import "css/layoutgala/33";
@import "css/layoutgala/27";
/* par defaut : 2 colonnes en largeurs fixes */
#layoutgala33 > .core(8,4,4,@gridColumnWidth,@gridGutterWidth);
/* largeur>1200px : 3 colonnes en largeurs fixes sur les ecrans larges */
@media (min-width: 1200px) {
#layoutgala9 > .core(6,3,3,@gridColumnWidth1200,@gridGutterWidth1200);
}
/* entre 768px et 979px : 2 colonnes en largeurs fixes, mais grille plus etroite*/
@media (min-width: 768px) and (max-width: 979px) {
#layoutgala33 > .core(8,4,4,@gridColumnWidth768,@gridGutterWidth768);
}
/* largeur < 767px : content en pleine largeur, aside et extra en 2 colonnes en dessous */
@media (max-width: 767px) {
#layoutgala27 > .core(auto,48%,48%,@gridColumnWidth768,@gridGutterWidth768);
}
/* largeur < 450px : on garde le layout de dessus, mais on verticalise tout (content puis aside puis extra) */
@media (max-width: 450px) {
div#aside {float:none;width:100%;}
div#extra {float:none;width:100%;}
}

301
css/variables1.less

@ -1,301 +0,0 @@
@import "css/colors.less";
// Variables
// --------------------------------------------------
// Global values
// --------------------------------------------------
// Grays
// -------------------------
@black: #000;
@grayDarker: #222;
@grayDarkerAlpha: rgba(22,22,22,0.6);
@grayDark: #363636;
@grayDarkAlpha: rgba(36,36,36,0.5);
@gray: #555;
@grayAlpha: rgba(55,55,55,0.4);
@grayLight: #E0E2E4;
@grayLighter: #E0E2E4;
@white: #fafafa;
@blueDesaturate: #005981;
@grayBlue: #B4C9C6;
// Accent colors
// -------------------------
// Scaffolding
// -------------------------
@bodyBackground: @white;
@textColor: @grayDark;
// Links
// -------------------------
@linkColor: @color2;
@linkColorHover: darken(@linkColor, 15%);
// Typography
// -------------------------
@sansFontFamily: 'OpenSans',Arial,Helvetica,sans-serif;
@sansFontLightFamily: 'OpenSansLight',Arial,Helvetica,sans-serif;
@serifFontFamily: Georgia, "Times New Roman", Times, serif;
@monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace;
@baseFontSize: 15px;
@baseFontFamily: @sansFontFamily;
@baseLineHeight: 22px;
@altFontFamily: @serifFontFamily;
@headingsFontFamily: inherit; // empty to use BS default, @baseFontFamily
@headingsFontWeight: bold; // instead of browser default, bold
@headingsColor: inherit; // empty to use BS default, @textColor
// Component sizing
// -------------------------
// Based on 14px font-size and 20px line-height
@fontSizeLarge: @baseFontSize * 1.25; // ~18px
@fontSizeSmall: @baseFontSize * 0.85; // ~12px
@fontSizeMini: @baseFontSize * 0.75; // ~11px
@paddingLarge: 11px 19px; // 44px
@paddingSmall: 2px 10px; // 26px
@paddingMini: 1px 6px; // 24px
@baseBorderRadius: 15px;
@borderRadiusLarge: 15px;
@borderRadiusMedium: 10px;
@borderRadiusSmall: 4px;
@borderRadiusBlocs: 0;
// Tables
// -------------------------
@tableBackground: transparent; // overall background-color
@tableBackgroundAccent: #f9f9f9; // for striping
@tableBackgroundHover: #eeeeee; // for hover
@tableBorder: #ddd; // table and cell border
// Buttons
// -------------------------
@btnBackground: @white;
@btnBackgroundHighlight: darken(@white, 10%);
@btnBorder: darken(@white, 20%);
@btnPrimaryBackground: @turquoise;
@btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 15%);
@btnInfoBackground: lighten(@orange, 15%);
@btnInfoBackgroundHighlight: @orange;
@btnSuccessBackground: #62c462;
@btnSuccessBackgroundHighlight: #51a351;
@btnWarningBackground: lighten(@orange, 15%);
@btnWarningBackgroundHighlight: @orange;
@btnDangerBackground: #ee5f5b;
@btnDangerBackgroundHighlight: #bd362f;
@btnInverseBackground: @gray;
@btnInverseBackgroundHighlight: @grayDarker;
// Forms
// -------------------------
@inputBackground: @white;
@inputBorder: #ccc;
@inputBorderRadius: 3px;
@inputDisabledBackground: @grayLighter;
@formActionsBackground: transparent;
@inputHeight: @baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border
// Dropdowns
// -------------------------
@dropdownBackground: @white;
@dropdownBorder: rgba(0,0,0,.2);
@dropdownDividerTop: #e5e5e5;
@dropdownDividerBottom: @white;
@dropdownLinkColor: @linkColor;
@dropdownLinkColorHover: @white;
@dropdownLinkColorActive: @dropdownLinkColor;
@dropdownLinkBackgroundActive: @color1;
@dropdownLinkBackgroundHover: @dropdownLinkBackgroundActive;
// COMPONENT VARIABLES
// --------------------------------------------------
// Z-index master list
// -------------------------
// Used for a bird's eye view of components dependent on the z-axis
// Try to avoid customizing these :)
@zindexDropdown: 1000;
@zindexPopover: 1010;
@zindexTooltip: 1030;
@zindexFixedNavbar: 1030;
@zindexModalBackdrop: 1040;
@zindexModal: 1050;
// Sprite icons path
// -------------------------
@iconSpritePath: "../img/glyphicons-halflings.png";
@iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
// Input placeholder text color
// -------------------------
@placeholderText: @grayLight;
// Hr border color
// -------------------------
@hrBorder: @grayLighter;
// Horizontal forms & lists
// -------------------------
@horizontalComponentOffset: 180px;
// Wells
// -------------------------
@wellBackground: @grayLight;
// Navbar
// -------------------------
@navbarCollapseWidth: 767px;
@navbarCollapseDesktopWidth: @navbarCollapseWidth + 1;
@navbarHeight: 40px;
@navbarBackgroundHighlight: #CE4213;
@navbarBackground: @gray;
@navbarBorder: darken(@navbarBackground, 15%);
@navbarText: @white;
@navbarLinkColor: @white;
@navbarLinkColorHover: @white;
@navbarLinkColorActive: @navbarLinkColorHover;
@navbarLinkBackgroundHover: rgba(0,0,0,.2);
@navbarLinkBackgroundActive: rgba(0,0,0,.2);
@navbarBrandColor: @navbarLinkColor;
// Inverted navbar
@navbarInverseBackground: @grayLighter;
@navbarInverseBackgroundHighlight: @grayLighter;
@navbarInverseBorder: darken(@navbarInverseBackground, 5%);
@navbarInverseText: @black;
@navbarInverseLinkColor: @black;
@navbarInverseLinkColorHover: @white;
@navbarInverseLinkColorActive: @navbarInverseLinkColorHover;
@navbarInverseLinkBackgroundHover: @color1;
@navbarInverseLinkBackgroundActive: @color1;
@navbarInverseBrandColor: @navbarInverseLinkColor;
// Pagination
// -------------------------
@paginationBackground: @grayDark;
@paginationBorder: @yellow;
@paginationActiveBackground: @color1;
// Hero unit
// -------------------------
@heroUnitBackground: @grayLighter;
@heroUnitHeadingColor: inherit;
@heroUnitLeadColor: inherit;
// Form states and alerts
// -------------------------
@warningText: #ECA918;
@warningBackground: lighten(@warningText, 40%);
@warningBorder: darken(spin(@warningBackground, -10), 3%);
@errorText: #DF382C;
@errorBackground: lighten(@errorText, 40%);
@errorBorder: darken(spin(@errorBackground, -10), 3%);
@successText: #38B44A;
@successBackground: lighten(@successText, 40%);
@successBorder: darken(spin(@successBackground, -10), 5%);
@infoText: @color2;
@infoBackground: lighten(@color2, 50%);
@infoBorder: darken(spin(@infoBackground, -10), 7%);
// Tooltips and popovers
// -------------------------
@tooltipColor: #fff;
@tooltipBackground: #000;
@tooltipArrowWidth: 5px;
@tooltipArrowColor: @tooltipBackground;
@popoverBackground: #fff;
@popoverArrowWidth: 10px;
@popoverArrowColor: #fff;
@popoverTitleBackground: darken(@popoverBackground, 3%);
// Special enhancement for popovers
@popoverArrowOuterWidth: @popoverArrowWidth + 1;
@popoverArrowOuterColor: rgba(0,0,0,.25);
/* pour plugin bootstrap >2.0 */
@navbarInverseSearchBackground: lighten(@navbarInverseBackground, 25%);
@navbarInverseSearchBackgroundFocus: @white;
@navbarInverseSearchBorder: @navbarInverseBackground;
@navbarInverseSearchPlaceholderColor: #ccc;
// GRID
// --------------------------------------------------
// Default 940px grid
// -------------------------
@gridColumns: 12;
@gridColumnWidth: 60px;
@gridGutterWidth: 20px;
@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
// 1200px min
@gridColumnWidth1200: 70px;
@gridGutterWidth1200: 30px;
@gridRowWidth1200: (@gridColumns * @gridColumnWidth1200) + (@gridGutterWidth1200 * (@gridColumns - 1));
// 768px-979px
@gridColumnWidth768: 42px;
@gridGutterWidth768: 20px;
@gridRowWidth768: (@gridColumns * @gridColumnWidth768) + (@gridGutterWidth768 * (@gridColumns - 1));
// Fluid grid
// -------------------------
@fluidGridColumnWidth: percentage(@gridColumnWidth/@gridRowWidth);
@fluidGridGutterWidth: percentage(@gridGutterWidth/@gridRowWidth);
// 1200px min
@fluidGridColumnWidth1200: percentage(@gridColumnWidth1200/@gridRowWidth1200);
@fluidGridGutterWidth1200: percentage(@gridGutterWidth1200/@gridRowWidth1200);
// 768px-979px
@fluidGridColumnWidth768: percentage(@gridColumnWidth768/@gridRowWidth768);
@fluidGridGutterWidth768: percentage(@gridGutterWidth768/@gridRowWidth768);

2
inc/spipr_educ_definitions_noisettes.php

@ -44,6 +44,7 @@ function spipr_educ_noisettes_article_initialisation() {
'article_portfolio'=>array('article','content',3),
'article_petition'=>array('article','content',4),
'article_forum'=>array('article','content',5),
'article_evenements_article'=>array('article','content',6,'cfg'),
'article_meme_rubrique'=>array('article','extra',1,'cfg'),
'article_mots_cles'=>array('article','extra',2),
'article_evenements' => array ('article','extra',3,'cfg'),
@ -79,6 +80,7 @@ function spipr_educ_noisettes_rubrique_initialisation() {
'rubrique_mots_cles'=>array('rubrique','extra',1),
'rubrique_evenements' => array ('rubrique','extra',2,'cfg'),
'rubrique_dyslexie' => array ('rubrique','extra',3,'cfg'),
'rubrique_articles_syndiques' => array ('rubrique','extra',4,'cfg'),
'rubrique_footer'=>array('rubrique','footer',1),
'rubrique_head'=>array('rubrique','head',1),
'rubrique_spipr_dane_js'=>array('rubrique','head_js',1),

2
lang/spipr_educ_fr.php

@ -190,6 +190,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
'article_bloc_logos'=>"Logos des partenaires",
'article_compteur'=>"Compteur de visites (plugin \"Compteur graphique\")",
'article_spipr_dane_js'=>"Bouton de retour en haut, stop/pause du Caroussel",
'article_evenements_article'=>"Les événements liés à cet article",
'rubrique_menu_navigation'=>"Menu de navigation vertical des rubriques",
'rubrique_recherche'=>"Formulaire de recherche",
'rubrique_breadcrumb'=>"Fil d'ariane SPIPr-édu",
@ -216,6 +217,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
'rubrique_liens_partenaires'=>"Liste des partenaires avec liens",
'rubrique_bloc_logos'=>"Logos des partenaires",
'rubrique_spipr_dane_js'=>"Bouton de retour en haut, stop/pause du Caroussel",
'rubrique_articles_syndiques'=>"Articles issus de la syndication",
'breve_menu_navigation'=>"Menu de navigation vertical des rubriques",
'breve_recherche'=>"Formulaire de recherche",
'breve_breadcrumb'=>"Fil d'ariane SPIPr-édu",

3
noisettes/article/article_evenements_article.html

@ -0,0 +1,3 @@
[(#PLUGIN{agenda}|oui)<div[ id="(#ENV{skel})"] class="ajax">
<INCLURE{fond=noisettes/article/article_liste_evenements_article,id_bloc=article_evenements_article,env} />
</div>]

21
noisettes/article/article_liste_evenements_article.html

@ -0,0 +1,21 @@
<BOUCLE_article_evenements_article(spipr_educ)
{nom=article_evenements_article}
{nom_sauvegarde=en_cours_d_utilisation_SPIPr}
{parametre1=article}>
[(#PARAMETRE5|?{#SET{nb,#PARAMETRE5},#SET{nb,5}})]
[(#PARAMETRE7|?{#SET{titreBloc,#PARAMETRE7},#SET{titreBloc,<:spipr_educ:article_evenements_article:>}})]
</BOUCLE_article_evenements_article>
<B_liste_evenements>
<div class="liste"[ id="(#ENV{id_bloc})"]>
[<h2>(#GET{titreBloc})</h2>]
#ANCRE_PAGINATION
<ul class="liste-items evenements short">
<BOUCLE_liste_evenements(EVENEMENTS){id_article}{par date_debut}{pagination #GET{nb}}>
<li class="item evenement">#INCLURE{fond=noisettes/commun/spipr_educ_evenement,id_evenement}</li>
</BOUCLE_liste_evenements>
</ul>
[<div class="pagination[ (#ALIGNEMENTPAGINATION)]">(#PAGINATION)</div>]
<div class="clearfix"></div>
</div>
</B_liste_evenements>

22
noisettes/rubrique/rubrique_articles_syndiques.html

@ -0,0 +1,22 @@
<BOUCLE_pagination_rubrique_articles_syndiques(spipr_educ)
{nom=rubrique_articles_syndiques}
{nom_sauvegarde=en_cours_d_utilisation_SPIPr}
{parametre1=rubrique}>
[(#PARAMETRE7|?{#SET{titreBloc,#PARAMETRE7},#SET{titreBloc,<:spipr_educ:nouveau_web:>}})]
[(#PARAMETRE5|?{#SET{nb,#PARAMETRE5},#SET{nb,5}})]
</BOUCLE_pagination_rubrique_articles_syndiques>
[(#REM) Sur le Web ]
<B_syndic>
<div class="liste syndic_articles" id="rubrique_articles_syndiques">
#ANCRE_PAGINATION
[<h2 class="h2">(#GET{titreBloc})</h2>]
<ul class="liste-items">
<BOUCLE_syndic(SYNDIC_ARTICLES) {id_rubrique} {par date} {inverse} {pagination #GET{nb}}>
<li class="item">[<abbr class="published" title="[(#DATE|date_iso)]">(#DATE|affdate_jourcourt)</abbr><span class="sep"> &ndash; </span>]<a href="#URL_ARTICLE"[ title="(#NOM_SITE|attribut_html|couper{80})"] class="spip_out">#TITRE</a></li>
</BOUCLE_syndic>
</ul>
[<div class="pagination[ (#ALIGNEMENTPAGINATION)]">(#PAGINATION)</div>]
<div class="clearfix"></div>
</div>
</B_syndic>

2
paquet.xml

@ -5,7 +5,7 @@
etat="test"
compatibilite="[3.0.0;3.3.*]"
logo="img/spipr_dist-32.png"
schema="2018.9.21"
schema="2018.9.23"
documentation="http://numeriques.spip.ac-rouen.fr/spip.php&#63;page=page_numerique&#38;reference=outils&#38;code=148"
>

2
prive/squelettes/contenu/spipr_educ_configure_bloc.html

@ -95,6 +95,7 @@
case 'rubrique_breves':
case 'rubrique_sites':
case 'rubrique_evenements':
case 'rubrique_articles_syndiques':
case 'article_evenements':
case 'article_meme_rubrique':
case 'breve_evenements':
@ -106,6 +107,7 @@
case 'auteur_autres_auteurs':
case 'auteur_evenements':
case 'autre_evenements':
case 'article_evenements_article':
?>
<div class="ajax">#FORMULAIRE_SPIPR_EDUC_CONFIGURE_BLOC_TYPE_LISTE{#ENV{nom},#ENV{id}}</div>
<?php

Loading…
Cancel
Save