ShadeFix Shuttle API

Quality of work improvements in Shuttle

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
//
// Written by Glenn Wiking
// Script Version: 1.1.1a
// Date of issue: 23/01/19
// Date of resolution: 23/01/19
//
// ==UserScript==
// @name        ShadeFix Shuttle API
// @namespace   SFSH
// @description Quality of work improvements in Shuttle
// @include     *.shuttle.be/admin*
// @require		http://code.jquery.com/jquery-3.3.1.min.js

// @version     1.1.1a
// ==/UserScript==

function ShadeFixSH(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
  	$(".shuttle-Tree-itemTarget .shuttle-Tree-title:contains('Detail')").css({"color":"#DDD"});
  	console.log("Loaded");
}

window.onload = function() {
  	console.log("G");
}
  


ShadeFixSH (
	'.shuttle-Panel-inner .TreeScroller {height: 32vh !important;}'
  +
  '.shuttle-Panel-inner .TreeScroller--inner {height: 31.8vh !important;}'
  +
  '.shuttle-Panel-inner tr[data-type="image"] td img {height: 52px !important; width: 52px !important; transform: scale(1.1); transition: all 90ms ease-in-out 0s;}'
  +
  '.shuttle-Panel-inner tr[data-type="image"] td img:hover {transform: scale(1.25); height: 64px; width: 64px; transition: all 90ms ease-in-out 0s;}'
  +
  '.shuttle-Panel-inner {padding: 14px !important;}'
  +
  '.shuttle-Panel--mainNav > .shuttle-Panel-inner {overflow-x: hidden;}'
  +
  '.ace_editor {font-size: 13.5px !important;}'
  +
  '.shuttle-Tree {position: relative; left: -12px;}'
  +
  '.shuttle-Tree-item--root > .shuttle-Tree-itemTarget {padding-left: 7px !important;}'
  +
  '.shuttle-widget-master-style .shuttle-widget-title {left: 0 !important; top: 62px !important; width: 100% !important; text-align: center; font-size: 12px; text-overflow: clip; overflow: visible;}'
  /*+
  '.shuttle-Panel--sub {width: 500px !important;}'*/
);