Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ Page Language="Nemerle" AutoEventWireup="true" CodeBehind="Default.aspx.n" Inherits="Manwe.Web.Test.Default" %>
- <%@ Register Namespace="Manwe.Web.UI.WebControls" Assembly="Manwe.Web" TagPrefix="manwe" %>
- <!DOCTYPE html>
- <html>
- <head runat="server">
- <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
- <title>Test Page</title>
- </head>
- <body>
- <form id="form1" runat="server">
- <asp:ScriptManager runat="server" />
- <div>
- <asp:UpdatePanel runat="server">
- <ContentTemplate>
- <manwe:StyleControl runat="server" Padding="10px" PseudoClass="hover" TargetControlID="foo"
- Width="200">
- </manwe:StyleControl>
- <manwe:StyleControl runat="server" PseudoClass="hover" TargetControlID="myButton">
- <BoxShadow XOffset="0" YOffset="0" BlurSize="12" Color="#21B4E2" />
- <BackgroundGradient StartLocation="Top">
- <StopPoints>
- <manwe:StopPoint Color="#E6EBED" Point="0%" />
- <manwe:StopPoint Color="#A1DBF0" Point="50%" />
- <manwe:StopPoint Color="#4FC1E3" Point="51%" />
- <manwe:StopPoint Color="#E6EBED" Point="100%" />
- </StopPoints>
- </BackgroundGradient>
- </manwe:StyleControl>
- <manwe:StyleControl runat="server" TargetControlID="myButton">
- <BackgroundGradient StartLocation="Top">
- <StopPoints>
- <manwe:StopPoint Color="#B7DEED" Point="0%" />
- <manwe:StopPoint Color="#71CEEF" Point="50%" />
- <manwe:StopPoint Color="#21B4E2" Point="51%" />
- <manwe:StopPoint Color="#B7DEED" Point="100%" />
- </StopPoints>
- </BackgroundGradient>
- </manwe:StyleControl>
- <manwe:Panel ID="myElement" IsModal="true" TitleText="Window1" SkinID="MySkin" runat="server">
- <Content>
- <asp:Label ID="Label1" runat="server">Some content</asp:Label>
- </Content>
- </manwe:Panel>
- <asp:Button runat="server" ID="foo" OnClick="Click" Text="Button" />
- <manwe:Button runat="server" BorderRadius="6" Display="InlineBlock" CssClass="button"
- ForeColor="White" Padding="7px 12px" Font-Bold="true" Font-Size="14px" Font-Names="sans-serif"
- Cursor="Pointer" BorderColor="#1883A3" BorderWidth="1px" BorderStyle="Solid" ID="myButton"
- OnClick="Click">
- <TextShadow XOffset="-1" YOffset="-1" Color="#000000" Opacity="0.3" />
- <Content>
- Click me
- </Content>
- </manwe:Button>
- </ContentTemplate>
- </asp:UpdatePanel>
- </div>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement