Browse Source

Conversion a BS4/spipr-v2

master
Cerdic 2 years ago
parent
commit
1d4885a90c
  1. 32
      body.html
  2. 110
      css/_bootswatch.scss
  3. 147
      css/_variables.scss
  4. 182
      css/bootswatch.less
  5. 7
      css/font.css
  6. BIN
      css/fonts/telex-regular-webfont.woff
  7. BIN
      css/fonts/telex-regular-webfont.woff2
  8. 5
      css/layouts.less
  9. 19
      css/navbar.less
  10. 32
      css/responsive.less
  11. 29
      css/theme.less
  12. 47
      css/theme.scss
  13. 301
      css/variables.less
  14. 19
      lang/paquet-theme_bscerulean_fr.php
  15. 18
      paquet.xml
  16. 13
      plugin.xml
  17. BIN
      vignette.png

32
body.html

@ -5,28 +5,36 @@
<INCLURE{fond=header/#ENV{type-page},env} />
</div>
</div>
<div class="navbar navbar-inverse row" id="nav">
<div class="navbar-wrap span12">
<INCLURE{fond=inclure/nav,env} />
</div>
[<div class="navbar navbar-expand-md navbar-dark bg-primary" id="nav">
<div class="container">
(#INCLURE{fond=inclure/nav,env}|navbar_responsive)
</div>
</div>]
<div class="container">
<div class="row wrapper">
<div class="content primary span8" id="content">
<div class="row justify-content-between">
<div class="col-content col-md-9 col-lg-8 order-2" id="content">
<INCLURE{fond=breadcrumb/#ENV{type-page},env} />
<INCLURE{fond=content/#ENV{type-page},env} />
</div>
<div class="aside secondary span3" id="aside">
<INCLURE{fond=aside/#ENV{type-page},env} />
</div>
<div class="extra secondary span3" id="extra">
<INCLURE{fond=extra/#ENV{type-page},env} />
<div class="col-secondary col-md-3 order-3 order-md-1">
<div class="row">
<div class="col-sm-6 col-md-12">
<div class="aside secondary" id="aside">
<INCLURE{fond=aside/#ENV{type-page},env} />
</div>
</div>
<div class="col-sm-6 col-md-12">
<div class="extra secondary" id="extra">
<INCLURE{fond=extra/#ENV{type-page},env} />
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer" id="footer">
<div class="container inner">
<INCLURE{fond=footer/#ENV{type-page},env} />
<INCLURE{fond=footer/#ENV{type-page},env} />
</div>
</div>
</div>

110
css/_bootswatch.scss

@ -0,0 +1,110 @@
// Cerulean 4.3.1
// Bootswatch
// TYPOGRAPHY
// -----------------------------------------------------
// see font.css
//@import url(https://fonts.googleapis.com/css?family=Telex);
@mixin btn-shadow($color){
@include gradient-y-three-colors(lighten($color, 8%), $color, 60%, darken($color, 4%));
}
$text-shadow: 0 1px 0 rgba(0, 0, 0, 0.05) !default;
// Navbar ======================================================================
.bg-primary {
@include btn-shadow($primary);
}
.bg-dark {
@include btn-shadow($blue);
}
.bg-light {
@include gradient-y-three-colors(lighten($gray-200, 8%), $gray-200, 60%, darken($gray-200, 2%));
}
.navbar-brand,
.nav-link {
text-shadow: $text-shadow;
font-family:$headings-font-family;
}
// Buttons =====================================================================
.btn {
text-shadow: $text-shadow
}
.btn-primary {
@include btn-shadow($primary);
}
.btn-secondary {
@include btn-shadow($secondary);
color: $gray-700;
}
.btn-success {
@include btn-shadow($success);
}
.btn-info {
@include btn-shadow($info);
}
.btn-warning {
@include btn-shadow($warning);
}
.btn-danger {
@include btn-shadow($danger);
}
.btn-light {
@include btn-shadow($light);
}
.btn-dark {
@include btn-shadow($dark);
}
// Typography ==================================================================
.text-secondary {
color: $gray-500 !important;
}
.bg-primary,
.bg-success,
.bg-info,
.bg-warning,
.bg-danger,
.bg-dark {
h1, h2, h3, h4, h5, h6 {
color: $white;
}
}
// Tables ======================================================================
// Forms =======================================================================
// Navs ========================================================================
.dropdown-menu {
.dropdown-header {
color: $gray-600;
}
}
// Indicators ==================================================================
// Progress bars ===============================================================
// Containers ==================================================================

147
css/_variables.scss

@ -0,0 +1,147 @@
// Cerulean 4.3.1
// Bootswatch
//
// Color system
//
$white: #fff !default;
$gray-100: #f5f5f5 !default;
$gray-200: #e9ecef !default;
$gray-300: #dee2e6 !default;
$gray-400: #ced4da !default;
$gray-500: #adb5bd !default;
$gray-600: #868e96 !default;
$gray-700: #495057 !default;
$gray-800: #343a40 !default;
$gray-900: #212529 !default;
$black: #000 !default;
$blue: #033C73 !default;
$indigo: #6610f2 !default;
$purple: #6f42c1 !default;
$pink: #e83e8c !default;
$red: #C71C22 !default;
$orange: #fd7e14 !default;
$yellow: #DD5600 !default;
$green: #73A839 !default;
$teal: #20c997 !default;
$cyan: #2FA4E7 !default;
$cyan-darker: #317eac;
$primary: $cyan !default;
$secondary: $gray-200 !default;
$success: $green !default;
$info: $blue !default;
$warning: $yellow !default;
$danger: $red !default;
$light: $gray-100 !default;
$dark: $gray-800 !default;
// Options
//
// Quickly modify global styling by enabling or disabling optional features.
$enable-caret: true !default;
$enable-rounded: true !default;
$enable-shadows: false !default;
$enable-gradients: false !default;
$enable-transitions: true !default;
$enable-prefers-reduced-motion-media-query: true !default;
$enable-hover-media-query: false !default; // Deprecated, no longer affects any compiled CSS
$enable-grid-classes: true !default;
$enable-pointer-cursor-for-buttons: true !default;
$enable-print-styles: true !default;
$enable-responsive-font-sizes: false !default;
$enable-validation-icons: true !default;
$enable-deprecation-messages: true !default;
// Spacing
$spacer: 1.5rem !default;
$spacers: () !default;
// stylelint-disable-next-line scss/dollar-variable-default
$spacers: map-merge(
(
0: 0,
1: ($spacer * .25),
2: ($spacer * .5),
3: $spacer,
4: ($spacer * 1.5),
5: ($spacer * 3)
),
$spacers
);
// Body
$body-color: $gray-700 !default;
// Grid breakpoints
//
// Define the minimum dimensions at which your layout will change,
// adapting to different screen sizes, for use in media queries.
$grid-breakpoints: (
xs: 0,
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px
) !default;
// Grid containers
//
// Define the maximum width of `.container` for different screen sizes.
$container-max-widths: (
sm: 100vw,
md: 750px,
lg: 960px,
xl: 1140px
) !default;
// Fonts
$font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
$font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif !default;
$font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
$font-family-base: $font-family-sans-serif !default;
$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
$font-size-lg: $font-size-base * 1.2 !default;
$font-size-sm: $font-size-base * .866 !default;
$line-height-base: 1.5 !default;
$h1-font-size: $font-size-base * 2 !default;
$h2-font-size: $font-size-base * 1.5 !default;
$h3-font-size: $font-size-base * 1.25 !default;
$h4-font-size: $font-size-base * 1.1 !default;
$h5-font-size: $font-size-base !default;
$headings-font-family: 'Telex', sans-serif; // empty to use BS default, @baseFontFamily
$headings-line-height: 1.1 !default;
$headings-font-weight: 700;
$headings-color: $cyan-darker !default;
$blockquote-font-size: $font-size-base !default;
// Dropdowns
$dropdown-link-color: $body-color !default;
$dropdown-link-hover-color: $white !default;
$dropdown-link-hover-bg: $primary !default;
// Navbar
$navbar-nav-link-padding-x: 0.75rem;
$navbar-dark-color: rgba($white,.9) !default;
$navbar-dark-hover-color: $white !default;
$navbar-dark-active-color: $white !default;
$navbar-dark-hover-bg: rgba($cyan-darker,0.25) !default;
$navbar-dark-active-bg: $cyan-darker !default;
$breadcrumb-bg: $gray-100;
$breadcrumb-margin-bottom: $spacer;
$jumbotron-bg: $gray-100;
@import "bootstrap/css/_variables";

182
css/bootswatch.less

@ -1,182 +0,0 @@
// Bootswatch.less
// Swatch: Cerulean
// Version: 2.1.1
// -----------------------------------------------------
// TYPOGRAPHY
// -----------------------------------------------------
@import url(https://fonts.googleapis.com/css?family=Telex);
// SCAFFOLDING
// -----------------------------------------------------
// NAVBAR
// -----------------------------------------------------
.navbar {
.brand {
padding: 14px 20px 16px;
font-family: @headingsFontFamily;
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}
li {
line-height: 20px;
}
.nav > li > a {
padding: 16px 10px 14px;
font-family: @headingsFontFamily;
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}
.search-query {
border: 1px solid darken(@linkColor, 10%);
}
.btn-navbar:hover {
background-color: darken(@white, 20%);
}
.navbar-text {
padding: 19px 10px 18px;
line-height: 13px;
color: rgba(0, 0, 0, 0.5);
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}
&-inverse {
.navbar-search .search-query {
color: @textColor;
}
}
}
@media (max-width: @navbarCollapseWidth) {
.navbar .nav-collapse {
.nav li > a {
font-family: @headingsFontFamily;
font-weight: normal;
color: @white;
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
&:hover {
background-color: #2B7CAC;
}
}
.nav .active > a {
.box-shadow(none);
background-color: #2B7CAC;
}
.dropdown-menu li > a:hover,
.dropdown-menu li > a:focus,
.dropdown-submenu:hover > a {
background-image: none;
}
.navbar-form,
.navbar-search {
border: none;
}
.nav-header {
color: #2B7CAC;
}
}
.navbar-inverse .nav-collapse {
.nav li > a {
color: @navbarInverseLinkColor;
&:hover {
background-color: rgba(0, 0, 0, 0.1);
}
}
.nav .active > a {
background-color: rgba(0, 0, 0, 0.1);
}
}
}
div.subnav {
font-family: @headingsFontFamily;
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2);
&-fixed {
top: @navbarHeight;
}
}
// NAV
// -----------------------------------------------------
// BUTTONS
// -----------------------------------------------------
.btn {
#gradient > .vertical-three-colors(@white, @white, 5%, darken(@white, 0%));
@shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
.box-shadow(@shadow);
&:hover {
background-position: 0 0;
}
}
.btn-primary {
.buttonBackground(lighten(@btnPrimaryBackground, 5%), @btnPrimaryBackground);
}
.btn-info {
.buttonBackground(lighten(@btnInfoBackground, 5%), @btnInfoBackground);
}
.btn-success {
.buttonBackground(lighten(@btnSuccessBackground, 5%), @btnSuccessBackground);
}
.btn-warning {
.buttonBackground(lighten(@btnWarningBackground, 5%), @btnWarningBackground);
}
.btn-danger {
.buttonBackground(lighten(@btnDangerBackground, 5%), @btnDangerBackground);
}
.btn-inverse {
.buttonBackground(lighten(@btnInverseBackground, 5%), @btnInverseBackground);
}
// TABLES
// -----------------------------------------------------
// FORMS
// -----------------------------------------------------
// DROPDOWNS
// -----------------------------------------------------
// ALERTS, LABELS, BADGES
// -----------------------------------------------------
// MISC
// -----------------------------------------------------
i[class^="icon-"]{
opacity: 0.8;
}
// MEDIA QUERIES
// -----------------------------------------------------

7
css/font.css

@ -0,0 +1,7 @@
@font-face {
font-family: 'Telex';
src: url('fonts/telex-regular-webfont.woff2') format('woff2'),
url('fonts/telex-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}

BIN
css/fonts/telex-regular-webfont.woff

BIN
css/fonts/telex-regular-webfont.woff2

5
css/layouts.less

@ -1,5 +0,0 @@
@import "bootstrap/css/layouts.less";
#content{float:right;}
#aside{float:left;}
#extra{float:left;clear:left;}

19
css/navbar.less

@ -1,19 +0,0 @@
@import "bootstrap/css/navbar.less";
.navbar.row {margin-left: 0;margin-right: 0;}
.navbar .navbar-wrap {
float: none;
display: block;
margin-left: auto;
margin-right: auto;
}
.navbar {
#gradient > .vertical(@navbarBackgroundHighlight, @navbarBackground);
}
.navbar-inverse {
#gradient > .vertical(@navbarInverseBackgroundHighlight, @navbarInverseBackground);
}
.navbar-inner {
border: 0;
.border-radius(0);
}

32
css/responsive.less

@ -1,32 +0,0 @@
@import "bootstrap/css/responsive.less";
@media (max-width: 767px) {
// Padding to set content in a bit
body {
padding-left: 0px;
padding-right: 0px;
}
.container {
margin-left: 20px;
margin-right: 20px;
}
.navbar .container {
margin-left: 0px;
margin-right: 0px;
}
#content {
border-bottom: 1px solid darken(@wellBackground, 7%);
margin-bottom :2em;
float: none;
}
#aside {float:left;width:47.5%;}
#extra {float:right;width:47.5%;clear: none;}
}
@media (max-width: 450px) {
#aside {float:none;width:100%;}
#extra {float:none;width:100%;}
}

29
css/theme.less

@ -1,29 +0,0 @@
@import "css/variables.less";
@import "css/spip.variables.less";
@import "css/mixins.less";
.header {position: relative;}
.header .accueil a {color: inherit;}
.header .spip_logos {float:left;margin: @paddingLarge;margin-left: 0;margin-top:0;}
#slogan_site_spip {display: block;}
.header .formulaire_menu_lang {width: 100%;}
.header .formulaire_menu_lang select {width: 100%;}
body {background-color: @wellBackground;}
.page {background-color: @white;}
.footer {
background-color: @wellBackground;
border-top: 1px solid darken(@wellBackground, 7%);
.box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
margin-top:10em;padding-bottom: 10em;padding-top: 5em;
font-size: @fontSizeSmall;
text-align: right;
.inner {
position: relative;padding-top: 3em;
.generator {top:3em;}
}
}
.cartouche {margin-bottom: @emVertMargin;}
.content-principal {.clearfix}

47
css/theme.scss

@ -0,0 +1,47 @@
@import "css/bootstrap-start";
html {
font-size: 93.75%;
}
.col-secondary {
font-size: 0.9333rem;
}
.header {position: relative;}
.header .accueil a {color: inherit;}
.header .spip_logo {float:left;margin:$padding-y-lg $padding-x-lg;margin-left: 0;margin-top:0;}
#slogan_site_spip {display: block;}
.header .formulaire_menu_lang {width: 100%;}
.header .formulaire_menu_lang select {width: 100%;}
body {
background-color: $well-bg;
}
.page {
background-color: $body-bg;
}
.footer {
background-color: $well-bg;
border-top: 1px solid darken($well-bg, 7%);
box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
margin-top:10em;padding-bottom: 10em;padding-top: 5em;
font-size: $font-size-sm;
text-align: right;
.inner {
position: relative;padding-top: 3em;
.generator {top:3em;}
}
}
.cartouche {margin-bottom: $spacer;}
.content-principal {
@include clearfix();
}
@include media-breakpoint-down(xs) {
#nav {
@include make-navbar-button-float(right, $primary);
}
}

301
css/variables.less

@ -1,301 +0,0 @@
//
// Variables
// Swatch: Cerulean
// Version: 2.1.1
// --------------------------------------------------
// GLOBAL VALUES
// --------------------------------------------------
// Grays
// -------------------------
@black: #000;
@grayDarker: #222;
@grayDark: #333;
@gray: #555;
@grayLight: #999;
@grayLighter: #F5F5F5;
@white: #fff;
// Accent colors
// -------------------------
@blue: #3E78B3;
@blueDark: #033C73;
@green: #73A839;
@red: #C71C22;
@yellow: #F7B42C;
@orange: #DD5600;
@pink: #F49AC1;
@purple: #9760B3;
// Scaffolding
// -------------------------
@bodyBackground: @white;
@textColor: @gray;
// Links
// -------------------------
@linkColor: #2FA4E7;
@linkColorHover: darken(@linkColor, 15%);
// Typography
// -------------------------
@sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
@serifFontFamily: Georgia, "Times New Roman", Times, serif;
@monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace;
@baseFontSize: 14px;
@baseFontFamily: @sansFontFamily;
@baseLineHeight: 20px;
@altFontFamily: @monoFontFamily;
@headingsFontFamily: 'Telex', sans-serif; // empty to use BS default, @baseFontFamily
@headingsFontWeight: bold; // instead of browser default, bold
@headingsColor: #317EAC; // 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: 4px;
@borderRadiusLarge: 5px;
@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: darken(@white, 20%);
@btnPrimaryBackground: @linkColor;
@btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 15%);
@btnInfoBackground: @purple;
@btnInfoBackgroundHighlight: #2f96b4;
@btnSuccessBackground: @green;
@btnSuccessBackgroundHighlight: #51a351;
@btnWarningBackground: @orange;
@btnWarningBackgroundHighlight: @orange;
@btnDangerBackground: @red;
@btnDangerBackgroundHighlight: #bd362f;
@btnInverseBackground: @yellow;
@btnInverseBackgroundHighlight: @grayDarker;
// Forms
// -------------------------
@inputBackground: @white;
@inputBorder: #ccc;
@inputBorderRadius: 3px;
@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;
@dropdownLinkBackgroundHover: @dropdownLinkBackgroundActive;
@dropdownLinkColorActive: @dropdownLinkColor;
@dropdownLinkBackgroundActive: @linkColor;
// 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: 1020;
@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: #f5f5f5;
// Navbar
// -------------------------
@navbarCollapseWidth: 767px;
@navbarCollapseDesktopWidth: @navbarCollapseWidth + 1;
@navbarHeight: 50px;
@navbarBackground: #eee;
@navbarBackgroundHighlight: lighten(@navbarBackground, 5%);
@navbarBorder: rgba(0, 0, 0, 0.1);
@navbarText: @textColor;
@navbarLinkColor: @textColor;
@navbarLinkColorHover: @textColor;
@navbarLinkColorActive: @textColor;
@navbarLinkBackgroundHover: rgba(0,0,0,.05);
@navbarLinkBackgroundActive: rgba(0,0,0,.05);
@navbarBrandColor: @navbarLinkColor;
// Inverted navbar
@navbarInverseBackground: @linkColor;
@navbarInverseBackgroundHighlight: lighten(@linkColor, 8%);
@navbarInverseBorder: darken(@navbarInverseBackground, 12%);
@navbarInverseText: @grayLighter;
@navbarInverseLinkColor: @white;
@navbarInverseLinkColorHover: @white;
@navbarInverseLinkColorActive: @navbarInverseLinkColorHover;
@navbarInverseLinkBackgroundHover: rgba(0,0,0,.2);
@navbarInverseLinkBackgroundActive: rgba(0,0,0,.2);
@navbarInverseSearchBackground: darken(@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: darken(@linkColor, 20%);
@warningBackground: lighten(@linkColor, 20%);
@warningBorder: darken(spin(@warningBackground, -10), 3%);
@errorText: darken(#C45559, 5%);
@errorBackground: #EDDBE3;
@errorBorder: darken(spin(@errorBackground, -10), 3%);
@successText: darken(@green, 5%);
@successBackground: #CDB;
@successBorder: darken(spin(@successBackground, -10), 5%);
@infoText: darken(#908A62, 5%);
@infoBackground: #A7DFF1;
@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);

19
lang/paquet-theme_bscerulean_fr.php

@ -0,0 +1,19 @@
<?php
// Ceci est un fichier langue de SPIP -- This is a SPIP language file
// Fichier produit par PlugOnet
// Module: paquet-theme_bscerulean
// Langue: fr
// Date: 25-03-2020 09:49:32
// Items: 2
if (!defined('_ECRIRE_INC_VERSION')) return;
$GLOBALS[$GLOBALS['idx_lang']] = array(
// T
'theme_bscerulean_description' => 'A calm, blue sky',
'theme_bscerulean_slogan' => 'A calm, blue sky',
);
?>

18
paquet.xml

@ -0,0 +1,18 @@
<paquet
prefix="theme_bs4cerulean"
categorie="theme"
version="2.2.4"
etat="stable"
compatibilite="[3.2.0;*]"
logo="vignette.png"
>
<nom>Cerulean</nom>
<!-- A calm, blue sky -->
<auteur>Cedric</auteur>
<licence lien="http://www.gnu.org/licenses/gpl-3.0.html">GPL 3</licence>
<utilise nom="spiprv2" compatibilite="[2.0.0;[" />
</paquet>

13
plugin.xml

@ -1,13 +0,0 @@
<plugin>
<nom>Cerulean</nom>
<version>2.2.4</version>
<etat>stable</etat>
<auteur>Cedric</auteur>
<licence>GPL</licence>
<prefix>theme_bscerulean</prefix>
<description>A calm, blue sky</description>
<icon>vignette.png</icon>
<necessite id="SPIP" version="[3.0.0;3.1.99]" />
<utilise id="spipr" version="[0.1.0-dev;]" />
<categorie>theme</categorie>
</plugin>

BIN
vignette.png

Before

Width: 200  |  Height: 150  |  Size: 5.8 KiB

After

Width: 400  |  Height: 300  |  Size: 29 KiB

Loading…
Cancel
Save