<commit_before><?xml version="1.0"?>
<!-- Simple example to demonstrate the pseudo selectors -->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:custom="*">
     <fx:Style>
        @namespace s "library://ns.adobe.com/flex/spark";
        @namespace mx "library://ns.adobe.com/flex/mx";
        s|Button:up {
            baseColor: #000000;
            color: #FFFFFF;
        }

        s|Button:over {
            baseColor: #484848;
            fontWeight: "bold";
            color: #FFFFFF;
        }

        s|Button:down {
            baseColor: #484848;
            fontWeight: "bold";
            color: #FFFF66;
        }

        mx|Box:normal {
			fontSize: 10;
		}

		mx|Box:zoomed {
			fontSize: 20;
			color: #330066;
		}

    </fx:Style>
    <fx:Script>
    	<![CDATA[
    	    private function changeCompState(): void
    	    {
    	        if(dateComp.currentState=='zoomed')
    	        {
    	            dateComp.currentState = 'normal';
    	        }
    	        else
    	        {
    	            dateComp.currentState = 'zoomed';
    	        }
    	    }
    	]]>
    </fx:Script>
    <s:Panel title="Advanced CSS: Pseudo Selector Example" height="75%" width="75%"
        horizontalCenter="0" verticalCenter="0">
        <s:Label text="The Spark Button below uses pseudo selectors to define its baseColor for each of its states."
        	x="10" y="10" />
        <s:Button id="submitButton" label="Submit Form" x="10" y="35"/>

        <s:Button label="change halo state" click="changeCompState()" x="10" y="65"/>
        <custom:DateStateComp id="dateComp" currentState="normal" x="140" y="35"/>

    </s:Panel>
</s:Application><commit_msg>Transferred from the Adobe Open Source Subversion Repository<commit_after><?xml version="1.0"?>
<!-- Simple example to demonstrate the pseudo selectors -->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:custom="*">
     <fx:Style>
        @namespace s "library://ns.adobe.com/flex/spark";
        @namespace mx "library://ns.adobe.com/flex/mx";
        s|Button:up {
            chromeColor: #000000;
            color: #FFFFFF;
        }

        s|Button:over {
            chromeColor: #484848;
            fontWeight: "bold";
            color: #FFFFFF;
        }

        s|Button:down {
            chromeColor: #484848;
            fontWeight: "bold";
            color: #FFFF66;
        }

        mx|Box:normal {
			fontSize: 10;
		}

		mx|Box:zoomed {
			fontSize: 20;
			color: #330066;
		}

    </fx:Style>
    <fx:Script>
    	<![CDATA[
    	    private function changeCompState(): void
    	    {
    	        if(dateComp.currentState=='zoomed')
    	        {
    	            dateComp.currentState = 'normal';
    	        }
    	        else
    	        {
    	            dateComp.currentState = 'zoomed';
    	        }
    	    }
    	]]>
    </fx:Script>
    <s:Panel title="Advanced CSS: Pseudo Selector Example" height="75%" width="75%"
        horizontalCenter="0" verticalCenter="0">
        <s:Label text="The Spark Button below uses pseudo selectors to define its chromeColor for each of its states."
        	x="10" y="10" />
        <s:Button id="submitButton" label="Submit Form" x="10" y="35"/>

        <s:Button label="change halo state" click="changeCompState()" x="10" y="65"/>
        <custom:DateStateComp id="dateComp" currentState="normal" x="140" y="35"/>

    </s:Panel>
</s:Application>
{'fraction_non_alphanumeric': 0.15167450871851648, 'fraction_numerical': 0.032659839468585666, 'mean_word_length': 2.0116666666666667, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 2, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3755210', 'n_tokens_mistral': 1283, 'n_tokens_neox': 1151, 'n_words': 228}