123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- /* THIS FILE IS FROM GRAPHVIEW BUT CONTAINS MODIFICATIONS */
- ShaderPort {
- height: 24px;
- align-items: center;
- padding-left: 4px;
- padding-right: 4px;
- --port-color: rgb(200, 200, 200);
- --disabled-port-color: rgb(70, 70, 70);
- }
- ShaderPort.input {
- flex-direction: row;
- }
- ShaderPort.output {
- flex-direction: row-reverse;
- }
- ShaderPort > #connector {
- border-color: rgb(70, 70, 70);
- background-color: #212121;
- width: 8px;
- height: 8px;
- border-radius: 8px;
- align-items: center;
- justify-content: center;
- margin-left: 4px;
- margin-right: 4px;
- border-left-width: 1px;
- border-top-width: 1px;
- border-right-width: 1px;
- border-bottom-width: 1px;
- }
- ShaderPort > #connector:hover {
- border-color: #f0f0f0
- }
- ShaderPort > #connector > #cap
- {
- background-color: #212121;
- width: 4px;
- height: 4px;
- border-radius: 4px;
- }
- ShaderPort > #connector > #cap:hover
- {
- background-color: #f0f0f0;
- }
- ShaderPort > #connector.portHighlight {
- border-color: #f0f0f0;
- }
- ShaderPort > #type {
- color: #c1c1c1;
- font-size: 11px;
- height: 16px;
- padding-left: 0;
- padding-right: 0;
- margin-left: 4px;
- margin-right: 4px;
- margin-top: 4px;
- }
- ShaderPort.input > #type {
- -unity-text-align: middle-left;
- }
- ShaderPort.output > #type {
- -unity-text-align:middle-right;
- }
- /*******************************/
- /* ShaderPorts colors by types */
- /*******************************/
- ShaderPort.typeTexture {
- --port-color:#FF8B8B;
- }
- ShaderPort.typeTexture2D {
- /* Same as typeTexture */
- --port-color:#FF8B8B;
- }
- ShaderPort.typeTexture2DArray {
- /* Same as typeTexture */
- --port-color:#FF8B8B;
- }
- ShaderPort.typeTexture3D {
- /* Same as typeTexture */
- --port-color:#FF8B8B;
- }
- ShaderPort.typeCubemap {
- /* Same as typeTexture */
- --port-color:#FF8B8B;
- }
- ShaderPort.typeGraphScript {
- /* Todo: there is no such type in Unity atm */
- --port-color:#E681BA;
- }
- ShaderPort.typeFloat4 {
- --port-color:#FBCBF4;
- }
- ShaderPort.typeVector4 {
- /* Same as typeFloat4 */
- --port-color:#FBCBF4;
- }
- ShaderPort.typeQuaternion {
- /* Same as typeFloat4 */
- --port-color:#FBCBF4;
- }
- ShaderPort.typeColor {
- /* Same as typeFloat4 */
- --port-color:#FBCBF4;
- }
- ShaderPort.typeInt {
- --port-color:#9481E6;
- }
- ShaderPort.typeInt32 {
- /* Same as typeInt */
- --port-color:#9481E6;
- }
- /* TEMP STUFF THAT SHOULD ACTUALLY STAY IN GRAPHVIEW */
- ShaderPort.typeInt64 {
- /* Same as typeInt */
- /* todo we might want to differentiate that from int32 */
- --port-color:#9481E6;
- }
- ShaderPort.typeBoolean {
- --port-color:#9481E6;
- }
- ShaderPort.typeMatrix {
- --port-color:#8FC1DF;
- }
- ShaderPort.typeMatrix4x4 {
- /* Same as typeMatrix */
- --port-color:#8FC1DF;
- }
- ShaderPort.typeGameObject {
- --port-color:#8FC1DF;
- }
- ShaderPort.typeFloat {
- --port-color:#84E4E7;
- }
- ShaderPort.typeFloat1 {
- /* Same as typeFloat */
- --port-color:#84E4E7;
- }
- ShaderPort.typeSingle {
- /* Same as typeFloat */
- --port-color:#84E4E7;
- }
- ShaderPort.typeDouble {
- /* Same as typeFloat */
- /* todo we might want to differentiate that from float */
- --port-color:#84E4E7;
- }
- ShaderPort.typeFloat2 {
- --port-color:#9AEF92;
- }
- ShaderPort.typeVector2 {
- /* Same as typeFloat2 */
- --port-color:#9AEF92;
- }
- ShaderPort.typeComponent {
- --port-color:#C9F774;
- }
- ShaderPort.typeFloat3 {
- --port-color:#F6FF9A;
- }
- ShaderPort.typeVector3 {
- /* Same as typeFloat3 */
- --port-color:#F6FF9A;
- }
- ShaderPort.typeString {
- --port-color:#FCD76E;
- }
|