Joomla CMS  3.8.5 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.8.5 et du framework Joomla Platform intégré
Référence du fichier plugins/editors/codemirror/layouts/editors/codemirror/styles.php

Espaces de nommage

 Joomla\Plugin
 

Variables

 $params = $displayData->params
 
 $fontFamily = isset($displayData->fontFamily) ? $displayData->fontFamily : 'monospace'
 
 $fontSize = $params->get('fontSize', 13) . 'px;'
 
 $lineHeight = $params->get('lineHeight', 1.2) . 'em;'
 
 $color = $params->get('activeLineColor', '#a4c2eb')
 
 $r = hexdec($color{1} . $color{2})
 
 $g = hexdec($color{3} . $color{4})
 
 $b = hexdec($color{5} . $color{6})
 
 $activeLineColor = 'rgba(' . $r . ', ' . $g . ', ' . $b . ', .5)'
 
 $highlightMatchColor = 'rgba(' . $r . ', ' . $g . ', ' . $b . ', .5)'
 
JFactory::getDocument() -> addStyleDeclaration(<<< CSS .CodeMirror CodeMirror fullscreen
 
CodeMirror foldmarker
 
background __pad0__
 
background box shadow
 
background box font family
 
font size
 
border radius
 
padding __pad1__
 
vertical align
 
color __pad2__
 
CodeMirror foldgutter
 
CodeMirror CodeMirror markergutter { width: 1.2em
 
CodeMirror markergutter mark { cursor: pointer
 
CodeMirror activeline background { background: $activeLineColor
 
CodeMirror matchingtag { background: $highlightMatchColor
 
cm matchhighlight {background-color: $highlightMatchColor
 
CodeMirror selection highlight scrollbar {background-color: $highlightMatchColor
 
 CSS
 

Documentation des variables

◆ $activeLineColor

$activeLineColor = 'rgba(' . $r . ', ' . $g . ', ' . $b . ', .5)'

◆ $b

$b = hexdec($color{5} . $color{6})

Référencé par InstallationFormFieldLanguage\_sortLanguages(), JArrayHelper\_sortObjects(), FOFUtilsArray\_sortObjects(), ParagonIE_Sodium_Core_SipHash\add(), AKEncryptionAES\AESDecryptCtr(), AKEncryptionAES\AESEncryptCtr(), ParagonIE_Sodium_Core_Util\bin2hex(), ParagonIE_Sodium_Core_Curve25519\cmov(), ParagonIE_Sodium_Core32_Curve25519\cmov(), colorIsLight(), ParagonIE_Sodium_Core32_Int32\compareInt(), ParagonIE_Sodium_Core32_Int64\compareInt(), lessc\compileValue(), FOFLess\compileValue(), ParagonIE_Sodium_Core_X25519\crypto_scalarmult_curve25519_ref10(), ParagonIE_Sodium_Core32_X25519\crypto_scalarmult_curve25519_ref10(), ParagonIE_Sodium_Core_Curve25519\equal(), ParagonIE_Sodium_Core32_Curve25519\equal(), ParagonIE_Sodium_Core_Curve25519\fe_cmov(), ParagonIE_Sodium_Core32_Curve25519\fe_cmov(), ParagonIE_Sodium_Core_X25519\fe_cswap(), ParagonIE_Sodium_Core32_X25519\fe_cswap(), ParagonIE_Sodium_Core32_BLAKE2b\G(), ParagonIE_Sodium_Core_BLAKE2b\G(), ParagonIE_Sodium_Core_Curve25519\ge_select(), ParagonIE_Sodium_Core32_Curve25519\ge_select(), ModLoginHelper\getLanguageList(), InstallerModelLanguages\getLanguages(), JFormFieldAliastag\getOptions(), JFormFieldLanguage\getOptions(), JFormFieldType\getOptions(), FOFFormFieldComponents\getOptions(), ParagonIE_Sodium_Core32_Int64\isGreaterThan(), ParagonIE_Sodium_Core32_Int32\isGreaterThan(), ParagonIE_Sodium_Core32_Int64\isLessThanInt(), ParagonIE_Sodium_Core32_Int32\isLessThanInt(), lessc\lib_mod(), lessc\makeOutputBlock(), FOFLess\makeOutputBlock(), ParagonIE_Sodium_Core32_Int64\mask64(), AKEncryptionAES\MixColumns(), ParagonIE_Sodium_Core32_Int32\mulInt32(), ParagonIE_Sodium_Core32_Int64\mulInt64(), ntlm_sasl_client_class\NTLMResponse(), ParagonIE_Sodium_Core32_Int32\orInt32(), ParagonIE_Sodium_Core32_Int64\orInt64(), McryptCipher\pbkdf2(), FOFLessParser\pushBlock(), lessc_parser\pushBlock(), ParagonIE_Sodium_Core_ChaCha20\quarterRound(), ParagonIE_Sodium_Core32_SipHash\sipHash24(), ParagonIE_Sodium_Core_SipHash\sipHash24(), ParagonIE_Sodium_Core_Curve25519\slide(), ParagonIE_Sodium_Core32_Curve25519\slide(), SimplePie\sort_items(), ArrayHelper\sortObjects(), ParagonIE_Sodium_Core32_Int32\subInt32(), ParagonIE_Sodium_Core32_Int64\subInt64(), lessc\toHSL(), FOFLess\toHSL(), lessc\toRGB(), FOFLess\toRGB(), AKEncryptionAES\urs(), ParagonIE_Sodium_Core_Util\verify_16(), ParagonIE_Sodium_Core_Util\verify_32(), ParagonIE_Sodium_Core32_Int32\xorInt32(), ParagonIE_Sodium_Core32_Int64\xorInt64(), et ParagonIE_Sodium_Core_Util\xorStrings().

◆ $color

◆ $fontFamily

$fontFamily = isset($displayData->fontFamily) ? $displayData->fontFamily : 'monospace'

◆ $fontSize

$fontSize = $params->get('fontSize', 13) . 'px;'

◆ $g

◆ $highlightMatchColor

$highlightMatchColor = 'rgba(' . $r . ', ' . $g . ', ' . $b . ', .5)'

◆ $lineHeight

$lineHeight = $params->get('lineHeight', 1.2) . 'em;'

◆ $params

$params = $displayData->params

◆ $r

$r = hexdec($color{1} . $color{2})

Référencé par AdminController\__construct(), ConfigModelCms\__construct(), FormController\__construct(), BaseDatabaseModel\__construct(), BaseController\__construct(), FOFController\__construct(), AKEncryptionAES\AddRoundKey(), InstallationModelSetup\checkForm(), colorIsLight(), lessc\compileValue(), FOFLess\compileValue(), ParagonIE_Sodium_Core32_BLAKE2b\compress(), ParagonIE_Sodium_Core_BLAKE2b\compress(), RouterView\detachRule(), InstallationControllerSummary\execute(), InstallationControllerInstallSample\execute(), InstallationControllerSetlanguage\execute(), InstallationControllerSite\execute(), InstallationControllerDatabase\execute(), InstallationControllerInstallDatabase\execute(), InstallationControllerVerifyftpsettings\execute(), InstallationControllerInstallDatabase_backup\execute(), InstallationControllerDetectftproot\execute(), InstallationControllerFtp\execute(), InstallationControllerInstallConfig\execute(), InstallationControllerPreinstall\execute(), InstallationControllerRemovefolder\execute(), InstallationControllerSetdefaultlanguage\execute(), InstallationControllerInstallEmail\execute(), InstallationControllerInstallLanguages\execute(), FOFView\findRenderer(), ParagonIE_Sodium_Core32_BLAKE2b\G(), ParagonIE_Sodium_Core_BLAKE2b\G(), ParagonIE_Sodium_Core_Curve25519\ge_add(), ParagonIE_Sodium_Core32_Curve25519\ge_add(), ParagonIE_Sodium_Core_Curve25519\ge_madd(), ParagonIE_Sodium_Core32_Curve25519\ge_madd(), ParagonIE_Sodium_Core_Curve25519\ge_msub(), ParagonIE_Sodium_Core32_Curve25519\ge_msub(), ParagonIE_Sodium_Core_Curve25519\ge_p1p1_to_p2(), ParagonIE_Sodium_Core32_Curve25519\ge_p1p1_to_p2(), ParagonIE_Sodium_Core_Curve25519\ge_p1p1_to_p3(), ParagonIE_Sodium_Core32_Curve25519\ge_p1p1_to_p3(), ParagonIE_Sodium_Core_Curve25519\ge_p2_dbl(), ParagonIE_Sodium_Core32_Curve25519\ge_p2_dbl(), ParagonIE_Sodium_Core_Curve25519\ge_p3_to_cached(), ParagonIE_Sodium_Core32_Curve25519\ge_p3_to_cached(), ParagonIE_Sodium_Core_Curve25519\ge_scalarmult_base(), ParagonIE_Sodium_Core32_Curve25519\ge_scalarmult_base(), ParagonIE_Sodium_Core_Curve25519\ge_sub(), ParagonIE_Sodium_Core32_Curve25519\ge_sub(), ConfigModelCms\getName(), RouterView\getName(), BaseDatabaseModel\getName(), BaseController\getName(), FOFController\getName(), FOFModel\getName(), FOFLayoutFile\getPath(), AKEncryptionAES\KeyExpansion(), easyparse\match(), FOFLessParser\match(), lessc_parser\match(), AdminModelSysInfo\parsePhpInfo(), FOFLessParser\peek(), lessc_parser\peek(), JLinkedinCommunications\sendMessage(), AKEncryptionAES\ShiftRows(), ParagonIE_Sodium_Core_Curve25519\slide(), ParagonIE_Sodium_Core32_Curve25519\slide(), AKEncryptionAES\SubBytes(), lessc\toHSL(), FOFLess\toHSL(), lessc\toRGB(), et FOFLess\toRGB().

◆ __pad0__

background __pad0__

◆ __pad1__

padding __pad1__

◆ __pad2__

color __pad2__

◆ align

text align

◆ background

CodeMirror activeline background { background: $activeLineColor

◆ CSS

CSS

◆ family

background box font family

◆ foldgutter

CodeMirror foldgutter

◆ foldmarker

CodeMirror foldmarker
Valeur initiale :
{
background: rgb(255, 128, 0)
CodeMirror activeline background
Definition: plugins/editors/codemirror/layouts/editors/codemirror/styles.php:64

◆ fullscreen

JFactory::getDocument () -> addStyleDeclaration(<<< CSS .CodeMirror CodeMirror fullscreen
Valeur initiale :
{
z-index: 1040

◆ mark

CodeMirror markergutter mark { cursor: pointer

◆ markergutter

CodeMirror markergutter { width: 1.2em

◆ matchhighlight

cm matchhighlight {background-color: $highlightMatchColor

◆ matchingtag

CodeMirror matchingtag { background: $highlightMatchColor

◆ radius

border radius

◆ scrollbar

CodeMirror selection highlight scrollbar {background-color: $highlightMatchColor

◆ shadow

text shadow

◆ size