WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-12bf45-bf.MAI' (Errcode: 28 "No space left on device")]
SELECT p.*, o.option_value, GROUP_CONCAT(DISTINCT CONCAT(m.meta_key, "::", m.meta_value) separator "::::") as seo_meta, t.slug, tr.language_code as language FROM wp_posts p JOIN wp_postmeta m ON p.ID = m.post_id JOIN wp_options o ON o.option_name = "siteurl" JOIN wp_term_relationships r ON r.object_id = p.ID JOIN wp_term_taxonomy x ON x.term_taxonomy_id = r.term_taxonomy_id JOIN wp_terms t ON t.term_id = x.term_id JOIN wp_icl_translations tr ON p.ID = tr.element_id WHERE post_type = "page" AND post_status = "publish" AND tr.language_code = 'en' AND t.slug IN ('jquery') AND x.taxonomy = "page_cat" AND tr.element_type = "post_page" AND meta_key IN ("_yoast_wpseo_title", "_yoast_wpseo_metadesc") GROUP BY p.ID

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-12bf45-c0.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wp_options`

custom_colors

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-12bf45-c1.MAI' (Errcode: 28 "No space left on device")]
SELECT p.* FROM wp_mdb_forum_posts AS p LEFT JOIN wp_mdb_forum_posts AS q ON( q.Id = p.ParentId AND p.Id = q.AcceptedAnswerId ) WHERE p.PostTypeId = 2 AND p.ParentId = 105574 GROUP BY p.Id ORDER BY CASE WHEN q.Id IS NOT NULL THEN 1 ELSE 0 END DESC, p.UpvoteCount DESC, p.CreationDate ASC


Topic: custom_colors

Devinec premium asked 6 years ago

Trying to set custom colors in _custom-colors.scss which works in a sence. However when I try to use it for a tab it doesnt see it.if I use this

<mdb-tabs
  @activeTab="getActiveTabIndex"
  color="red"
  :active="0"
  tabs
  card
  :links="tabs" 
  >

The rendered code shows "tabs-red" and it works and displays red. However if I set a new custom color say "rednew" and adjust the mdb-tabs color

$rednew-lighten-5:  #ffebee !default;
$rednew-lighten-4:  #ffcdd2 !default;
$rednew-lighten-3:  #ef9a9a !default;
$rednew-lighten-2:  #e57373 !default;
$rednew-lighten-1:  #ef5350 !default;
$rednew-base:       #f44336 !default;
$rednew-darken-1:   #e53935 !default;
$rednew-darken-2:   #d32f2f !default;
$rednew-darken-3:   #c62828 !default;
$rednew-darken-4:   #b71c1c !default;
$rednew-accent-1:   #ff8a80 !default;
$rednew-accent-2:   #ff5252 !default;
$rednew-accent-3:   #ff1744 !default;
$rednew-accent-4:   #d50000 !default;

$mdb-colors-1: () !default;
$mdb-colors-1: map-merge(
  (
    "rednew": (
      "lighten-5":  $rednew-lighten-5,
      "lighten-4":  $rednew-lighten-4,
      "lighten-3":  $rednew-lighten-3,
      "lighten-2":  $rednew-lighten-2,
      "lighten-1":  $rednew-lighten-1,
      "base":       $rednew-base,
      "darken-1":   $rednew-darken-1,
      "darken-2":   $rednew-darken-2,
      "darken-3":   $rednew-darken-3,
      "darken-4":   $rednew-darken-4,
      "accent-1":   $rednew-accent-1,
      "accent-2":   $rednew-accent-2,
      "accent-3":   $rednew-accent-3,
      "accent-4":   $rednew-accent-4
    )
  ),
  $mdb-colors-1
);

the rendered code class will show "tabs-rednew" which doesnt exist.

If I change the name to tabs-rednew then it will show the new color. but I feel that I have just targeted my custom color to just tabs at that point.

Is there a way to create this custom color and have it used like the default set colors??


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 6.1.1
  • Device: desktop
  • Browser: All
  • OS: Any
  • Provided sample code: No
  • Provided link: No
Tags