Skip to main content
Drupal 8

Main navigation

  • Home
    • Question And Answer
    • NEWS
    • Projects
  • Tutorials - Drupal
    • Android
    • Other
User account menu
  • Log in

Breadcrumb

  1. Home

CSS

By editor , 14 June, 2016

CSS block formating contexte / CSS Box Model

Tags

  • CSS
  • Theming

Tuto English : 
CSS Box Model : http://www.w3schools.com/css/css_boxmodel.asp
CSS display Property - http://www.w3schools.com/cssref/pr_class_display.asp

By editor , 1 June, 2016

CSS Filters - Edit Image/Div using filter Property

Tags

  • Theming
  • CSS

Filters list (Syntaw)

filter: none | blur() | brightness() | contrast() | drop-shadow() | grayscale() | hue-rotate() | invert() | opacity() | saturate() | sepia() | url();

Examples:

Convert  block/image ... to black and white (Gray out):

By editor , 13 April, 2016

SASS LESS Configuration file. config.rb

Tags

  • Theming
  • CSS

Example 1. SASS (SCSS)

http_path = "/"
css_dir = "css"
sass_dir = "sass"
images_dir = "images"

Example 2. SASS (SCSS)

By editor , 4 March, 2016

Theming tips for Bootstrap framework

Tags

  • Theming
  • JavaScript
  • CSS

Modal dialogue box ( bootstrap / jquery)

1. Remobe the gray background of modal dialog  box (modal-backdrop)


.modal-backdrop {
  background-color: transparent;
}

2. Modal dialog  box Theming

By editor , 9 February, 2016

Add a solid color zone at the top (or anyware) of the page

Tags

  • Theming
  • CSS

.main-container {
&:before {
content: ''; position: absolute; height: 500px; background: red; width: 100%; left: 0;
} }

ALSO:
Add z-index: -1; if this hide some thing

.main-container is a div just after the body

By editor , 9 February, 2016

Horizontal Align

Tags

  • Theming
  • CSS

1. Text-Align: Center;
div{
    text-align: center;
}

2. Margin: 0 auto;

By editor , 9 February, 2016

Vertical Align - Center Up and Down

Tags

  • Theming
  • CSS

Tables

vertical-align: middle; is working in a TABLE, but not inside if a DIV

Move up/down

To move a background image (50px s=X 50px) to center of the previus line(50px to top).

Pagination

  • Previous page
  • 2
CSS

Links

  • Drupal.org
  • Drupal core release cycle
  • Drupal events with ease
  • Unit test with Drupal using PHPUnit (Drupal 10)
  • Tokens for file upload url
  • Tips for Docker
  • CKEditor inline image files usage for custom forms.
  • Install Docker on Linux Mint
  • Install PHP 8.1
  • Drupal Security Best Practices
  • Order and sort items with tabledrag
  • Add a custom service YAML container
  • Apply a patch with composer