gpt4 book ai didi

php - 如何更改xdebug输出的颜色?

转载 作者:行者123 更新时间:2023-12-03 08:42:06 24 4
gpt4 key购买 nike

几个小时后,xdebug的红色和黄色标准颜色会伤害您的眼睛。

http://www.designified.com/blog/article/76/restyling-xdebug-output描述了如何用需要jquery的javascript替换样式。

我一直在寻找一种更直接的方法,最终找到了一种方法。

最佳答案

解决方案是!important标记,它会覆盖现有样式值。使用xdebug时,使用以下css代码避免眼癌:

.xdebug-error {
font-size: 12px !important;
width: 95% !important;
margin: 0 auto 10px auto !important;
border-color: #666 !important;
background: #ddd !important;
}

.xdebug-error th, .xdebug-error td {
padding: 2px !important;
}

.xdebug-error th {
background: #ccc !important;
}

.xdebug-error span {
display: none !important;
}

.xdebug-error_description th {
font-size: 1.2em !important;
padding: 20px 4px 20px 100px !important;
background: #ccc no-repeat left top !important;
}

.xdebug-error_callStack th {
background: #666 !important;
color: #ddd !important;
}

关于php - 如何更改xdebug输出的颜色?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60936907/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com