Make my website good again
BIN
.DS_Store
vendored
3
.gitignore
vendored
|
|
@ -1,2 +1 @@
|
|||
.gitignore
|
||||
node_modules
|
||||
**/.DS_Store
|
||||
8
.idea/modules.xml
generated
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/oitsjustjose.github.io.iml" filepath="$PROJECT_DIR$/.idea/oitsjustjose.github.io.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
12
.idea/oitsjustjose.github.io.iml
generated
|
|
@ -1,12 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="WEB_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
6
.idea/vcs.xml
generated
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
238
.idea/workspace.xml
generated
|
|
@ -1,238 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="bb33df43-b620-48b6-ba3b-88fec48f4fab" name="Default" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/Education/index.html" afterPath="$PROJECT_DIR$/Education/index.html" />
|
||||
<change beforePath="$PROJECT_DIR$/Programming/index.html" afterPath="$PROJECT_DIR$/Programming/index.html" />
|
||||
<change beforePath="$PROJECT_DIR$/index.html" afterPath="$PROJECT_DIR$/index.html" />
|
||||
</list>
|
||||
<ignored path="$PROJECT_DIR$/.tmp/" />
|
||||
<ignored path="$PROJECT_DIR$/temp/" />
|
||||
<ignored path="$PROJECT_DIR$/tmp/" />
|
||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||
<option name="TRACKING_ENABLED" value="true" />
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||
</component>
|
||||
<component name="FileEditorManager">
|
||||
<leaf>
|
||||
<file leaf-file-name="index.html" pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/Education/index.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="598">
|
||||
<caret line="91" column="61" lean-forward="true" selection-start-line="91" selection-start-column="0" selection-end-line="92" selection-end-column="0" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="index.html" pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/Programming/index.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="621">
|
||||
<caret line="233" column="0" lean-forward="false" selection-start-line="233" selection-start-column="0" selection-end-line="233" selection-end-column="0" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="index.html" pinned="false" current-in-tab="true">
|
||||
<entry file="file://$PROJECT_DIR$/index.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="621">
|
||||
<caret line="56" column="0" lean-forward="false" selection-start-line="56" selection-start-column="0" selection-end-line="56" selection-end-column="0" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="about.js" pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/about.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="161">
|
||||
<caret line="7" column="35" lean-forward="true" selection-start-line="7" selection-start-column="35" selection-end-line="7" selection-end-column="35" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
</leaf>
|
||||
</component>
|
||||
<component name="Git.Settings">
|
||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||
</component>
|
||||
<component name="IdeDocumentHistory">
|
||||
<option name="CHANGED_PATHS">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/about.js" />
|
||||
<option value="$PROJECT_DIR$/Education/index.html" />
|
||||
<option value="$PROJECT_DIR$/Programming/index.html" />
|
||||
<option value="$PROJECT_DIR$/index.html" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
|
||||
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
|
||||
<component name="JsGulpfileManager">
|
||||
<detection-done>true</detection-done>
|
||||
<sorting>DEFINITION_ORDER</sorting>
|
||||
</component>
|
||||
<component name="ProjectFrameBounds" extendedState="6" fullScreen="true">
|
||||
<option name="width" value="1680" />
|
||||
<option name="height" value="1050" />
|
||||
</component>
|
||||
<component name="ProjectView">
|
||||
<navigator currentView="ProjectPane" proportions="" version="1">
|
||||
<flattenPackages />
|
||||
<showMembers />
|
||||
<showModules />
|
||||
<showLibraryContents />
|
||||
<hideEmptyPackages />
|
||||
<abbreviatePackageNames />
|
||||
<autoscrollToSource />
|
||||
<autoscrollFromSource />
|
||||
<sortByType />
|
||||
<manualOrder />
|
||||
<foldersAlwaysOnTop value="true" />
|
||||
</navigator>
|
||||
<panes>
|
||||
<pane id="Scope" />
|
||||
<pane id="ProjectPane">
|
||||
<subPane>
|
||||
<expand>
|
||||
<path>
|
||||
<item name="oitsjustjose.github.io" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="oitsjustjose.github.io" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="oitsjustjose.github.io" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="oitsjustjose.github.io" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="Education" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="oitsjustjose.github.io" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="oitsjustjose.github.io" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="Programming" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
</expand>
|
||||
<select />
|
||||
</subPane>
|
||||
</pane>
|
||||
<pane id="Scratches" />
|
||||
</panes>
|
||||
</component>
|
||||
<component name="PropertiesComponent">
|
||||
<property name="settings.editor.selected.configurable" value="preferences.keymap" />
|
||||
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
|
||||
<property name="WebServerToolWindowFactoryState" value="false" />
|
||||
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
||||
<property name="HbShouldOpenHtmlAsHb" value="" />
|
||||
</component>
|
||||
<component name="RecentsManager">
|
||||
<key name="MoveFile.RECENT_KEYS">
|
||||
<recent name="$PROJECT_DIR$/Programming" />
|
||||
<recent name="$PROJECT_DIR$/Education" />
|
||||
</key>
|
||||
</component>
|
||||
<component name="RunDashboard">
|
||||
<option name="ruleStates">
|
||||
<list>
|
||||
<RuleState>
|
||||
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
|
||||
</RuleState>
|
||||
<RuleState>
|
||||
<option name="name" value="StatusDashboardGroupingRule" />
|
||||
</RuleState>
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ShelveChangesManager" show_recycled="false">
|
||||
<option name="remove_strategy" value="false" />
|
||||
</component>
|
||||
<component name="SvnConfiguration">
|
||||
<configuration />
|
||||
</component>
|
||||
<component name="TaskManager">
|
||||
<task active="true" id="Default" summary="Default task">
|
||||
<changelist id="bb33df43-b620-48b6-ba3b-88fec48f4fab" name="Default" comment="" />
|
||||
<created>1522150691652</created>
|
||||
<option name="number" value="Default" />
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1522150691652</updated>
|
||||
<workItem from="1522150692777" duration="1856000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TimeTrackingManager">
|
||||
<option name="totallyTimeSpent" value="1856000" />
|
||||
</component>
|
||||
<component name="ToolWindowManager">
|
||||
<frame x="0" y="0" width="1680" height="1050" extended-state="0" />
|
||||
<editor active="true" />
|
||||
<layout>
|
||||
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
||||
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Docker" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
||||
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
||||
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
||||
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
</layout>
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
<option name="version" value="1" />
|
||||
</component>
|
||||
<component name="VcsContentAnnotationSettings">
|
||||
<option name="myLimit" value="2678400000" />
|
||||
</component>
|
||||
<component name="XDebuggerManager">
|
||||
<breakpoint-manager />
|
||||
<watches-manager />
|
||||
</component>
|
||||
<component name="editorHistoryManager">
|
||||
<entry file="file://$PROJECT_DIR$/about.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="161">
|
||||
<caret line="7" column="35" lean-forward="true" selection-start-line="7" selection-start-column="35" selection-end-line="7" selection-end-column="35" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/Education/index.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="598">
|
||||
<caret line="91" column="61" lean-forward="true" selection-start-line="91" selection-start-column="0" selection-end-line="92" selection-end-column="0" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/Programming/index.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="621">
|
||||
<caret line="233" column="0" lean-forward="false" selection-start-line="233" selection-start-column="0" selection-end-line="233" selection-end-column="0" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/index.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="621">
|
||||
<caret line="56" column="0" lean-forward="false" selection-start-line="56" selection-start-column="0" selection-end-line="56" selection-end-column="0" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</component>
|
||||
</project>
|
||||
3
.jshintrc
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"esversion": 9
|
||||
}
|
||||
|
|
@ -7,106 +7,93 @@
|
|||
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<link rel="icon" href="../img/favicon.ico">
|
||||
<link rel="icon" href="../Resources/img/favicon.ico">
|
||||
<title>oitsjustjose: Dev Diary</title>
|
||||
<link rel="stylesheet" type="text/css" href="../semantic/out/semantic.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../Resources/semantic/out/semantic.css">
|
||||
<link rel="stylesheet" type="text/css" href="../about.css">
|
||||
<script src="https://code.jquery.com/jquery-3.1.1.min.js"
|
||||
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
|
||||
<script src="../semantic/out/semantic.min.js"></script>
|
||||
<script src="../about.js"></script>
|
||||
<script src="../Resources/semantic/out/semantic.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--This is all stuff for the menubar-->
|
||||
<div class="ui blue fixed inverted menu">
|
||||
<div class="ui inverted small menu">
|
||||
<div class="ui container">
|
||||
<a href="../" class="item"><img class="logo" src="../img/logo.png">General Info</a>
|
||||
<a href="./" class="header item">Education</a>
|
||||
<a href="../" class="item"><img class="logo" src="../Resources/img/logo.png">General Info</a>
|
||||
<a href="../Education" class="active olive item">Education</a>
|
||||
<a href="../Programming" class="item">Programming</a>
|
||||
<a href="https://github.com/oitsjustjose/" target="_blank" class="item"><i
|
||||
class="github alternate icon"></i>
|
||||
GitHub</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--Actual Site Contents, dependent on the page!-->
|
||||
<div class="ui two column stackable grid">
|
||||
<div class="ui main container">
|
||||
<h1 class="ui header">Education</h1>
|
||||
<div class="ui divider"></div>
|
||||
<div class="ui three column grid">
|
||||
<div class="column">
|
||||
<h4 class="ui top attached inverted header">University of Tennessee at Chattanooga</h4>
|
||||
<div class="ui bottom attached segment">
|
||||
<ul>
|
||||
<li>Studying for MS in <b>Data Science</b></li>
|
||||
<li><b>GPA</b>: 4.0</li>
|
||||
<li>Graduating May 2020</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column">
|
||||
<h4 class="ui top attached block header">University of Tennessee at Chattanooga <i
|
||||
class="checkmark icon"></i></h4>
|
||||
<div class="ui bottom attached segment">
|
||||
<ul>
|
||||
<li>Graduated with BS in <b>Computer Science</b></li>
|
||||
<li>Focus in <b>Software Systems</b></li>
|
||||
<li><b>Departmental GPA</b>: 3.825</li>
|
||||
<li><b>Overall GPA</b>: 3.559</li>
|
||||
<li>Graduated Cum Laude May 2018</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column">
|
||||
<h4 class="ui top attached header">Middle Tennessee State University <i
|
||||
class="checkmark icon"></i></h4>
|
||||
<div class="ui bottom attached segment">
|
||||
<ul>
|
||||
<li>Began as Digital Animation Major in 2011</li>
|
||||
<li>Switched to Computer Science Major in 2012</li>
|
||||
<li>Transferred to UT Chattanooga in 2015</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="column">
|
||||
<h4 class="ui top attached header">LaVergne High School <i class="checkmark icon"></i></h4>
|
||||
<div class="ui bottom attached segment">
|
||||
<div class="ui text container">
|
||||
<h1 class="ui header">Education</h1>
|
||||
<div class="ui divider"></div>
|
||||
<div class="ui three column stackable grid">
|
||||
<div class="column">
|
||||
<h4 class="ui top attached inverted header">
|
||||
University of Tennessee at Chattanooga
|
||||
</h4>
|
||||
<div class="ui bottom attached inverted segment">
|
||||
<ul>
|
||||
<li>Graduated in May 2011 with Honors</li>
|
||||
<li>Graduated on accelerated learning course (2 years early)</li>
|
||||
<li>Focus in Computer Hardware and Networking</li>
|
||||
<br>
|
||||
<li>Studying for MS in <b>Data Science</b></li>
|
||||
<li><b>GPA</b>: 4.0</li>
|
||||
<li><b>Current GPA:</b> 3.83</li>
|
||||
<li>Graduating May 2020</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column">
|
||||
<h4 class="ui top attached inverted header">
|
||||
University of Tennessee at Chattanooga <i class="olive checkmark icon"></i>
|
||||
</h4>
|
||||
<div class="ui bottom attached inverted segment">
|
||||
<ul>
|
||||
<li>Graduated with BS in <b>Computer Science</b></li>
|
||||
<li>Focus in <b>Software Systems</b></li>
|
||||
<li><b>Departmental GPA</b>: 3.825</li>
|
||||
<li><b>Overall GPA</b>: 3.559</li>
|
||||
<li>Graduated Cum Laude May 2018</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column">
|
||||
<h4 class="ui top attached inverted header">
|
||||
Middle Tennessee State University <i class="olive checkmark icon"></i>
|
||||
</h4>
|
||||
<div class="ui bottom attached inverted segment">
|
||||
<ul>
|
||||
<li>Began as Digital Animation Major in 2011</li>
|
||||
<li>Switched to Computer Science Major in 2012</li>
|
||||
<li>Transferred to UT Chattanooga in 2015</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
<h2 class="header">Why I chose UTC:</h2>
|
||||
<h4 class="header">UT Chattanooga has a much more modern and dynamically changing Computer Science
|
||||
curriculum
|
||||
compared to MTSU. MTSU's Computer Science program is not subdivided into specialties as they are at UTC,
|
||||
and
|
||||
the perspectives of programming are much more primitive and on a machine level. Additionally, while C++
|
||||
is a
|
||||
popular and symantically relatable programming language, it is incomparable to Java's system
|
||||
compatibility -
|
||||
even if the JVM is considered "indefficient".<br><br>Additionally, this university has offered so many
|
||||
opportunities beyond the scope of day-to-day class that I would never have had at MTSU. Working with Dr.
|
||||
Mina Sartipi's research team has been the greatest proof of the opportunities lurking at UTC.</h4>
|
||||
</div>
|
||||
<h2 class="header">Why I chose UTC:</h2>
|
||||
<h4 class="header">UT Chattanooga has a much more modern and dynamically changing Computer Science
|
||||
curriculum
|
||||
compared to MTSU. MTSU's Computer Science program is not subdivided into specialties as they are at UTC,
|
||||
and
|
||||
the perspectives of programming are much more primitive and on a machine level. Additionally, while C++
|
||||
is a
|
||||
popular and symantically relatable programming language, it is incomparable to Java's system
|
||||
compatibility -
|
||||
even if the JVM is considered "indefficient".<br><br>Additionally, this university has offered so many
|
||||
opportunities beyond the scope of day-to-day class that I would never have had at MTSU. Working with Dr.
|
||||
Mina Sartipi's research team has been the greatest proof of the opportunities lurking at UTC.</h4>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<div class="ui inverted vertical segment">
|
||||
<div class="ui center aligned container">
|
||||
<div class="ui horizontal inverted small divided link list">
|
||||
<a class="item" href="mailto:stovallj1995@gmail.com"><i class="mail icon"></i> Contact</a>
|
||||
<a class="item" href="http://github.com/oitsjustjose/oitsjustjose.github.io"><i
|
||||
class="code icon"></i> Site Source</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui bottom fixed tiny inverted menu" >
|
||||
<div class="ui container" >
|
||||
<a class="item" href="mailto:stovallj1995@gmail.com">
|
||||
<i class="olive mail icon"></i> Contact
|
||||
</a>
|
||||
<a class="right item" href="https://github.com/oitsjustjose">
|
||||
<i class="olive github icon"></i> My GitHub
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -7,43 +7,50 @@
|
|||
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<link rel="icon" href="../img/favicon.ico">
|
||||
<link rel="icon" href="../Resources/img/favicon.ico">
|
||||
<title>oitsjustjose: Dev Diary</title>
|
||||
<link rel="stylesheet" type="text/css" href="../semantic/out/semantic.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../Resources/semantic/out/semantic.css">
|
||||
<link rel="stylesheet" type="text/css" href="../about.css">
|
||||
<script src="https://code.jquery.com/jquery-3.1.1.min.js"
|
||||
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
|
||||
<script src="../semantic/out/semantic.min.js"></script>
|
||||
<script src="../about.js"></script>
|
||||
<script src="../Resources/semantic/out/semantic.js"></script>
|
||||
<script src="./index.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body onload="init()">
|
||||
<!--This is all stuff for the menubar-->
|
||||
<div class="ui blue fixed inverted menu">
|
||||
<div class="ui inverted small menu">
|
||||
<div class="ui container">
|
||||
<a href="../" class="item"><img class="logo" src="../img/logo.png">General Info</a>
|
||||
<a href="../" class="item"><img class="logo" src="../Resources/img/logo.png">General Info</a>
|
||||
<a href="../Education" class="item">Education</a>
|
||||
<a href="./" class="header item">Programming</a>
|
||||
<a href="https://github.com/oitsjustjose/" target="_blank" class="item"><i
|
||||
class="github alternate icon"></i>
|
||||
GitHub</a>
|
||||
<a href="../Programming" class="active olive item">Programming</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--Actual Site Contents, dependent on the page!-->
|
||||
|
||||
<div class="ui two column stackable grid">
|
||||
<div class="ui main container">
|
||||
<h1>Programming Experience</h1>
|
||||
<h3>These are only the highlights, check out <a href="https://github.com/oitsjustjose" target="_blank">my
|
||||
GitHub</a> for more.</h3>
|
||||
|
||||
|
||||
<div class="ui cards">
|
||||
<!-- USIgnite 2019 -->
|
||||
<a class="ui card cuip-2019">
|
||||
<div class="ui container">
|
||||
<h1 class="ui centered header">Programming Experience</h1>
|
||||
<h3 class="ui centered header">These are only the highlights, check out <a
|
||||
href="https://github.com/oitsjustjose" target="_blank">my
|
||||
GitHub</a> for more.</h3>
|
||||
<div class="ui two column stackable grid" style="margin-bottom: 10vh;">
|
||||
<div class="ui centered cards">
|
||||
<a class="ui inverted card cscdc">
|
||||
<div class="image">
|
||||
<img src="../img/infrastructure.png">
|
||||
<img src="../Resources/img/cscdc.png">
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="header">2nd Annual Deep Learning Conference</div>
|
||||
<span class="meta">Discussing Smart Cities with Google, Nvidia and more</span>
|
||||
<div class="description"></div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
|
||||
<!-- USIgnite 2019 -->
|
||||
<a class="ui inverted card cuip-2019">
|
||||
<div class="image">
|
||||
<img src="../Resources/img/infrastructure.png">
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="header">UTC CUIP Smart Corridor</div>
|
||||
|
|
@ -54,9 +61,9 @@
|
|||
</a>
|
||||
|
||||
<!-- USIgnite 2018 -->
|
||||
<a class="ui card sccc-2018">
|
||||
<a class="ui inverted card sccc-2018">
|
||||
<div class="image">
|
||||
<img src="../img/aio.png">
|
||||
<img src="../Resources/img/aio.png">
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="header">USIgnite SCCC 2018</div>
|
||||
|
|
@ -66,9 +73,9 @@
|
|||
</a>
|
||||
|
||||
<!-- USIgnite 2017 -->
|
||||
<a class="ui card sccc-2017">
|
||||
<a class="ui inverted card sccc-2017">
|
||||
<div class="image">
|
||||
<img src="../img/see-through.png">
|
||||
<img src="../Resources/img/see-through.png">
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="header">USIgnite SCCC 2017</div>
|
||||
|
|
@ -78,9 +85,9 @@
|
|||
</a>
|
||||
|
||||
<!--create-a-thon-->
|
||||
<a class="ui card create-a-thon">
|
||||
<a class="ui inverted card create-a-thon">
|
||||
<div class="image">
|
||||
<img src="../img/create-a-thon.jpg">
|
||||
<img src="../Resources/img/create-a-thon.jpg">
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="header">Create-A-Thon</div>
|
||||
|
|
@ -90,9 +97,9 @@
|
|||
</a>
|
||||
|
||||
<!--fantastic_five-->
|
||||
<a class="ui card fantastic_five">
|
||||
<a class="ui inverted card fantastic_five">
|
||||
<div class="image">
|
||||
<img src="../img/fantastic_five.png">
|
||||
<img src="../Resources/img/fantastic_five.png">
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="header">Software Design Project</div>
|
||||
|
|
@ -102,9 +109,9 @@
|
|||
</a>
|
||||
|
||||
<!--nissan-->
|
||||
<a class="ui card nissan">
|
||||
<a class="ui inverted card nissan">
|
||||
<div class="image">
|
||||
<img src="../img/nissan.png">
|
||||
<img src="../Resources/img/nissan.png">
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="header">Nissan of Murfreesboro</div>
|
||||
|
|
@ -114,20 +121,20 @@
|
|||
</a>
|
||||
|
||||
<!--modding-->
|
||||
<!-- <a class="ui card modding">
|
||||
<a class="ui inverted card modding">
|
||||
<div class="image">
|
||||
<img src="../img/modding.png">
|
||||
<img src="../Resources/img/modding.png">
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="header">Mod Development</div>
|
||||
<span class="meta">Further than where I started!</span>
|
||||
<div class="description"></div>
|
||||
</div>
|
||||
</a> -->
|
||||
</a>
|
||||
|
||||
<!--Modals for each module!-->
|
||||
<div class="ui modal cuip-2019">
|
||||
<i class="close icon"></i>
|
||||
<!--inverted modals for each module!-->
|
||||
<div class="ui inverted modal cuip-2019">
|
||||
<i class="olive close icon"></i>
|
||||
<div class="header">2019 USIgnite Conference</div>
|
||||
<div class="content">
|
||||
In 2018, Dr. Mina Sartipi at The University of Tennessee at Chattanooga started a research group
|
||||
|
|
@ -146,7 +153,7 @@
|
|||
Below is a graphic which has been generated using OpenCV2 and the data gathered from the
|
||||
application I have created. WIth it, it is easy to see many trends. <br>
|
||||
|
||||
<img class="ui rounded image" src="../img/by_type.png">
|
||||
<img class="ui rounded image" src="../Resources/img/by_type.png">
|
||||
|
||||
<br>
|
||||
|
||||
|
|
@ -154,20 +161,17 @@
|
|||
|
||||
<br>
|
||||
|
||||
<div class="ui embed" data-url="https://video-feeds.utccuip.com/mlk-peeples-cam-3/">
|
||||
<div class="ui embed cuip-2019" data-url="https://video-feeds.utccuip.com/mlk-houston-cam-1">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ui modal sccc-2018">
|
||||
<i class="close icon"></i>
|
||||
<div class="ui inverted modal sccc-2018">
|
||||
<i class="olive close icon"></i>
|
||||
<div class="header"></div>
|
||||
<div class="content">
|
||||
<center>
|
||||
<iframe width="560" height="315"
|
||||
src="https://www.youtube-nocookie.com/embed/6nkfsjqPBio?rel=0" frameborder="0"
|
||||
allow="autoplay; encrypted-media" allowfullscreen></iframe>
|
||||
</center>
|
||||
<div class="ui embed sccc-2018"
|
||||
data-url="https://www.youtube-nocookie.com/embed/6nkfsjqPBio?rel=0"> </div>
|
||||
<br>
|
||||
To follow up on our CAV (Connected Autonomous Vehicles) initiative, for the 2018 conference the
|
||||
team
|
||||
|
|
@ -182,16 +186,12 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ui modal sccc-2017">
|
||||
<i class="close icon"></i>
|
||||
<div class="ui inverted modal sccc-2017">
|
||||
<i class="olive close icon"></i>
|
||||
<div class="header">2017 USIgnite Smart Cities Connect Conference</div>
|
||||
<div class="content">
|
||||
<center>
|
||||
<iframe width="560" height="315"
|
||||
src="https://www.youtube-nocookie.com/embed/oL7Xc_uvFyc?rel=0" frameborder="0"
|
||||
allow="autoplay; encrypted-media" allowfullscreen></iframe>
|
||||
</center>
|
||||
<br>
|
||||
<div class="ui embed sccc-2017"
|
||||
data-url="https://www.youtube-nocookie.com/embed/oL7Xc_uvFyc?rel=0"></div>
|
||||
This programming project was quite a hurdle for me. The 2017 SCCC was in late June, and I joined
|
||||
the
|
||||
research group in early May. I had never done networking, computer vision or machine learning in
|
||||
|
|
@ -205,8 +205,8 @@
|
|||
</div>
|
||||
|
||||
|
||||
<div class="ui modal create-a-thon">
|
||||
<i class="close icon"></i>
|
||||
<div class="ui inverted modal create-a-thon">
|
||||
<i class="olive close icon"></i>
|
||||
<div class="header">First Annual Create-A-Thon - October 2016</div>
|
||||
<div class="content">
|
||||
"CECS Students also took top honors during the app development component of Startup week.
|
||||
|
|
@ -231,8 +231,8 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ui modal fantastic_five">
|
||||
<i class="close icon"></i>
|
||||
<div class="ui inverted modal fantastic_five">
|
||||
<i class="olive close icon"></i>
|
||||
<div class="header">Fantastic Five - Spring 2016</div>
|
||||
<div class="content">
|
||||
This wasn't my first use of Java's Libraries to produce a desktop program, but this was my first
|
||||
|
|
@ -254,8 +254,8 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ui modal nissan">
|
||||
<i class="close icon"></i>
|
||||
<div class="ui inverted modal nissan">
|
||||
<i class="olive close icon"></i>
|
||||
<div class="header">Nissan of Murfreesboro - December 2015</div>
|
||||
<div class="content">
|
||||
I will not be revealing too much information for the sake of respect to the Nissan dealership
|
||||
|
|
@ -272,39 +272,77 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ui modal modding">
|
||||
<i class="close icon"></i>
|
||||
<div class="ui inverted modal modding">
|
||||
<i class="olive close icon"></i>
|
||||
<div class="header">Modding Minecraft - Current</div>
|
||||
<div class="content">
|
||||
This is not only a hobby, but a passion. All of my mods are open-source and licensed under GNU
|
||||
GPL
|
||||
for others to learn from my code, the same way that I learned from others!
|
||||
<br><br>I enjoy playing games, and writing mods for Minecraft is a great way of practicing
|
||||
programming, debugging, API usage and more. All of my mods depend on the <a
|
||||
href="http://minecraftforge.net">Minecraft Forge API</a>. As a result, I constantly aim to
|
||||
maximize compatibility with up to <i>thousands</i> of other mods, plus for each Minecraft update
|
||||
I
|
||||
must adapt my code to not <i>only</i> Minecraft's codebase changes, but Forge's as well.
|
||||
<br><br>The result? I feel like my ability to be tossed into any programming environment and
|
||||
survive
|
||||
is much better than most programmers which are still studying in school.
|
||||
<p>
|
||||
This is not only a hobby, but a passion. All of my mods are open-source and licensed under
|
||||
GNU
|
||||
GPL for others to learn from my code, the same way that I learned from others!
|
||||
</p>
|
||||
|
||||
<p>I enjoy
|
||||
playing games, and writing mods for Minecraft is a great way of practicing programming,
|
||||
debugging, API usage and more. All of my mods depend on the <a
|
||||
href="https://minecraftforge.net">Minecraft Forge API</a>. As a result, I constantly aim
|
||||
to
|
||||
maximize compatibility with up to <i>thousands</i> of other mods, plus for each Minecraft
|
||||
update
|
||||
I must adapt my code to not <i>only</i> Minecraft's codebase changes, but Forge's as well.
|
||||
</p>
|
||||
<p>
|
||||
The result? I feel like my ability to be tossed into any programming environment and
|
||||
survive is much better than most programmers which are still studying in school.
|
||||
</p>
|
||||
<p>
|
||||
Additionally, as of September 2019, my mods have cumulatively received over 8 <i>million</i>
|
||||
downloads! I'm still amazed that my mods have received so much attention and have been
|
||||
featured in so many modpacks. I am greatly appreciative of the users and bug reporters!
|
||||
</p>
|
||||
<img class="ui rounded image" src="../Resources/img/curse.png">
|
||||
|
||||
<br><br><a href="https://github.com/oitsjustjose/"><i class="github icon"></i> Home to All My
|
||||
Mods</a>
|
||||
</div>
|
||||
<div class="ui inverted modal cscdc">
|
||||
<i class="olive close icon"></i>
|
||||
<div class="header">Chattanooga 2nd Annual Deep Learning Conference</div>
|
||||
<div class="content">
|
||||
<p>
|
||||
Chattanooga's 2nd Annual Deep Learning Conference, hosted by Dr. Mina Sartipi, takes a
|
||||
focus on Smart Cities. With the conference comes the release of the first-ever
|
||||
Chattanooga Smart City Data Challenge (CSCDC), which is a dataset release of video
|
||||
events and air quality data that is sourced from a <b>live urban environment</b>. This
|
||||
release is a big deal to us and the world - and will be updated each year with new data!
|
||||
More info on the conference and dataset can be found below:
|
||||
</p>
|
||||
<div class="ui center aligned stackable grid">
|
||||
<div class="ui button"
|
||||
onclick="location.href='https://www.utccuip.com/smart-city-data-challenge-dataset'">
|
||||
The Dataset
|
||||
</div>
|
||||
<div class="ui button"
|
||||
onclick="location.href='https://www.utccuip.com/2019-dl-conference'">
|
||||
The Conference (Sept 13th 2019)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
<div class="ui inverted vertical segment">
|
||||
<div class="ui center aligned container">
|
||||
<div class="ui horizontal inverted small divided link list">
|
||||
<a class="item" href="mailto:stovallj1995@gmail.com"><i class="mail icon"></i> Contact</a>
|
||||
<a class="item" href="http://github.com/oitsjustjose/oitsjustjose.github.io"><i
|
||||
class="code icon"></i> Site Source</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui bottom fixed tiny inverted menu">
|
||||
<div class="ui container">
|
||||
<a class="item" href="mailto:stovallj1995@gmail.com">
|
||||
<i class="olive mail icon"></i> Contact
|
||||
</a>
|
||||
<a class="right item" href="https://github.com/oitsjustjose">
|
||||
<i class="olive github icon"></i> My GitHub
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
|||
13
Programming/index.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
const init = () => {
|
||||
$(".ui.modal").modal({
|
||||
onHide: () => {
|
||||
$(".ui.embed").embed('destroy');
|
||||
}
|
||||
});
|
||||
document.querySelectorAll(".ui.inverted.card").forEach((element) => {
|
||||
element.addEventListener('click', () => {
|
||||
$('.ui.modal.' + element.classList.value.replace("ui inverted card ", "")).modal("show");
|
||||
$('.ui.embed.' + element.classList.value.replace("ui inverted card ", "")).embed();
|
||||
});
|
||||
});
|
||||
};
|
||||
|
Before Width: | Height: | Size: 1 MiB After Width: | Height: | Size: 1 MiB |
|
Before Width: | Height: | Size: 3.4 MiB After Width: | Height: | Size: 3.4 MiB |
|
Before Width: | Height: | Size: 489 KiB After Width: | Height: | Size: 489 KiB |
BIN
Resources/img/cscdc.png
Normal file
|
After Width: | Height: | Size: 69 KiB |
BIN
Resources/img/curse.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 243 KiB After Width: | Height: | Size: 243 KiB |
|
Before Width: | Height: | Size: 128 KiB After Width: | Height: | Size: 128 KiB |
|
Before Width: | Height: | Size: 4.7 MiB After Width: | Height: | Size: 4.7 MiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 242 KiB After Width: | Height: | Size: 242 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
22
Resources/semantic/out/LICENSE
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 Semantic Org
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
7
Resources/semantic/out/README.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# CSS Distribution
|
||||
|
||||
This repository is automatically synced with the main [Semantic UI](https://github.com/Semantic-Org/Semantic-UI) repository to provide lightweight CSS only version of Semantic UI.
|
||||
|
||||
This package **does not support theming** and includes generated CSS files of the default theme only.
|
||||
|
||||
You can view more on Semantic UI at [LearnSemantic.com](http://www.learnsemantic.com) and [Semantic-UI.com](http://www.semantic-ui.com)
|
||||
5
semantic/out/components/accordion.css → Resources/semantic/out/components/accordion.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Accordion
|
||||
* # Semantic UI 2.4.1 - Accordion
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -127,7 +127,8 @@
|
|||
.ui.styled.accordion .accordion {
|
||||
border-radius: 0.28571429rem;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
.ui.styled.accordion .title,
|
||||
.ui.styled.accordion .accordion .title {
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Accordion
|
||||
* # Semantic UI 2.4.1 - Accordion
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
;(function ($, window, document, undefined) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
window = (typeof window != 'undefined' && window.Math == Math)
|
||||
? window
|
||||
|
|
@ -169,6 +169,7 @@ $.fn.accordion = function(parameters) {
|
|||
}
|
||||
module.debug('Opening accordion content', $activeTitle);
|
||||
settings.onOpening.call($activeContent);
|
||||
settings.onChanging.call($activeContent);
|
||||
if(settings.exclusive) {
|
||||
module.closeOthers.call($activeTitle);
|
||||
}
|
||||
|
|
@ -232,6 +233,7 @@ $.fn.accordion = function(parameters) {
|
|||
if((isActive || isOpening) && !isClosing) {
|
||||
module.debug('Closing accordion content', $activeContent);
|
||||
settings.onClosing.call($activeContent);
|
||||
settings.onChanging.call($activeContent);
|
||||
$activeTitle
|
||||
.removeClass(className.active)
|
||||
;
|
||||
|
|
@ -574,10 +576,11 @@ $.fn.accordion.settings = {
|
|||
duration : 350, // duration of animation
|
||||
easing : 'easeOutQuad', // easing equation for animation
|
||||
|
||||
|
||||
onOpening : function(){}, // callback before open animation
|
||||
onOpen : function(){}, // callback after open animation
|
||||
onClosing : function(){}, // callback before closing animation
|
||||
onChanging : function(){}, // callback before closing or opening animation
|
||||
|
||||
onOpen : function(){}, // callback after open animation
|
||||
onClose : function(){}, // callback after closing animation
|
||||
onChange : function(){}, // callback after closing or opening animation
|
||||
|
||||
9
Resources/semantic/out/components/accordion.min.css
vendored
Normal file
1
Resources/semantic/out/components/accordion.min.js
vendored
Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Ad
|
||||
* # Semantic UI 2.4.1 - Ad
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Ad
|
||||
* # Semantic UI 2.4.1 - Ad
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI - API
|
||||
* # Semantic UI 2.4.1 - API
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
;(function ($, window, document, undefined) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
var
|
||||
window = (typeof window != 'undefined' && window.Math == Math)
|
||||
1
Resources/semantic/out/components/api.min.js
vendored
Normal file
2
semantic/out/components/breadcrumb.css → Resources/semantic/out/components/breadcrumb.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Breadcrumb
|
||||
* # Semantic UI 2.4.1 - Breadcrumb
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
2
semantic/out/components/breadcrumb.min.css → Resources/semantic/out/components/breadcrumb.min.css
vendored
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Breadcrumb
|
||||
* # Semantic UI 2.4.1 - Breadcrumb
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
880
semantic/out/components/button.css → Resources/semantic/out/components/button.css
Executable file → Normal file
9
Resources/semantic/out/components/button.min.css
vendored
Normal file
143
semantic/out/components/card.css → Resources/semantic/out/components/card.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Item
|
||||
* # Semantic UI 2.4.1 - Item
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -35,11 +35,12 @@
|
|||
padding: 0em;
|
||||
border: none;
|
||||
border-radius: 0.28571429rem;
|
||||
box-shadow: 0px 1px 3px 0px #D4D4D5, 0px 0px 0px 1px #D4D4D5;
|
||||
-webkit-transition: box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
||||
transition: box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
||||
-webkit-box-shadow: 0px 1px 3px 0px #D4D4D5, 0px 0px 0px 1px #D4D4D5;
|
||||
box-shadow: 0px 1px 3px 0px #D4D4D5, 0px 0px 0px 1px #D4D4D5;
|
||||
-webkit-transition: -webkit-box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
||||
transition: -webkit-box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
||||
transition: box-shadow 0.1s ease, transform 0.1s ease;
|
||||
transition: box-shadow 0.1s ease, transform 0.1s ease, -webkit-transform 0.1s ease;
|
||||
transition: box-shadow 0.1s ease, transform 0.1s ease, -webkit-box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
||||
z-index: '';
|
||||
}
|
||||
.ui.card {
|
||||
|
|
@ -150,7 +151,8 @@
|
|||
background: none;
|
||||
margin: 0em;
|
||||
padding: 1em 1em;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
font-size: 1em;
|
||||
border-radius: 0em;
|
||||
}
|
||||
|
|
@ -407,7 +409,8 @@
|
|||
top: 0em;
|
||||
left: 0em;
|
||||
color: rgba(0, 0, 0, 0.4);
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
-webkit-transition: color 0.1s ease;
|
||||
transition: color 0.1s ease;
|
||||
}
|
||||
|
|
@ -432,17 +435,20 @@
|
|||
|
||||
.ui.raised.cards > .card,
|
||||
.ui.raised.card {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
.ui.raised.cards a.card:hover,
|
||||
.ui.link.cards .raised.card:hover,
|
||||
a.ui.raised.card:hover,
|
||||
.ui.link.raised.card:hover {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 4px 0px rgba(34, 36, 38, 0.15), 0px 2px 10px 0px rgba(34, 36, 38, 0.25);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 4px 0px rgba(34, 36, 38, 0.15), 0px 2px 10px 0px rgba(34, 36, 38, 0.25);
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 4px 0px rgba(34, 36, 38, 0.15), 0px 2px 10px 0px rgba(34, 36, 38, 0.25);
|
||||
}
|
||||
.ui.raised.cards > .card,
|
||||
.ui.raised.card {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
|
||||
/*-------------------
|
||||
|
|
@ -487,7 +493,8 @@ a.ui.card:hover,
|
|||
z-index: 5;
|
||||
background: #FFFFFF;
|
||||
border: none;
|
||||
box-shadow: 0px 1px 3px 0px #BCBDBD, 0px 0px 0px 1px #D4D4D5;
|
||||
-webkit-box-shadow: 0px 1px 3px 0px #BCBDBD, 0px 0px 0px 1px #D4D4D5;
|
||||
box-shadow: 0px 1px 3px 0px #BCBDBD, 0px 0px 0px 1px #D4D4D5;
|
||||
-webkit-transform: translateY(-3px);
|
||||
transform: translateY(-3px);
|
||||
}
|
||||
|
|
@ -501,156 +508,182 @@ a.ui.card:hover,
|
|||
.ui.red.cards > .card,
|
||||
.ui.cards > .red.card,
|
||||
.ui.red.card {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #DB2828, 0px 1px 3px 0px #D4D4D5;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #DB2828, 0px 1px 3px 0px #D4D4D5;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #DB2828, 0px 1px 3px 0px #D4D4D5;
|
||||
}
|
||||
.ui.red.cards > .card:hover,
|
||||
.ui.cards > .red.card:hover,
|
||||
.ui.red.card:hover {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #d01919, 0px 1px 3px 0px #BCBDBD;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #d01919, 0px 1px 3px 0px #BCBDBD;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #d01919, 0px 1px 3px 0px #BCBDBD;
|
||||
}
|
||||
|
||||
/* Orange */
|
||||
.ui.orange.cards > .card,
|
||||
.ui.cards > .orange.card,
|
||||
.ui.orange.card {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #F2711C, 0px 1px 3px 0px #D4D4D5;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #F2711C, 0px 1px 3px 0px #D4D4D5;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #F2711C, 0px 1px 3px 0px #D4D4D5;
|
||||
}
|
||||
.ui.orange.cards > .card:hover,
|
||||
.ui.cards > .orange.card:hover,
|
||||
.ui.orange.card:hover {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #f26202, 0px 1px 3px 0px #BCBDBD;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #f26202, 0px 1px 3px 0px #BCBDBD;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #f26202, 0px 1px 3px 0px #BCBDBD;
|
||||
}
|
||||
|
||||
/* Yellow */
|
||||
.ui.yellow.cards > .card,
|
||||
.ui.cards > .yellow.card,
|
||||
.ui.yellow.card {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #FBBD08, 0px 1px 3px 0px #D4D4D5;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #FBBD08, 0px 1px 3px 0px #D4D4D5;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #FBBD08, 0px 1px 3px 0px #D4D4D5;
|
||||
}
|
||||
.ui.yellow.cards > .card:hover,
|
||||
.ui.cards > .yellow.card:hover,
|
||||
.ui.yellow.card:hover {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #eaae00, 0px 1px 3px 0px #BCBDBD;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #eaae00, 0px 1px 3px 0px #BCBDBD;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #eaae00, 0px 1px 3px 0px #BCBDBD;
|
||||
}
|
||||
|
||||
/* Olive */
|
||||
.ui.olive.cards > .card,
|
||||
.ui.cards > .olive.card,
|
||||
.ui.olive.card {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #B5CC18, 0px 1px 3px 0px #D4D4D5;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #B5CC18, 0px 1px 3px 0px #D4D4D5;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #B5CC18, 0px 1px 3px 0px #D4D4D5;
|
||||
}
|
||||
.ui.olive.cards > .card:hover,
|
||||
.ui.cards > .olive.card:hover,
|
||||
.ui.olive.card:hover {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #a7bd0d, 0px 1px 3px 0px #BCBDBD;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #a7bd0d, 0px 1px 3px 0px #BCBDBD;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #a7bd0d, 0px 1px 3px 0px #BCBDBD;
|
||||
}
|
||||
|
||||
/* Green */
|
||||
.ui.green.cards > .card,
|
||||
.ui.cards > .green.card,
|
||||
.ui.green.card {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #21BA45, 0px 1px 3px 0px #D4D4D5;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #21BA45, 0px 1px 3px 0px #D4D4D5;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #21BA45, 0px 1px 3px 0px #D4D4D5;
|
||||
}
|
||||
.ui.green.cards > .card:hover,
|
||||
.ui.cards > .green.card:hover,
|
||||
.ui.green.card:hover {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #16ab39, 0px 1px 3px 0px #BCBDBD;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #16ab39, 0px 1px 3px 0px #BCBDBD;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #16ab39, 0px 1px 3px 0px #BCBDBD;
|
||||
}
|
||||
|
||||
/* Teal */
|
||||
.ui.teal.cards > .card,
|
||||
.ui.cards > .teal.card,
|
||||
.ui.teal.card {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #00B5AD, 0px 1px 3px 0px #D4D4D5;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #00B5AD, 0px 1px 3px 0px #D4D4D5;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #00B5AD, 0px 1px 3px 0px #D4D4D5;
|
||||
}
|
||||
.ui.teal.cards > .card:hover,
|
||||
.ui.cards > .teal.card:hover,
|
||||
.ui.teal.card:hover {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #009c95, 0px 1px 3px 0px #BCBDBD;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #009c95, 0px 1px 3px 0px #BCBDBD;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #009c95, 0px 1px 3px 0px #BCBDBD;
|
||||
}
|
||||
|
||||
/* Blue */
|
||||
.ui.blue.cards > .card,
|
||||
.ui.cards > .blue.card,
|
||||
.ui.blue.card {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #2185D0, 0px 1px 3px 0px #D4D4D5;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #2185D0, 0px 1px 3px 0px #D4D4D5;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #2185D0, 0px 1px 3px 0px #D4D4D5;
|
||||
}
|
||||
.ui.blue.cards > .card:hover,
|
||||
.ui.cards > .blue.card:hover,
|
||||
.ui.blue.card:hover {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #1678c2, 0px 1px 3px 0px #BCBDBD;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #1678c2, 0px 1px 3px 0px #BCBDBD;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #1678c2, 0px 1px 3px 0px #BCBDBD;
|
||||
}
|
||||
|
||||
/* Violet */
|
||||
.ui.violet.cards > .card,
|
||||
.ui.cards > .violet.card,
|
||||
.ui.violet.card {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #6435C9, 0px 1px 3px 0px #D4D4D5;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #6435C9, 0px 1px 3px 0px #D4D4D5;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #6435C9, 0px 1px 3px 0px #D4D4D5;
|
||||
}
|
||||
.ui.violet.cards > .card:hover,
|
||||
.ui.cards > .violet.card:hover,
|
||||
.ui.violet.card:hover {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #5829bb, 0px 1px 3px 0px #BCBDBD;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #5829bb, 0px 1px 3px 0px #BCBDBD;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #5829bb, 0px 1px 3px 0px #BCBDBD;
|
||||
}
|
||||
|
||||
/* Purple */
|
||||
.ui.purple.cards > .card,
|
||||
.ui.cards > .purple.card,
|
||||
.ui.purple.card {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #A333C8, 0px 1px 3px 0px #D4D4D5;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #A333C8, 0px 1px 3px 0px #D4D4D5;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #A333C8, 0px 1px 3px 0px #D4D4D5;
|
||||
}
|
||||
.ui.purple.cards > .card:hover,
|
||||
.ui.cards > .purple.card:hover,
|
||||
.ui.purple.card:hover {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #9627ba, 0px 1px 3px 0px #BCBDBD;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #9627ba, 0px 1px 3px 0px #BCBDBD;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #9627ba, 0px 1px 3px 0px #BCBDBD;
|
||||
}
|
||||
|
||||
/* Pink */
|
||||
.ui.pink.cards > .card,
|
||||
.ui.cards > .pink.card,
|
||||
.ui.pink.card {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #E03997, 0px 1px 3px 0px #D4D4D5;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #E03997, 0px 1px 3px 0px #D4D4D5;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #E03997, 0px 1px 3px 0px #D4D4D5;
|
||||
}
|
||||
.ui.pink.cards > .card:hover,
|
||||
.ui.cards > .pink.card:hover,
|
||||
.ui.pink.card:hover {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #e61a8d, 0px 1px 3px 0px #BCBDBD;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #e61a8d, 0px 1px 3px 0px #BCBDBD;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #e61a8d, 0px 1px 3px 0px #BCBDBD;
|
||||
}
|
||||
|
||||
/* Brown */
|
||||
.ui.brown.cards > .card,
|
||||
.ui.cards > .brown.card,
|
||||
.ui.brown.card {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #A5673F, 0px 1px 3px 0px #D4D4D5;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #A5673F, 0px 1px 3px 0px #D4D4D5;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #A5673F, 0px 1px 3px 0px #D4D4D5;
|
||||
}
|
||||
.ui.brown.cards > .card:hover,
|
||||
.ui.cards > .brown.card:hover,
|
||||
.ui.brown.card:hover {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #975b33, 0px 1px 3px 0px #BCBDBD;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #975b33, 0px 1px 3px 0px #BCBDBD;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #975b33, 0px 1px 3px 0px #BCBDBD;
|
||||
}
|
||||
|
||||
/* Grey */
|
||||
.ui.grey.cards > .card,
|
||||
.ui.cards > .grey.card,
|
||||
.ui.grey.card {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #767676, 0px 1px 3px 0px #D4D4D5;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #767676, 0px 1px 3px 0px #D4D4D5;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #767676, 0px 1px 3px 0px #D4D4D5;
|
||||
}
|
||||
.ui.grey.cards > .card:hover,
|
||||
.ui.cards > .grey.card:hover,
|
||||
.ui.grey.card:hover {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #838383, 0px 1px 3px 0px #BCBDBD;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #838383, 0px 1px 3px 0px #BCBDBD;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #838383, 0px 1px 3px 0px #BCBDBD;
|
||||
}
|
||||
|
||||
/* Black */
|
||||
.ui.black.cards > .card,
|
||||
.ui.cards > .black.card,
|
||||
.ui.black.card {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #1B1C1D, 0px 1px 3px 0px #D4D4D5;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #1B1C1D, 0px 1px 3px 0px #D4D4D5;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #1B1C1D, 0px 1px 3px 0px #D4D4D5;
|
||||
}
|
||||
.ui.black.cards > .card:hover,
|
||||
.ui.cards > .black.card:hover,
|
||||
.ui.black.card:hover {
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #27292a, 0px 1px 3px 0px #BCBDBD;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #27292a, 0px 1px 3px 0px #BCBDBD;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #27292a, 0px 1px 3px 0px #BCBDBD;
|
||||
}
|
||||
|
||||
/*--------------
|
||||
|
|
@ -759,7 +792,7 @@ a.ui.card:hover,
|
|||
margin-left: 0em;
|
||||
margin-right: 0em;
|
||||
}
|
||||
.ui.two.doubling.cards .card {
|
||||
.ui.two.doubling.cards > .card {
|
||||
width: 100%;
|
||||
margin-left: 0em;
|
||||
margin-right: 0em;
|
||||
|
|
@ -768,7 +801,7 @@ a.ui.card:hover,
|
|||
margin-left: -1em;
|
||||
margin-right: -1em;
|
||||
}
|
||||
.ui.three.doubling.cards .card {
|
||||
.ui.three.doubling.cards > .card {
|
||||
width: calc( 50% - 2em );
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
|
|
@ -777,7 +810,7 @@ a.ui.card:hover,
|
|||
margin-left: -1em;
|
||||
margin-right: -1em;
|
||||
}
|
||||
.ui.four.doubling.cards .card {
|
||||
.ui.four.doubling.cards > .card {
|
||||
width: calc( 50% - 2em );
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
|
|
@ -786,7 +819,7 @@ a.ui.card:hover,
|
|||
margin-left: -1em;
|
||||
margin-right: -1em;
|
||||
}
|
||||
.ui.five.doubling.cards .card {
|
||||
.ui.five.doubling.cards > .card {
|
||||
width: calc( 50% - 2em );
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
|
|
@ -795,7 +828,7 @@ a.ui.card:hover,
|
|||
margin-left: -1em;
|
||||
margin-right: -1em;
|
||||
}
|
||||
.ui.six.doubling.cards .card {
|
||||
.ui.six.doubling.cards > .card {
|
||||
width: calc( 50% - 2em );
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
|
|
@ -804,7 +837,7 @@ a.ui.card:hover,
|
|||
margin-left: -1em;
|
||||
margin-right: -1em;
|
||||
}
|
||||
.ui.seven.doubling.cards .card {
|
||||
.ui.seven.doubling.cards > .card {
|
||||
width: calc( 33.33333333% - 2em );
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
|
|
@ -813,7 +846,7 @@ a.ui.card:hover,
|
|||
margin-left: -1em;
|
||||
margin-right: -1em;
|
||||
}
|
||||
.ui.eight.doubling.cards .card {
|
||||
.ui.eight.doubling.cards > .card {
|
||||
width: calc( 33.33333333% - 2em );
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
|
|
@ -822,7 +855,7 @@ a.ui.card:hover,
|
|||
margin-left: -1em;
|
||||
margin-right: -1em;
|
||||
}
|
||||
.ui.nine.doubling.cards .card {
|
||||
.ui.nine.doubling.cards > .card {
|
||||
width: calc( 33.33333333% - 2em );
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
|
|
@ -831,7 +864,7 @@ a.ui.card:hover,
|
|||
margin-left: -1em;
|
||||
margin-right: -1em;
|
||||
}
|
||||
.ui.ten.doubling.cards .card {
|
||||
.ui.ten.doubling.cards > .card {
|
||||
width: calc( 33.33333333% - 2em );
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
|
|
@ -844,7 +877,7 @@ a.ui.card:hover,
|
|||
margin-left: 0em;
|
||||
margin-right: 0em;
|
||||
}
|
||||
.ui.two.doubling.cards .card {
|
||||
.ui.two.doubling.cards > .card {
|
||||
width: 100%;
|
||||
margin-left: 0em;
|
||||
margin-right: 0em;
|
||||
|
|
@ -853,7 +886,7 @@ a.ui.card:hover,
|
|||
margin-left: -1em;
|
||||
margin-right: -1em;
|
||||
}
|
||||
.ui.three.doubling.cards .card {
|
||||
.ui.three.doubling.cards > .card {
|
||||
width: calc( 50% - 2em );
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
|
|
@ -862,7 +895,7 @@ a.ui.card:hover,
|
|||
margin-left: -1em;
|
||||
margin-right: -1em;
|
||||
}
|
||||
.ui.four.doubling.cards .card {
|
||||
.ui.four.doubling.cards > .card {
|
||||
width: calc( 50% - 2em );
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
|
|
@ -871,7 +904,7 @@ a.ui.card:hover,
|
|||
margin-left: -1em;
|
||||
margin-right: -1em;
|
||||
}
|
||||
.ui.five.doubling.cards .card {
|
||||
.ui.five.doubling.cards > .card {
|
||||
width: calc( 33.33333333% - 2em );
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
|
|
@ -880,7 +913,7 @@ a.ui.card:hover,
|
|||
margin-left: -1em;
|
||||
margin-right: -1em;
|
||||
}
|
||||
.ui.six.doubling.cards .card {
|
||||
.ui.six.doubling.cards > .card {
|
||||
width: calc( 33.33333333% - 2em );
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
|
|
@ -889,7 +922,7 @@ a.ui.card:hover,
|
|||
margin-left: -1em;
|
||||
margin-right: -1em;
|
||||
}
|
||||
.ui.eight.doubling.cards .card {
|
||||
.ui.eight.doubling.cards > .card {
|
||||
width: calc( 33.33333333% - 2em );
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
|
|
@ -898,7 +931,7 @@ a.ui.card:hover,
|
|||
margin-left: -0.75em;
|
||||
margin-right: -0.75em;
|
||||
}
|
||||
.ui.eight.doubling.cards .card {
|
||||
.ui.eight.doubling.cards > .card {
|
||||
width: calc( 25% - 1.5em );
|
||||
margin-left: 0.75em;
|
||||
margin-right: 0.75em;
|
||||
|
|
@ -907,7 +940,7 @@ a.ui.card:hover,
|
|||
margin-left: -0.75em;
|
||||
margin-right: -0.75em;
|
||||
}
|
||||
.ui.nine.doubling.cards .card {
|
||||
.ui.nine.doubling.cards > .card {
|
||||
width: calc( 25% - 1.5em );
|
||||
margin-left: 0.75em;
|
||||
margin-right: 0.75em;
|
||||
|
|
@ -916,7 +949,7 @@ a.ui.card:hover,
|
|||
margin-left: -0.75em;
|
||||
margin-right: -0.75em;
|
||||
}
|
||||
.ui.ten.doubling.cards .card {
|
||||
.ui.ten.doubling.cards > .card {
|
||||
width: calc( 20% - 1.5em );
|
||||
margin-left: 0.75em;
|
||||
margin-right: 0.75em;
|
||||
9
Resources/semantic/out/components/card.min.css
vendored
Normal file
31
semantic/out/components/checkbox.css → Resources/semantic/out/components/checkbox.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Checkbox
|
||||
* # Semantic UI 2.4.1 - Checkbox
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -69,10 +69,10 @@
|
|||
content: '';
|
||||
background: #FFFFFF;
|
||||
border-radius: 0.21428571rem;
|
||||
-webkit-transition: border 0.1s ease, opacity 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
||||
transition: border 0.1s ease, opacity 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
||||
-webkit-transition: border 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
transition: border 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease;
|
||||
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
||||
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
border: 1px solid #D4D4D5;
|
||||
}
|
||||
|
||||
|
|
@ -91,10 +91,10 @@
|
|||
text-align: center;
|
||||
opacity: 0;
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
-webkit-transition: border 0.1s ease, opacity 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
||||
transition: border 0.1s ease, opacity 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
||||
-webkit-transition: border 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
transition: border 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease;
|
||||
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
||||
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
}
|
||||
|
||||
/*--------------
|
||||
|
|
@ -394,6 +394,7 @@
|
|||
/* Handle */
|
||||
.ui.slider.checkbox .box:after,
|
||||
.ui.slider.checkbox label:after {
|
||||
background: #FFFFFF -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.05)));
|
||||
background: #FFFFFF -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
||||
background: #FFFFFF linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
||||
position: absolute;
|
||||
|
|
@ -401,7 +402,8 @@
|
|||
opacity: 1;
|
||||
z-index: 2;
|
||||
border: none;
|
||||
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
||||
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
||||
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
top: -0.25rem;
|
||||
|
|
@ -491,7 +493,8 @@
|
|||
border: none;
|
||||
top: 0rem;
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
width: 3.5rem;
|
||||
height: 1.5rem;
|
||||
border-radius: 500rem;
|
||||
|
|
@ -500,6 +503,7 @@
|
|||
/* Handle */
|
||||
.ui.toggle.checkbox .box:after,
|
||||
.ui.toggle.checkbox label:after {
|
||||
background: #FFFFFF -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.05)));
|
||||
background: #FFFFFF -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
||||
background: #FFFFFF linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
||||
position: absolute;
|
||||
|
|
@ -507,7 +511,8 @@
|
|||
opacity: 1;
|
||||
z-index: 2;
|
||||
border: none;
|
||||
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
||||
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
||||
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
top: 0rem;
|
||||
|
|
@ -519,7 +524,8 @@
|
|||
.ui.toggle.checkbox input ~ .box:after,
|
||||
.ui.toggle.checkbox input ~ label:after {
|
||||
left: -0.05rem;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
||||
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
||||
}
|
||||
|
||||
/* Focus */
|
||||
|
|
@ -548,7 +554,8 @@
|
|||
.ui.toggle.checkbox input:checked ~ .box:after,
|
||||
.ui.toggle.checkbox input:checked ~ label:after {
|
||||
left: 2.15rem;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
||||
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
||||
}
|
||||
|
||||
/* Active Focus */
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Checkbox
|
||||
* # Semantic UI 2.4.1 - Checkbox
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
;(function ($, window, document, undefined) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
window = (typeof window != 'undefined' && window.Math == Math)
|
||||
? window
|
||||
9
Resources/semantic/out/components/checkbox.min.css
vendored
Normal file
1
Resources/semantic/out/components/checkbox.min.js
vendored
Normal file
274
Resources/semantic/out/components/colorize.js
Normal file
|
|
@ -0,0 +1,274 @@
|
|||
/*!
|
||||
* # Semantic UI 2.0.0 - Colorize
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
* Copyright 2015 Contributors
|
||||
* Released under the MIT license
|
||||
* http://opensource.org/licenses/MIT
|
||||
*
|
||||
*/
|
||||
|
||||
;(function ( $, window, document, undefined ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
$.fn.colorize = function(parameters) {
|
||||
var
|
||||
settings = ( $.isPlainObject(parameters) )
|
||||
? $.extend(true, {}, $.fn.colorize.settings, parameters)
|
||||
: $.extend({}, $.fn.colorize.settings),
|
||||
// hoist arguments
|
||||
moduleArguments = arguments || false
|
||||
;
|
||||
$(this)
|
||||
.each(function(instanceIndex) {
|
||||
|
||||
var
|
||||
$module = $(this),
|
||||
|
||||
mainCanvas = $('<canvas />')[0],
|
||||
imageCanvas = $('<canvas />')[0],
|
||||
overlayCanvas = $('<canvas />')[0],
|
||||
|
||||
backgroundImage = new Image(),
|
||||
|
||||
// defs
|
||||
mainContext,
|
||||
imageContext,
|
||||
overlayContext,
|
||||
|
||||
image,
|
||||
imageName,
|
||||
|
||||
width,
|
||||
height,
|
||||
|
||||
// shortcuts
|
||||
colors = settings.colors,
|
||||
paths = settings.paths,
|
||||
namespace = settings.namespace,
|
||||
error = settings.error,
|
||||
|
||||
// boilerplate
|
||||
instance = $module.data('module-' + namespace),
|
||||
module
|
||||
;
|
||||
|
||||
module = {
|
||||
|
||||
checkPreconditions: function() {
|
||||
module.debug('Checking pre-conditions');
|
||||
|
||||
if( !$.isPlainObject(colors) || $.isEmptyObject(colors) ) {
|
||||
module.error(error.undefinedColors);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
},
|
||||
|
||||
async: function(callback) {
|
||||
if(settings.async) {
|
||||
setTimeout(callback, 0);
|
||||
}
|
||||
else {
|
||||
callback();
|
||||
}
|
||||
},
|
||||
|
||||
getMetadata: function() {
|
||||
module.debug('Grabbing metadata');
|
||||
image = $module.data('image') || settings.image || undefined;
|
||||
imageName = $module.data('name') || settings.name || instanceIndex;
|
||||
width = settings.width || $module.width();
|
||||
height = settings.height || $module.height();
|
||||
if(width === 0 || height === 0) {
|
||||
module.error(error.undefinedSize);
|
||||
}
|
||||
},
|
||||
|
||||
initialize: function() {
|
||||
module.debug('Initializing with colors', colors);
|
||||
if( module.checkPreconditions() ) {
|
||||
|
||||
module.async(function() {
|
||||
module.getMetadata();
|
||||
module.canvas.create();
|
||||
|
||||
module.draw.image(function() {
|
||||
module.draw.colors();
|
||||
module.canvas.merge();
|
||||
});
|
||||
$module
|
||||
.data('module-' + namespace, module)
|
||||
;
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
redraw: function() {
|
||||
module.debug('Redrawing image');
|
||||
module.async(function() {
|
||||
module.canvas.clear();
|
||||
module.draw.colors();
|
||||
module.canvas.merge();
|
||||
});
|
||||
},
|
||||
|
||||
change: {
|
||||
color: function(colorName, color) {
|
||||
module.debug('Changing color', colorName);
|
||||
if(colors[colorName] === undefined) {
|
||||
module.error(error.missingColor);
|
||||
return false;
|
||||
}
|
||||
colors[colorName] = color;
|
||||
module.redraw();
|
||||
}
|
||||
},
|
||||
|
||||
canvas: {
|
||||
create: function() {
|
||||
module.debug('Creating canvases');
|
||||
|
||||
mainCanvas.width = width;
|
||||
mainCanvas.height = height;
|
||||
imageCanvas.width = width;
|
||||
imageCanvas.height = height;
|
||||
overlayCanvas.width = width;
|
||||
overlayCanvas.height = height;
|
||||
|
||||
mainContext = mainCanvas.getContext('2d');
|
||||
imageContext = imageCanvas.getContext('2d');
|
||||
overlayContext = overlayCanvas.getContext('2d');
|
||||
|
||||
$module
|
||||
.append( mainCanvas )
|
||||
;
|
||||
mainContext = $module.children('canvas')[0].getContext('2d');
|
||||
},
|
||||
clear: function(context) {
|
||||
module.debug('Clearing canvas');
|
||||
overlayContext.fillStyle = '#FFFFFF';
|
||||
overlayContext.fillRect(0, 0, width, height);
|
||||
},
|
||||
merge: function() {
|
||||
if( !$.isFunction(mainContext.blendOnto) ) {
|
||||
module.error(error.missingPlugin);
|
||||
return;
|
||||
}
|
||||
mainContext.putImageData( imageContext.getImageData(0, 0, width, height), 0, 0);
|
||||
overlayContext.blendOnto(mainContext, 'multiply');
|
||||
}
|
||||
},
|
||||
|
||||
draw: {
|
||||
|
||||
image: function(callback) {
|
||||
module.debug('Drawing image');
|
||||
callback = callback || function(){};
|
||||
if(image) {
|
||||
backgroundImage.src = image;
|
||||
backgroundImage.onload = function() {
|
||||
imageContext.drawImage(backgroundImage, 0, 0);
|
||||
callback();
|
||||
};
|
||||
}
|
||||
else {
|
||||
module.error(error.noImage);
|
||||
callback();
|
||||
}
|
||||
},
|
||||
|
||||
colors: function() {
|
||||
module.debug('Drawing color overlays', colors);
|
||||
$.each(colors, function(colorName, color) {
|
||||
settings.onDraw(overlayContext, imageName, colorName, color);
|
||||
});
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
debug: function(message, variableName) {
|
||||
if(settings.debug) {
|
||||
if(variableName !== undefined) {
|
||||
console.info(settings.name + ': ' + message, variableName);
|
||||
}
|
||||
else {
|
||||
console.info(settings.name + ': ' + message);
|
||||
}
|
||||
}
|
||||
},
|
||||
error: function(errorMessage) {
|
||||
console.warn(settings.name + ': ' + errorMessage);
|
||||
},
|
||||
invoke: function(methodName, context, methodArguments) {
|
||||
var
|
||||
method
|
||||
;
|
||||
methodArguments = methodArguments || Array.prototype.slice.call( arguments, 2 );
|
||||
|
||||
if(typeof methodName == 'string' && instance !== undefined) {
|
||||
methodName = methodName.split('.');
|
||||
$.each(methodName, function(index, name) {
|
||||
if( $.isPlainObject( instance[name] ) ) {
|
||||
instance = instance[name];
|
||||
return true;
|
||||
}
|
||||
else if( $.isFunction( instance[name] ) ) {
|
||||
method = instance[name];
|
||||
return true;
|
||||
}
|
||||
module.error(settings.error.method);
|
||||
return false;
|
||||
});
|
||||
}
|
||||
return ( $.isFunction( method ) )
|
||||
? method.apply(context, methodArguments)
|
||||
: false
|
||||
;
|
||||
}
|
||||
|
||||
};
|
||||
if(instance !== undefined && moduleArguments) {
|
||||
// simpler than invoke realizing to invoke itself (and losing scope due prototype.call()
|
||||
if(moduleArguments[0] == 'invoke') {
|
||||
moduleArguments = Array.prototype.slice.call( moduleArguments, 1 );
|
||||
}
|
||||
return module.invoke(moduleArguments[0], this, Array.prototype.slice.call( moduleArguments, 1 ) );
|
||||
}
|
||||
// initializing
|
||||
module.initialize();
|
||||
})
|
||||
;
|
||||
return this;
|
||||
};
|
||||
|
||||
$.fn.colorize.settings = {
|
||||
name : 'Image Colorizer',
|
||||
debug : true,
|
||||
namespace : 'colorize',
|
||||
|
||||
onDraw : function(overlayContext, imageName, colorName, color) {},
|
||||
|
||||
// whether to block execution while updating canvas
|
||||
async : true,
|
||||
// object containing names and default values of color regions
|
||||
colors : {},
|
||||
|
||||
metadata: {
|
||||
image : 'image',
|
||||
name : 'name'
|
||||
},
|
||||
|
||||
error: {
|
||||
noImage : 'No tracing image specified',
|
||||
undefinedColors : 'No default colors specified.',
|
||||
missingColor : 'Attempted to change color that does not exist',
|
||||
missingPlugin : 'Blend onto plug-in must be included',
|
||||
undefinedHeight : 'The width or height of image canvas could not be automatically determined. Please specify a height.'
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
})( jQuery, window , document );
|
||||
11
Resources/semantic/out/components/colorize.min.js
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/*!
|
||||
* # Semantic UI 2.0.0 - Colorize
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
* Copyright 2015 Contributors
|
||||
* Released under the MIT license
|
||||
* http://opensource.org/licenses/MIT
|
||||
*
|
||||
*/
|
||||
!function(e,n,i,t){"use strict";e.fn.colorize=function(n){var i=e.isPlainObject(n)?e.extend(!0,{},e.fn.colorize.settings,n):e.extend({},e.fn.colorize.settings),o=arguments||!1;return e(this).each(function(n){var a,r,c,s,d,g,u,l,m=e(this),f=e("<canvas />")[0],h=e("<canvas />")[0],p=e("<canvas />")[0],v=new Image,w=i.colors,b=(i.paths,i.namespace),y=i.error,C=m.data("module-"+b);return l={checkPreconditions:function(){return l.debug("Checking pre-conditions"),!e.isPlainObject(w)||e.isEmptyObject(w)?(l.error(y.undefinedColors),!1):!0},async:function(e){i.async?setTimeout(e,0):e()},getMetadata:function(){l.debug("Grabbing metadata"),s=m.data("image")||i.image||t,d=m.data("name")||i.name||n,g=i.width||m.width(),u=i.height||m.height(),(0===g||0===u)&&l.error(y.undefinedSize)},initialize:function(){l.debug("Initializing with colors",w),l.checkPreconditions()&&l.async(function(){l.getMetadata(),l.canvas.create(),l.draw.image(function(){l.draw.colors(),l.canvas.merge()}),m.data("module-"+b,l)})},redraw:function(){l.debug("Redrawing image"),l.async(function(){l.canvas.clear(),l.draw.colors(),l.canvas.merge()})},change:{color:function(e,n){return l.debug("Changing color",e),w[e]===t?(l.error(y.missingColor),!1):(w[e]=n,void l.redraw())}},canvas:{create:function(){l.debug("Creating canvases"),f.width=g,f.height=u,h.width=g,h.height=u,p.width=g,p.height=u,a=f.getContext("2d"),r=h.getContext("2d"),c=p.getContext("2d"),m.append(f),a=m.children("canvas")[0].getContext("2d")},clear:function(e){l.debug("Clearing canvas"),c.fillStyle="#FFFFFF",c.fillRect(0,0,g,u)},merge:function(){return e.isFunction(a.blendOnto)?(a.putImageData(r.getImageData(0,0,g,u),0,0),void c.blendOnto(a,"multiply")):void l.error(y.missingPlugin)}},draw:{image:function(e){l.debug("Drawing image"),e=e||function(){},s?(v.src=s,v.onload=function(){r.drawImage(v,0,0),e()}):(l.error(y.noImage),e())},colors:function(){l.debug("Drawing color overlays",w),e.each(w,function(e,n){i.onDraw(c,d,e,n)})}},debug:function(e,n){i.debug&&(n!==t?console.info(i.name+": "+e,n):console.info(i.name+": "+e))},error:function(e){console.warn(i.name+": "+e)},invoke:function(n,o,a){var r;return a=a||Array.prototype.slice.call(arguments,2),"string"==typeof n&&C!==t&&(n=n.split("."),e.each(n,function(n,t){return e.isPlainObject(C[t])?(C=C[t],!0):e.isFunction(C[t])?(r=C[t],!0):(l.error(i.error.method),!1)})),e.isFunction(r)?r.apply(o,a):!1}},C!==t&&o?("invoke"==o[0]&&(o=Array.prototype.slice.call(o,1)),l.invoke(o[0],this,Array.prototype.slice.call(o,1))):void l.initialize()}),this},e.fn.colorize.settings={name:"Image Colorizer",debug:!0,namespace:"colorize",onDraw:function(e,n,i,t){},async:!0,colors:{},metadata:{image:"image",name:"name"},error:{noImage:"No tracing image specified",undefinedColors:"No default colors specified.",missingColor:"Attempted to change color that does not exist",missingPlugin:"Blend onto plug-in must be included",undefinedHeight:"The width or height of image canvas could not be automatically determined. Please specify a height."}}}(jQuery,window,document);
|
||||
5
semantic/out/components/comment.css → Resources/semantic/out/components/comment.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Comment
|
||||
* # Semantic UI 2.4.1 - Comment
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -206,7 +206,8 @@
|
|||
.ui.threaded.comments .comment .comments {
|
||||
margin: -1.5em 0 -1em 1.25em;
|
||||
padding: 3em 0em 2em 2.25em;
|
||||
box-shadow: -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
|
||||
/*--------------------
|
||||
4
semantic/out/components/comment.min.css → Resources/semantic/out/components/comment.min.css
vendored
Executable file → Normal file
|
|
@ -1,9 +1,9 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Comment
|
||||
* # Semantic UI 2.4.1 - Comment
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
* Released under the MIT license
|
||||
* http://opensource.org/licenses/MIT
|
||||
*
|
||||
*/.ui.comments{margin:1.5em 0;max-width:650px}.ui.comments:first-child{margin-top:0}.ui.comments:last-child{margin-bottom:0}.ui.comments .comment{position:relative;background:0 0;margin:.5em 0 0;padding:.5em 0 0;border:none;border-top:none;line-height:1.2}.ui.comments .comment:first-child{margin-top:0;padding-top:0}.ui.comments .comment .comments{margin:0 0 .5em .5em;padding:1em 0 1em 1em}.ui.comments .comment .comments:before{position:absolute;top:0;left:0}.ui.comments .comment .comments .comment{border:none;border-top:none;background:0 0}.ui.comments .comment .avatar{display:block;width:2.5em;height:auto;float:left;margin:.2em 0 0}.ui.comments .comment .avatar img,.ui.comments .comment img.avatar{display:block;margin:0 auto;width:100%;height:100%;border-radius:.25rem}.ui.comments .comment>.content{display:block}.ui.comments .comment>.avatar~.content{margin-left:3.5em}.ui.comments .comment .author{font-size:1em;color:rgba(0,0,0,.87);font-weight:700}.ui.comments .comment a.author{cursor:pointer}.ui.comments .comment a.author:hover{color:#1e70bf}.ui.comments .comment .metadata{display:inline-block;margin-left:.5em;color:rgba(0,0,0,.4);font-size:.875em}.ui.comments .comment .metadata>*{display:inline-block;margin:0 .5em 0 0}.ui.comments .comment .metadata>:last-child{margin-right:0}.ui.comments .comment .text{margin:.25em 0 .5em;font-size:1em;word-wrap:break-word;color:rgba(0,0,0,.87);line-height:1.3}.ui.comments .comment .actions{font-size:.875em}.ui.comments .comment .actions a{cursor:pointer;display:inline-block;margin:0 .75em 0 0;color:rgba(0,0,0,.4)}.ui.comments .comment .actions a:last-child{margin-right:0}.ui.comments .comment .actions a.active,.ui.comments .comment .actions a:hover{color:rgba(0,0,0,.8)}.ui.comments>.reply.form{margin-top:1em}.ui.comments .comment .reply.form{width:100%;margin-top:1em}.ui.comments .reply.form textarea{font-size:1em;height:12em}.ui.collapsed.comments,.ui.comments .collapsed.comment,.ui.comments .collapsed.comments{display:none}.ui.threaded.comments .comment .comments{margin:-1.5em 0 -1em 1.25em;padding:3em 0 2em 2.25em;box-shadow:-1px 0 0 rgba(34,36,38,.15)}.ui.minimal.comments .comment .actions{opacity:0;position:absolute;top:0;right:0;left:auto;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;-webkit-transition-delay:.1s;transition-delay:.1s}.ui.minimal.comments .comment>.content:hover>.actions{opacity:1}.ui.mini.comments{font-size:.78571429rem}.ui.tiny.comments{font-size:.85714286rem}.ui.small.comments{font-size:.92857143rem}.ui.comments{font-size:1rem}.ui.large.comments{font-size:1.14285714rem}.ui.big.comments{font-size:1.28571429rem}.ui.huge.comments{font-size:1.42857143rem}.ui.massive.comments{font-size:1.71428571rem}
|
||||
*/.ui.comments{margin:1.5em 0;max-width:650px}.ui.comments:first-child{margin-top:0}.ui.comments:last-child{margin-bottom:0}.ui.comments .comment{position:relative;background:0 0;margin:.5em 0 0;padding:.5em 0 0;border:none;border-top:none;line-height:1.2}.ui.comments .comment:first-child{margin-top:0;padding-top:0}.ui.comments .comment .comments{margin:0 0 .5em .5em;padding:1em 0 1em 1em}.ui.comments .comment .comments:before{position:absolute;top:0;left:0}.ui.comments .comment .comments .comment{border:none;border-top:none;background:0 0}.ui.comments .comment .avatar{display:block;width:2.5em;height:auto;float:left;margin:.2em 0 0}.ui.comments .comment .avatar img,.ui.comments .comment img.avatar{display:block;margin:0 auto;width:100%;height:100%;border-radius:.25rem}.ui.comments .comment>.content{display:block}.ui.comments .comment>.avatar~.content{margin-left:3.5em}.ui.comments .comment .author{font-size:1em;color:rgba(0,0,0,.87);font-weight:700}.ui.comments .comment a.author{cursor:pointer}.ui.comments .comment a.author:hover{color:#1e70bf}.ui.comments .comment .metadata{display:inline-block;margin-left:.5em;color:rgba(0,0,0,.4);font-size:.875em}.ui.comments .comment .metadata>*{display:inline-block;margin:0 .5em 0 0}.ui.comments .comment .metadata>:last-child{margin-right:0}.ui.comments .comment .text{margin:.25em 0 .5em;font-size:1em;word-wrap:break-word;color:rgba(0,0,0,.87);line-height:1.3}.ui.comments .comment .actions{font-size:.875em}.ui.comments .comment .actions a{cursor:pointer;display:inline-block;margin:0 .75em 0 0;color:rgba(0,0,0,.4)}.ui.comments .comment .actions a:last-child{margin-right:0}.ui.comments .comment .actions a.active,.ui.comments .comment .actions a:hover{color:rgba(0,0,0,.8)}.ui.comments>.reply.form{margin-top:1em}.ui.comments .comment .reply.form{width:100%;margin-top:1em}.ui.comments .reply.form textarea{font-size:1em;height:12em}.ui.collapsed.comments,.ui.comments .collapsed.comment,.ui.comments .collapsed.comments{display:none}.ui.threaded.comments .comment .comments{margin:-1.5em 0 -1em 1.25em;padding:3em 0 2em 2.25em;-webkit-box-shadow:-1px 0 0 rgba(34,36,38,.15);box-shadow:-1px 0 0 rgba(34,36,38,.15)}.ui.minimal.comments .comment .actions{opacity:0;position:absolute;top:0;right:0;left:auto;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;-webkit-transition-delay:.1s;transition-delay:.1s}.ui.minimal.comments .comment>.content:hover>.actions{opacity:1}.ui.mini.comments{font-size:.78571429rem}.ui.tiny.comments{font-size:.85714286rem}.ui.small.comments{font-size:.92857143rem}.ui.comments{font-size:1rem}.ui.large.comments{font-size:1.14285714rem}.ui.big.comments{font-size:1.28571429rem}.ui.huge.comments{font-size:1.42857143rem}.ui.massive.comments{font-size:1.71428571rem}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Container
|
||||
* # Semantic UI 2.4.1 - Container
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Container
|
||||
* # Semantic UI 2.4.1 - Container
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
73
semantic/out/components/dimmer.css → Resources/semantic/out/components/dimmer.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Dimmer
|
||||
* # Semantic UI 2.4.0 - Dimmer
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
Dimmer
|
||||
*******************************/
|
||||
|
||||
.dimmable:not(.body) {
|
||||
.dimmable:not(body) {
|
||||
position: relative;
|
||||
}
|
||||
.ui.dimmer {
|
||||
|
|
@ -25,6 +25,7 @@
|
|||
height: 100%;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
padding: 1em;
|
||||
background-color: rgba(0, 0, 0, 0.85);
|
||||
opacity: 0;
|
||||
line-height: 1;
|
||||
|
|
@ -34,6 +35,16 @@
|
|||
animation-duration: 0.5s;
|
||||
-webkit-transition: background-color 0.5s linear;
|
||||
transition: background-color 0.5s linear;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
|
|
@ -44,17 +55,10 @@
|
|||
|
||||
/* Dimmer Content */
|
||||
.ui.dimmer > .content {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: table;
|
||||
-webkit-user-select: text;
|
||||
-moz-user-select: text;
|
||||
-ms-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
.ui.dimmer > .content > * {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
|
|
@ -63,21 +67,43 @@
|
|||
border-radius: inherit !important;
|
||||
}
|
||||
|
||||
/* Scrollbars */
|
||||
.ui.dimmer:not(.inverted)::-webkit-scrollbar-track {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb {
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:window-inactive {
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:hover {
|
||||
background: rgba(255, 255, 255, 0.35);
|
||||
}
|
||||
|
||||
|
||||
/*******************************
|
||||
States
|
||||
*******************************/
|
||||
|
||||
|
||||
/* Animating */
|
||||
.animating.dimmable:not(body),
|
||||
.dimmed.dimmable:not(body) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Animating / Active / Visible */
|
||||
.dimmed.dimmable > .ui.animating.dimmer,
|
||||
.dimmed.dimmable > .ui.visible.dimmer,
|
||||
.ui.active.dimmer {
|
||||
display: block;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Disabled */
|
||||
.ui.disabled.dimmer {
|
||||
width: 0 !important;
|
||||
height: 0 !important;
|
||||
|
|
@ -89,6 +115,33 @@
|
|||
*******************************/
|
||||
|
||||
|
||||
/*--------------
|
||||
Legacy
|
||||
---------------*/
|
||||
|
||||
|
||||
/* Animating / Active / Visible */
|
||||
.dimmed.dimmable > .ui.animating.legacy.dimmer,
|
||||
.dimmed.dimmable > .ui.visible.legacy.dimmer,
|
||||
.ui.active.legacy.dimmer {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*--------------
|
||||
Alignment
|
||||
---------------*/
|
||||
|
||||
.ui[class*="top aligned"].dimmer {
|
||||
-webkit-box-pack: start;
|
||||
-ms-flex-pack: start;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.ui[class*="bottom aligned"].dimmer {
|
||||
-webkit-box-pack: end;
|
||||
-ms-flex-pack: end;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
/*--------------
|
||||
Page
|
||||
---------------*/
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Dimmer
|
||||
* # Semantic UI 2.4.1 - Dimmer
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
;(function ($, window, document, undefined) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
window = (typeof window != 'undefined' && window.Math == Math)
|
||||
? window
|
||||
|
|
@ -83,7 +83,6 @@ $.fn.dimmer = function(parameters) {
|
|||
else {
|
||||
$dimmer = module.create();
|
||||
}
|
||||
module.set.variation();
|
||||
}
|
||||
},
|
||||
|
||||
|
|
@ -157,7 +156,7 @@ $.fn.dimmer = function(parameters) {
|
|||
module.hide();
|
||||
event.stopImmediatePropagation();
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
addContent: function(element) {
|
||||
|
|
@ -190,6 +189,7 @@ $.fn.dimmer = function(parameters) {
|
|||
: function(){}
|
||||
;
|
||||
module.debug('Showing dimmer', $dimmer, settings);
|
||||
module.set.variation();
|
||||
if( (!module.is.dimmed() || module.is.animating()) && module.is.enabled() ) {
|
||||
module.animate.show(callback);
|
||||
settings.onShow.call(element);
|
||||
|
|
@ -233,11 +233,22 @@ $.fn.dimmer = function(parameters) {
|
|||
: function(){}
|
||||
;
|
||||
if(settings.useCSS && $.fn.transition !== undefined && $dimmer.transition('is supported')) {
|
||||
if(settings.useFlex) {
|
||||
module.debug('Using flex dimmer');
|
||||
module.remove.legacy();
|
||||
}
|
||||
else {
|
||||
module.debug('Using legacy non-flex dimmer');
|
||||
module.set.legacy();
|
||||
}
|
||||
if(settings.opacity !== 'auto') {
|
||||
module.set.opacity();
|
||||
}
|
||||
$dimmer
|
||||
.transition({
|
||||
displayType : settings.useFlex
|
||||
? 'flex'
|
||||
: 'block',
|
||||
animation : settings.transition + ' in',
|
||||
queue : false,
|
||||
duration : module.get.duration(),
|
||||
|
|
@ -282,6 +293,9 @@ $.fn.dimmer = function(parameters) {
|
|||
module.verbose('Hiding dimmer with css');
|
||||
$dimmer
|
||||
.transition({
|
||||
displayType : settings.useFlex
|
||||
? 'flex'
|
||||
: 'block',
|
||||
animation : settings.transition + ' out',
|
||||
queue : false,
|
||||
duration : module.get.duration(),
|
||||
|
|
@ -290,6 +304,7 @@ $.fn.dimmer = function(parameters) {
|
|||
module.remove.dimmed();
|
||||
},
|
||||
onComplete : function() {
|
||||
module.remove.variation();
|
||||
module.remove.active();
|
||||
callback();
|
||||
}
|
||||
|
|
@ -403,6 +418,9 @@ $.fn.dimmer = function(parameters) {
|
|||
module.debug('Setting opacity to', opacity);
|
||||
$dimmer.css('background-color', color);
|
||||
},
|
||||
legacy: function() {
|
||||
$dimmer.addClass(className.legacy);
|
||||
},
|
||||
active: function() {
|
||||
$dimmer.addClass(className.active);
|
||||
},
|
||||
|
|
@ -432,6 +450,9 @@ $.fn.dimmer = function(parameters) {
|
|||
.removeClass(className.active)
|
||||
;
|
||||
},
|
||||
legacy: function() {
|
||||
$dimmer.removeClass(className.legacy);
|
||||
},
|
||||
dimmed: function() {
|
||||
$dimmable.removeClass(className.dimmed);
|
||||
},
|
||||
|
|
@ -645,6 +666,9 @@ $.fn.dimmer.settings = {
|
|||
verbose : false,
|
||||
performance : true,
|
||||
|
||||
// whether should use flex layout
|
||||
useFlex : true,
|
||||
|
||||
// name to distinguish between multiple dimmers in context
|
||||
dimmerName : false,
|
||||
|
||||
|
|
@ -688,6 +712,7 @@ $.fn.dimmer.settings = {
|
|||
dimmer : 'dimmer',
|
||||
disabled : 'disabled',
|
||||
hide : 'hide',
|
||||
legacy : 'legacy',
|
||||
pageDimmer : 'page',
|
||||
show : 'show'
|
||||
},
|
||||
9
Resources/semantic/out/components/dimmer.min.css
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/*!
|
||||
* # Semantic UI 2.4.0 - Dimmer
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
* Released under the MIT license
|
||||
* http://opensource.org/licenses/MIT
|
||||
*
|
||||
*/.dimmable:not(body){position:relative}.ui.dimmer{display:none;position:absolute;top:0!important;left:0!important;width:100%;height:100%;text-align:center;vertical-align:middle;padding:1em;background-color:rgba(0,0,0,.85);opacity:0;line-height:1;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-transition:background-color .5s linear;transition:background-color .5s linear;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;will-change:opacity;z-index:1000}.ui.dimmer>.content{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;color:#fff}.ui.segment>.ui.dimmer{border-radius:inherit!important}.ui.dimmer:not(.inverted)::-webkit-scrollbar-track{background:rgba(255,255,255,.1)}.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb{background:rgba(255,255,255,.25)}.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:window-inactive{background:rgba(255,255,255,.15)}.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.35)}.animating.dimmable:not(body),.dimmed.dimmable:not(body){overflow:hidden}.dimmed.dimmable>.ui.animating.dimmer,.dimmed.dimmable>.ui.visible.dimmer,.ui.active.dimmer{display:-webkit-box;display:-ms-flexbox;display:flex;opacity:1}.ui.disabled.dimmer{width:0!important;height:0!important}.dimmed.dimmable>.ui.animating.legacy.dimmer,.dimmed.dimmable>.ui.visible.legacy.dimmer,.ui.active.legacy.dimmer{display:block}.ui[class*="top aligned"].dimmer{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.ui[class*="bottom aligned"].dimmer{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.ui.page.dimmer{position:fixed;-webkit-transform-style:'';transform-style:'';-webkit-perspective:2000px;perspective:2000px;-webkit-transform-origin:center center;transform-origin:center center}body.animating.in.dimmable,body.dimmed.dimmable{overflow:hidden}body.dimmable>.dimmer{position:fixed}.blurring.dimmable>:not(.dimmer){-webkit-filter:blur(0) grayscale(0);filter:blur(0) grayscale(0);-webkit-transition:.8s -webkit-filter ease;transition:.8s -webkit-filter ease;transition:.8s filter ease;transition:.8s filter ease,.8s -webkit-filter ease}.blurring.dimmed.dimmable>:not(.dimmer){-webkit-filter:blur(5px) grayscale(.7);filter:blur(5px) grayscale(.7)}.blurring.dimmable>.dimmer{background-color:rgba(0,0,0,.6)}.blurring.dimmable>.inverted.dimmer{background-color:rgba(255,255,255,.6)}.ui.dimmer>.top.aligned.content>*{vertical-align:top}.ui.dimmer>.bottom.aligned.content>*{vertical-align:bottom}.ui.inverted.dimmer{background-color:rgba(255,255,255,.85)}.ui.inverted.dimmer>.content>*{color:#fff}.ui.simple.dimmer{display:block;overflow:hidden;opacity:1;width:0%;height:0%;z-index:-100;background-color:rgba(0,0,0,0)}.dimmed.dimmable>.ui.simple.dimmer{overflow:visible;opacity:1;width:100%;height:100%;background-color:rgba(0,0,0,.85);z-index:1}.ui.simple.inverted.dimmer{background-color:rgba(255,255,255,0)}.dimmed.dimmable>.ui.simple.inverted.dimmer{background-color:rgba(255,255,255,.85)}
|
||||
1
Resources/semantic/out/components/dimmer.min.js
vendored
Normal file
2
semantic/out/components/divider.css → Resources/semantic/out/components/divider.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Divider
|
||||
* # Semantic UI 2.4.1 - Divider
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
9
Resources/semantic/out/components/divider.min.css
vendored
Normal file
240
semantic/out/components/dropdown.css → Resources/semantic/out/components/dropdown.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Dropdown
|
||||
* # Semantic UI 2.4.0 - Dropdown
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -19,8 +19,10 @@
|
|||
display: inline-block;
|
||||
outline: none;
|
||||
text-align: left;
|
||||
-webkit-transition: box-shadow 0.1s ease, width 0.1s ease;
|
||||
-webkit-transition: width 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
transition: width 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
transition: box-shadow 0.1s ease, width 0.1s ease;
|
||||
transition: box-shadow 0.1s ease, width 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
|
|
@ -49,7 +51,8 @@
|
|||
font-size: 1em;
|
||||
text-shadow: none;
|
||||
text-align: left;
|
||||
box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
border: 1px solid rgba(34, 36, 38, 0.15);
|
||||
border-radius: 0.28571429rem;
|
||||
-webkit-transition: opacity 0.1s ease;
|
||||
|
|
@ -117,7 +120,8 @@
|
|||
font-size: 1rem;
|
||||
text-transform: none;
|
||||
font-weight: normal;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
-webkit-touch-callout: none;
|
||||
}
|
||||
.ui.dropdown .menu > .item:first-child {
|
||||
|
|
@ -164,7 +168,7 @@
|
|||
height: 0em;
|
||||
margin: 0.5em 0em;
|
||||
}
|
||||
.ui.dropdown .menu > .input {
|
||||
.ui.dropdown.dropdown .menu > .input {
|
||||
width: auto;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
|
|
@ -214,8 +218,8 @@
|
|||
|
||||
.ui.dropdown .menu .menu {
|
||||
top: 0% !important;
|
||||
left: 100% !important;
|
||||
right: auto !important;
|
||||
left: 100%;
|
||||
right: auto;
|
||||
margin: 0em 0em 0em -0.5em !important;
|
||||
border-radius: 0.28571429rem !important;
|
||||
z-index: 21 !important;
|
||||
|
|
@ -270,8 +274,10 @@
|
|||
.ui.dropdown .menu > .item > .image,
|
||||
.ui.dropdown .menu > .item > img {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
vertical-align: top;
|
||||
width: auto;
|
||||
margin-top: -0.5em;
|
||||
margin-bottom: -0.5em;
|
||||
max-height: 2em;
|
||||
}
|
||||
|
||||
|
|
@ -354,11 +360,14 @@
|
|||
display: inline-block;
|
||||
padding: 0.78571429em 2.1em 0.78571429em 1em;
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
border: 1px solid rgba(34, 36, 38, 0.15);
|
||||
border-radius: 0.28571429rem;
|
||||
-webkit-transition: box-shadow 0.1s ease, width 0.1s ease;
|
||||
-webkit-transition: width 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
transition: width 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
transition: box-shadow 0.1s ease, width 0.1s ease;
|
||||
transition: box-shadow 0.1s ease, width 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
}
|
||||
.ui.selection.dropdown.visible,
|
||||
.ui.selection.dropdown.active {
|
||||
|
|
@ -382,7 +391,7 @@ select.ui.dropdown {
|
|||
right: 1em;
|
||||
z-index: 3;
|
||||
margin: -0.78571429em;
|
||||
padding: 0.78571429em;
|
||||
padding: 0.91666667em;
|
||||
opacity: 0.8;
|
||||
-webkit-transition: opacity 0.1s ease;
|
||||
transition: opacity 0.1s ease;
|
||||
|
|
@ -407,7 +416,8 @@ select.ui.dropdown {
|
|||
min-width: calc(100% + 2px );
|
||||
width: calc(100% + 2px );
|
||||
border-radius: 0em 0em 0.28571429rem 0.28571429rem;
|
||||
box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-transition: opacity 0.1s ease;
|
||||
transition: opacity 0.1s ease;
|
||||
}
|
||||
|
|
@ -460,27 +470,32 @@ select.ui.dropdown {
|
|||
/* Hover */
|
||||
.ui.selection.dropdown:hover {
|
||||
border-color: rgba(34, 36, 38, 0.35);
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Active */
|
||||
.ui.selection.active.dropdown {
|
||||
border-color: #96C8DA;
|
||||
box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
.ui.selection.active.dropdown .menu {
|
||||
border-color: #96C8DA;
|
||||
box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
|
||||
/* Focus */
|
||||
.ui.selection.dropdown:focus {
|
||||
border-color: #96C8DA;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.ui.selection.dropdown:focus .menu {
|
||||
border-color: #96C8DA;
|
||||
box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
|
||||
/* Visible */
|
||||
|
|
@ -492,17 +507,19 @@ select.ui.dropdown {
|
|||
/* Visible Hover */
|
||||
.ui.selection.active.dropdown:hover {
|
||||
border-color: #96C8DA;
|
||||
box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
.ui.selection.active.dropdown:hover .menu {
|
||||
border-color: #96C8DA;
|
||||
box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
|
||||
/* Dropdown Icon */
|
||||
.ui.active.selection.dropdown > .dropdown.icon,
|
||||
.ui.visible.selection.dropdown > .dropdown.icon {
|
||||
opacity: 1;
|
||||
opacity: '';
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
|
|
@ -515,11 +532,13 @@ select.ui.dropdown {
|
|||
/* Empty Connecting Border */
|
||||
.ui.active.empty.selection.dropdown {
|
||||
border-radius: 0.28571429rem !important;
|
||||
box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
.ui.active.empty.selection.dropdown .menu {
|
||||
border: none !important;
|
||||
box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
/*--------------
|
||||
|
|
@ -536,7 +555,8 @@ select.ui.dropdown {
|
|||
.ui.search.dropdown > input.search {
|
||||
background: none transparent !important;
|
||||
border: none !important;
|
||||
box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
cursor: text;
|
||||
top: 0em;
|
||||
left: 1px;
|
||||
|
|
@ -651,7 +671,8 @@ select.ui.dropdown {
|
|||
font-size: 1em;
|
||||
padding: 0.35714286em 0.78571429em;
|
||||
margin: 0.14285714rem 0.28571429rem 0.14285714rem 0em;
|
||||
box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
||||
box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
||||
}
|
||||
|
||||
/* Dropdown Icon */
|
||||
|
|
@ -714,7 +735,7 @@ select.ui.dropdown {
|
|||
color: inherit;
|
||||
}
|
||||
.ui.inline.dropdown .dropdown.icon {
|
||||
margin: 0em 0.5em 0em 0.21428571em;
|
||||
margin: 0em 0.21428571em 0em 0.21428571em;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
.ui.inline.dropdown > .text {
|
||||
|
|
@ -742,7 +763,8 @@ select.ui.dropdown {
|
|||
background: transparent;
|
||||
font-weight: bold;
|
||||
color: rgba(0, 0, 0, 0.95);
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
z-index: 12;
|
||||
}
|
||||
|
||||
|
|
@ -764,7 +786,9 @@ select.ui.dropdown {
|
|||
|
||||
.ui.loading.dropdown > i.icon {
|
||||
height: 1em !important;
|
||||
padding: 1.14285714em 1.07142857em !important;
|
||||
}
|
||||
.ui.loading.selection.dropdown > i.icon {
|
||||
padding: 1.5em 1.28571429em !important;
|
||||
}
|
||||
.ui.loading.dropdown > i.icon:before {
|
||||
position: absolute;
|
||||
|
|
@ -782,7 +806,8 @@ select.ui.dropdown {
|
|||
content: '';
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
box-shadow: 0px 0px 0px 1px transparent;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px transparent;
|
||||
box-shadow: 0px 0px 0px 1px transparent;
|
||||
margin: -0.64285714em 0em 0em -0.64285714em;
|
||||
width: 1.28571429em;
|
||||
height: 1.28571429em;
|
||||
|
|
@ -830,8 +855,8 @@ select.ui.dropdown {
|
|||
.ui.default.dropdown:not(.button) > .text {
|
||||
color: rgba(191, 191, 191, 0.87);
|
||||
}
|
||||
.ui.dropdown:not(.button) > input:focus + .default.text,
|
||||
.ui.default.dropdown:not(.button) > input:focus + .text {
|
||||
.ui.dropdown:not(.button) > input:focus ~ .default.text,
|
||||
.ui.default.dropdown:not(.button) > input:focus ~ .text {
|
||||
color: rgba(115, 115, 115, 0.87);
|
||||
}
|
||||
|
||||
|
|
@ -850,6 +875,14 @@ select.ui.dropdown {
|
|||
visibility: hidden;
|
||||
z-index: -1;
|
||||
}
|
||||
.ui.dropdown > .loading.menu {
|
||||
left: 0px !important;
|
||||
right: auto !important;
|
||||
}
|
||||
.ui.dropdown > .menu .loading.menu {
|
||||
left: 100% !important;
|
||||
right: auto !important;
|
||||
}
|
||||
|
||||
/*--------------------
|
||||
Keyboard Select
|
||||
|
|
@ -913,6 +946,19 @@ select.ui.dropdown {
|
|||
background-color: #FDCFCF;
|
||||
}
|
||||
|
||||
/*--------------------
|
||||
Clear
|
||||
----------------------*/
|
||||
|
||||
.ui.dropdown > .clear.dropdown.icon {
|
||||
opacity: 0.8;
|
||||
-webkit-transition: opacity 0.1s ease;
|
||||
transition: opacity 0.1s ease;
|
||||
}
|
||||
.ui.dropdown > .clear.dropdown.icon:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/*--------------------
|
||||
Disabled
|
||||
----------------------*/
|
||||
|
|
@ -950,28 +996,34 @@ select.ui.dropdown {
|
|||
border-radius: 0.28571429rem !important;
|
||||
}
|
||||
|
||||
/* Left Flyout Menu */
|
||||
/* Leftward Opening Menu */
|
||||
.ui.dropdown > .left.menu {
|
||||
left: auto !important;
|
||||
right: 0px !important;
|
||||
}
|
||||
.ui.dropdown > .left.menu .menu,
|
||||
.ui.dropdown .menu .left.menu {
|
||||
left: auto !important;
|
||||
right: 100% !important;
|
||||
left: auto;
|
||||
right: 100%;
|
||||
margin: 0em -0.5em 0em 0em !important;
|
||||
border-radius: 0.28571429rem !important;
|
||||
}
|
||||
.ui.dropdown .item .left.dropdown.icon,
|
||||
.ui.dropdown .left.menu .item .dropdown.icon {
|
||||
width: auto;
|
||||
float: left;
|
||||
margin: 0em 0.78571429rem 0em 0em;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
.ui.dropdown .item .left.dropdown.icon,
|
||||
.ui.dropdown .left.menu .item .dropdown.icon {
|
||||
width: auto;
|
||||
float: left;
|
||||
margin: 0em 0.78571429rem 0em 0em;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
.ui.dropdown .item .left.dropdown.icon + .text,
|
||||
.ui.dropdown .left.menu .item .dropdown.icon + .text {
|
||||
margin-left: 1em;
|
||||
margin-right: 0em;
|
||||
}
|
||||
|
||||
/*--------------
|
||||
|
|
@ -983,7 +1035,8 @@ select.ui.dropdown {
|
|||
.ui.upward.dropdown > .menu {
|
||||
top: auto;
|
||||
bottom: 100%;
|
||||
box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
|
||||
-webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
|
||||
box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
|
||||
border-radius: 0.28571429rem 0.28571429rem 0em 0em;
|
||||
}
|
||||
|
||||
|
|
@ -1006,10 +1059,12 @@ select.ui.dropdown {
|
|||
.ui.upward.selection.dropdown .menu {
|
||||
border-top-width: 1px !important;
|
||||
border-bottom-width: 0px !important;
|
||||
box-shadow: 0px -2px 3px 0px rgba(0, 0, 0, 0.08);
|
||||
-webkit-box-shadow: 0px -2px 3px 0px rgba(0, 0, 0, 0.08);
|
||||
box-shadow: 0px -2px 3px 0px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
.ui.upward.selection.dropdown:hover {
|
||||
box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.05);
|
||||
-webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.05);
|
||||
box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
/* Active Upward */
|
||||
|
|
@ -1019,16 +1074,19 @@ select.ui.dropdown {
|
|||
|
||||
/* Visible Upward */
|
||||
.ui.upward.selection.dropdown.visible {
|
||||
box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
|
||||
-webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
|
||||
box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
|
||||
border-radius: 0em 0em 0.28571429rem 0.28571429rem !important;
|
||||
}
|
||||
|
||||
/* Visible Hover Upward */
|
||||
.ui.upward.active.selection.dropdown:hover {
|
||||
box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.05);
|
||||
-webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.05);
|
||||
box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
.ui.upward.active.selection.dropdown:hover .menu {
|
||||
box-shadow: 0px -2px 3px 0px rgba(0, 0, 0, 0.08);
|
||||
-webkit-box-shadow: 0px -2px 3px 0px rgba(0, 0, 0, 0.08);
|
||||
box-shadow: 0px -2px 3px 0px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
/*--------------
|
||||
|
|
@ -1055,7 +1113,8 @@ select.ui.dropdown {
|
|||
position: static;
|
||||
overflow-y: auto;
|
||||
border: none;
|
||||
box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
border-radius: 0 !important;
|
||||
margin: 0 !important;
|
||||
min-width: 100% !important;
|
||||
|
|
@ -1182,7 +1241,8 @@ select.ui.dropdown {
|
|||
.ui.floating.dropdown .menu {
|
||||
left: 0;
|
||||
right: auto;
|
||||
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15) !important;
|
||||
-webkit-box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15) !important;
|
||||
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15) !important;
|
||||
border-radius: 0.28571429rem !important;
|
||||
}
|
||||
.ui.floating.dropdown > .menu {
|
||||
|
|
@ -1209,7 +1269,8 @@ select.ui.dropdown {
|
|||
transform: rotate(45deg);
|
||||
width: 0.5em;
|
||||
height: 0.5em;
|
||||
box-shadow: -1px -1px 0px 1px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: -1px -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: -1px -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
background: #FFFFFF;
|
||||
z-index: 2;
|
||||
}
|
||||
|
|
@ -1243,7 +1304,7 @@ select.ui.dropdown {
|
|||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
/* Top Right Pointing */
|
||||
/* Top Right Pointing */
|
||||
.ui.top.right.pointing.dropdown > .menu {
|
||||
top: 100%;
|
||||
bottom: auto;
|
||||
|
|
@ -1251,10 +1312,11 @@ select.ui.dropdown {
|
|||
left: auto;
|
||||
margin: 1em 0em 0em;
|
||||
}
|
||||
.ui.top.pointing.dropdown > .left.menu:after,
|
||||
.ui.top.right.pointing.dropdown > .menu:after {
|
||||
top: -0.25em;
|
||||
left: auto;
|
||||
right: 1em;
|
||||
left: auto !important;
|
||||
right: 1em !important;
|
||||
margin: 0em;
|
||||
-webkit-transform: rotate(45deg);
|
||||
transform: rotate(45deg);
|
||||
|
|
@ -1274,6 +1336,19 @@ select.ui.dropdown {
|
|||
-webkit-transform: rotate(-45deg);
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
.ui.left:not(.top):not(.bottom).pointing.dropdown > .left.menu {
|
||||
left: auto !important;
|
||||
right: 100% !important;
|
||||
margin: 0em 1em 0em 0em;
|
||||
}
|
||||
.ui.left:not(.top):not(.bottom).pointing.dropdown > .left.menu:after {
|
||||
top: 1em;
|
||||
left: auto;
|
||||
right: -0.25em;
|
||||
margin: 0em 0em 0em 0em;
|
||||
-webkit-transform: rotate(135deg);
|
||||
transform: rotate(135deg);
|
||||
}
|
||||
|
||||
/* Right Pointing */
|
||||
.ui.right.pointing.dropdown > .menu {
|
||||
|
|
@ -1335,45 +1410,48 @@ select.ui.dropdown {
|
|||
}
|
||||
|
||||
/* Upward pointing */
|
||||
.ui.upward.pointing.dropdown > .menu,
|
||||
.ui.upward.top.pointing.dropdown > .menu {
|
||||
top: auto;
|
||||
bottom: 100%;
|
||||
.ui.pointing.upward.dropdown .menu,
|
||||
.ui.top.pointing.upward.dropdown .menu {
|
||||
top: auto !important;
|
||||
bottom: 100% !important;
|
||||
margin: 0em 0em 0.78571429rem;
|
||||
border-radius: 0.28571429rem;
|
||||
}
|
||||
.ui.upward.pointing.dropdown > .menu:after,
|
||||
.ui.upward.top.pointing.dropdown > .menu:after {
|
||||
top: 100%;
|
||||
bottom: auto;
|
||||
box-shadow: 1px 1px 0px 1px rgba(34, 36, 38, 0.15);
|
||||
.ui.pointing.upward.dropdown .menu:after,
|
||||
.ui.top.pointing.upward.dropdown .menu:after {
|
||||
top: 100% !important;
|
||||
bottom: auto !important;
|
||||
-webkit-box-shadow: 1px 1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 1px 1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
margin: -0.25em 0em 0em;
|
||||
}
|
||||
|
||||
/* Right Pointing Upward */
|
||||
.ui.upward.right.pointing.dropdown:not(.top):not(.bottom) > .menu {
|
||||
top: auto;
|
||||
bottom: 0;
|
||||
.ui.right.pointing.upward.dropdown:not(.top):not(.bottom) .menu {
|
||||
top: auto !important;
|
||||
bottom: 0 !important;
|
||||
margin: 0em 1em 0em 0em;
|
||||
}
|
||||
.ui.upward.right.pointing.dropdown:not(.top):not(.bottom) > .menu:after {
|
||||
top: auto;
|
||||
bottom: 0;
|
||||
.ui.right.pointing.upward.dropdown:not(.top):not(.bottom) .menu:after {
|
||||
top: auto !important;
|
||||
bottom: 0 !important;
|
||||
margin: 0em 0em 1em 0em;
|
||||
box-shadow: -1px -1px 0px 1px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: -1px -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: -1px -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
|
||||
/* Left Pointing Upward */
|
||||
.ui.upward.left.pointing.dropdown:not(.top):not(.bottom) > .menu {
|
||||
top: auto;
|
||||
bottom: 0;
|
||||
.ui.left.pointing.upward.dropdown:not(.top):not(.bottom) .menu {
|
||||
top: auto !important;
|
||||
bottom: 0 !important;
|
||||
margin: 0em 0em 0em 1em;
|
||||
}
|
||||
.ui.upward.left.pointing.dropdown:not(.top):not(.bottom) > .menu:after {
|
||||
top: auto;
|
||||
bottom: 0;
|
||||
.ui.left.pointing.upward.dropdown:not(.top):not(.bottom) .menu:after {
|
||||
top: auto !important;
|
||||
bottom: 0 !important;
|
||||
margin: 0em 0em 1em 0em;
|
||||
box-shadow: -1px -1px 0px 1px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: -1px -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: -1px -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -1385,7 +1463,7 @@ select.ui.dropdown {
|
|||
/* Dropdown Carets */
|
||||
@font-face {
|
||||
font-family: 'Dropdown';
|
||||
src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggjB5AAAAC8AAAAYGNtYXAPfuIIAAABHAAAAExnYXNwAAAAEAAAAWgAAAAIZ2x5Zjo82LgAAAFwAAABVGhlYWQAQ88bAAACxAAAADZoaGVhAwcB6QAAAvwAAAAkaG10eAS4ABIAAAMgAAAAIGxvY2EBNgDeAAADQAAAABJtYXhwAAoAFgAAA1QAAAAgbmFtZVcZpu4AAAN0AAABRXBvc3QAAwAAAAAEvAAAACAAAwIAAZAABQAAAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADw2gHg/+D/4AHgACAAAAABAAAAAAAAAAAAAAAgAAAAAAACAAAAAwAAABQAAwABAAAAFAAEADgAAAAKAAgAAgACAAEAIPDa//3//wAAAAAAIPDX//3//wAB/+MPLQADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAIABJQElABMAABM0NzY3BTYXFhUUDwEGJwYvASY1AAUGBwEACAUGBoAFCAcGgAUBEgcGBQEBAQcECQYHfwYBAQZ/BwYAAQAAAG4BJQESABMAADc0PwE2MzIfARYVFAcGIyEiJyY1AAWABgcIBYAGBgUI/wAHBgWABwaABQWABgcHBgUFBgcAAAABABIASQC3AW4AEwAANzQ/ATYXNhcWHQEUBwYnBi8BJjUSBoAFCAcFBgYFBwgFgAbbBwZ/BwEBBwQJ/wgEBwEBB38GBgAAAAABAAAASQClAW4AEwAANxE0NzYzMh8BFhUUDwEGIyInJjUABQYHCAWABgaABQgHBgVbAQAIBQYGgAUIBwWABgYFBwAAAAEAAAABAADZuaKOXw889QALAgAAAAAA0ABHWAAAAADQAEdYAAAAAAElAW4AAAAIAAIAAAAAAAAAAQAAAeD/4AAAAgAAAAAAASUAAQAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAABAAAAASUAAAElAAAAtwASALcAAAAAAAAACgAUAB4AQgBkAIgAqgAAAAEAAAAIABQAAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAOAAAAAQAAAAAAAgAOAEcAAQAAAAAAAwAOACQAAQAAAAAABAAOAFUAAQAAAAAABQAWAA4AAQAAAAAABgAHADIAAQAAAAAACgA0AGMAAwABBAkAAQAOAAAAAwABBAkAAgAOAEcAAwABBAkAAwAOACQAAwABBAkABAAOAFUAAwABBAkABQAWAA4AAwABBAkABgAOADkAAwABBAkACgA0AGMAaQBjAG8AbQBvAG8AbgBWAGUAcgBzAGkAbwBuACAAMQAuADAAaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AbgBSAGUAZwB1AGwAYQByAGkAYwBvAG0AbwBvAG4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=) format('truetype'), url(data:application/font-woff;charset=utf-8;base64,d09GRk9UVE8AAAVwAAoAAAAABSgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAAA9AAAAdkAAAHZLDXE/09TLzIAAALQAAAAYAAAAGAIIweQY21hcAAAAzAAAABMAAAATA9+4ghnYXNwAAADfAAAAAgAAAAIAAAAEGhlYWQAAAOEAAAANgAAADYAQ88baGhlYQAAA7wAAAAkAAAAJAMHAelobXR4AAAD4AAAACAAAAAgBLgAEm1heHAAAAQAAAAABgAAAAYACFAAbmFtZQAABAgAAAFFAAABRVcZpu5wb3N0AAAFUAAAACAAAAAgAAMAAAEABAQAAQEBCGljb21vb24AAQIAAQA6+BwC+BsD+BgEHgoAGVP/i4seCgAZU/+LiwwHi2v4lPh0BR0AAACIDx0AAACNER0AAAAJHQAAAdASAAkBAQgPERMWGyAlKmljb21vb25pY29tb29udTB1MXUyMHVGMEQ3dUYwRDh1RjBEOXVGMERBAAACAYkABgAIAgABAAQABwAKAA0AVgCfAOgBL/yUDvyUDvyUDvuUDvtvi/emFYuQjZCOjo+Pj42Qiwj3lIsFkIuQiY6Hj4iNhouGi4aJh4eHCPsU+xQFiIiGiYaLhouHjYeOCPsU9xQFiI+Jj4uQCA77b4v3FBWLkI2Pjo8I9xT3FAWPjo+NkIuQi5CJjogI9xT7FAWPh42Hi4aLhomHh4eIiIaJhosI+5SLBYaLh42HjoiPiY+LkAgO+92d928Vi5CNkI+OCPcU9xQFjo+QjZCLkIuPiY6Hj4iNhouGCIv7lAWLhomHh4iIh4eJhouGi4aNiI8I+xT3FAWHjomPi5AIDvvdi+YVi/eUBYuQjZCOjo+Pj42Qi5CLkImOhwj3FPsUBY+IjYaLhouGiYeHiAj7FPsUBYiHhomGi4aLh42Hj4iOiY+LkAgO+JQU+JQViwwKAAAAAAMCAAGQAAUAAAFMAWYAAABHAUwBZgAAAPUAGQCEAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA8NoB4P/g/+AB4AAgAAAAAQAAAAAAAAAAAAAAIAAAAAAAAgAAAAMAAAAUAAMAAQAAABQABAA4AAAACgAIAAIAAgABACDw2v/9//8AAAAAACDw1//9//8AAf/jDy0AAwABAAAAAAAAAAAAAAABAAH//wAPAAEAAAABAAA5emozXw889QALAgAAAAAA0ABHWAAAAADQAEdYAAAAAAElAW4AAAAIAAIAAAAAAAAAAQAAAeD/4AAAAgAAAAAAASUAAQAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAABAAAAASUAAAElAAAAtwASALcAAAAAUAAACAAAAAAADgCuAAEAAAAAAAEADgAAAAEAAAAAAAIADgBHAAEAAAAAAAMADgAkAAEAAAAAAAQADgBVAAEAAAAAAAUAFgAOAAEAAAAAAAYABwAyAAEAAAAAAAoANABjAAMAAQQJAAEADgAAAAMAAQQJAAIADgBHAAMAAQQJAAMADgAkAAMAAQQJAAQADgBVAAMAAQQJAAUAFgAOAAMAAQQJAAYADgA5AAMAAQQJAAoANABjAGkAYwBvAG0AbwBvAG4AVgBlAHIAcwBpAG8AbgAgADEALgAwAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG4AUgBlAGcAdQBsAGEAcgBpAGMAbwBtAG8AbwBuAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format('woff');
|
||||
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAAVgAA8AAAAACFAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABWAAAABwAAAAchGgaq0dERUYAAAF0AAAAHAAAAB4AJwAPT1MvMgAAAZAAAABDAAAAVnW4TJdjbWFwAAAB1AAAAEsAAAFS8CcaqmN2dCAAAAIgAAAABAAAAAQAEQFEZ2FzcAAAAiQAAAAIAAAACP//AANnbHlmAAACLAAAAQoAAAGkrRHP9WhlYWQAAAM4AAAAMAAAADYPK8YyaGhlYQAAA2gAAAAdAAAAJANCAb1obXR4AAADiAAAACIAAAAiCBkAOGxvY2EAAAOsAAAAFAAAABQBnAIybWF4cAAAA8AAAAAfAAAAIAEVAF5uYW1lAAAD4AAAATAAAAKMFGlj5HBvc3QAAAUQAAAARgAAAHJoedjqd2ViZgAABVgAAAAGAAAABrO7W5UAAAABAAAAANXulPUAAAAA1r4hgAAAAADXu2Q1eNpjYGRgYOABYjEgZmJgBEIOIGYB8xgAA/YAN3jaY2BktGOcwMDKwMI4jTGNgYHBHUp/ZZBkaGFgYGJgZWbACgLSXFMYHFT/fLjFeOD/AQY9xjMMbkBhRpAcAN48DQYAeNpjYGBgZoBgGQZGBhDwAfIYwXwWBgMgzQGETAwMqn8+8H649f8/lHX9//9b7Pzf+fWgusCAkY0BzmUE6gHpQwGMDMMeAACbxg7SAAARAUQAAAAB//8AAnjadZBPSsNAGMXfS+yMqYgOhpSuSlKadmUhiVEhEMQzFF22m17BbbvzCh5BXCUn6EG8gjeQ4DepwYo4i+/ffL95j4EDA+CFC7jQuKyIeVHrI3wkleq9F7XrSInKteOeHdda8bOoaeepSc00NWPz/LRec9G8GabyGtEdF7h19z033GAMTK7zbM42xNEZpzYof0RtQ5CUHAQJ73OtVyutc+3b7Ou//b8XNlsPx3jgjUifABdhEohKJJL5iM5p39uqc7X1+sRQSqmGrUVhlsJ4lpmEUVwyT8SUYtg0P9DyNzPADDs+tjrGV6KRCRfsui3eHcL4/p8ZXvfMlcnEU+CLv7hDykOP+AKTPTxbAAB42mNgZGBgAGKuf5KP4vltvjLIMzGAwLV9ig0g+vruFFMQzdjACOJzMIClARh0CTJ42mNgZGBgPPD/AJD8wgAEjA0MjAyogAMAbOQEAQAAAAC7ABEAAAAAAKoAAAH0AAABgAAAAUAACAFAAAgAwAAXAAAAAAAAACoAKgAqADIAbACGAKAAugDSeNpjYGRgYOBkUGFgYgABEMkFhAwM/xn0QAIADdUBdAB42qWQvUoDQRSFv3GjaISUQaymSmGxJoGAsRC0iPYLsU50Y6IxrvlRtPCJJKUPIBb+PIHv4EN4djKuKAqCDHfmu+feOdwZoMCUAJNbAlYUMzaUlM14jjxbngOq7HnOia89z1Pk1vMCa9x7ztPkzfMyJbPj+ZGi6Xp+omxuPD+zaD7meaFg7mb8GrBqHmhwxoAxlm0uiRkpP9X5m26pKRoMxTGR1D49Dv/Yb/91o6l8qL6eu5n2hZQzn68utR9m3FU2cB4t9cdSLG2utI+44Eh/P9bqKO+oJ/WxmXssj77YkrjasZQD6SFddythk3Wtzrf+UF2p076Udla1VNzsERP3kkjVRKel7mp1udXYcHtZSlV7RfmJe1GiFWveluaeKD5/MuJcSk8Tpm/vvwPIbmJleNpjYGKAAFYG7ICTgYGRiZGZkYWRlZGNkZ2Rg5GTLT2nsiDDEEIZsZfmZRqZujmDaDcDAxcI7WIOpS2gtCWUdgQAZkcSmQAAAAFblbO6AAA=) format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
|
@ -1420,19 +1498,15 @@ select.ui.dropdown {
|
|||
.ui.vertical.menu .dropdown.item > .dropdown.icon:before {
|
||||
content: "\f0da" /*rtl:"\f0d9"*/;
|
||||
}
|
||||
/* Icons for Reference
|
||||
.dropdown.down.icon {
|
||||
content: "\f0d7";
|
||||
}
|
||||
.dropdown.up.icon {
|
||||
content: "\f0d8";
|
||||
}
|
||||
.dropdown.left.icon {
|
||||
content: "\f0d9";
|
||||
}
|
||||
.dropdown.icon.icon {
|
||||
content: "\f0da";
|
||||
.ui.dropdown > .clear.icon:before {
|
||||
content: "\f00d";
|
||||
}
|
||||
/* Icons for Reference (Subsetted in 2.4.0)
|
||||
.dropdown.down:before { content: "\f0d7"; }
|
||||
.dropdown.up:before { content: "\f0d8"; }
|
||||
.dropdown.left:before { content: "\f0d9"; }
|
||||
.dropdown.right:before { content: "\f0da"; }
|
||||
.dropdown.close:before { content: "\f00d"; }
|
||||
*/
|
||||
|
||||
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI - Dropdown
|
||||
* # Semantic UI 2.4.1 - Dropdown
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
;(function ($, window, document, undefined) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
window = (typeof window != 'undefined' && window.Math == Math)
|
||||
? window
|
||||
|
|
@ -97,7 +97,13 @@ $.fn.dropdown = function(parameters) {
|
|||
module.setup.reference();
|
||||
}
|
||||
else {
|
||||
|
||||
module.setup.layout();
|
||||
|
||||
if(settings.values) {
|
||||
module.change.values(settings.values);
|
||||
}
|
||||
|
||||
module.refreshData();
|
||||
|
||||
module.save.defaults();
|
||||
|
|
@ -162,7 +168,7 @@ $.fn.dropdown = function(parameters) {
|
|||
observe: {
|
||||
select: function() {
|
||||
if(module.has.input()) {
|
||||
selectObserver.observe($input[0], {
|
||||
selectObserver.observe($module[0], {
|
||||
childList : true,
|
||||
subtree : true
|
||||
});
|
||||
|
|
@ -383,19 +389,16 @@ $.fn.dropdown = function(parameters) {
|
|||
reference: function() {
|
||||
module.debug('Dropdown behavior was called on select, replacing with closest dropdown');
|
||||
// replace module reference
|
||||
$module = $module.parent(selector.dropdown);
|
||||
$module = $module.parent(selector.dropdown);
|
||||
instance = $module.data(moduleNamespace);
|
||||
element = $module.get(0);
|
||||
module.refresh();
|
||||
module.setup.returnedObject();
|
||||
// invoke method in context of current instance
|
||||
if(methodInvoked) {
|
||||
instance = module;
|
||||
module.invoke(query);
|
||||
}
|
||||
},
|
||||
returnedObject: function() {
|
||||
var
|
||||
$firstModules = $allModules.slice(0, elementIndex),
|
||||
$lastModules = $allModules.slice(elementIndex + 1)
|
||||
$lastModules = $allModules.slice(elementIndex + 1)
|
||||
;
|
||||
// adjust all modules to use correct reference
|
||||
$allModules = $firstModules.add($module).add($lastModules);
|
||||
|
|
@ -493,7 +496,7 @@ $.fn.dropdown = function(parameters) {
|
|||
? callback
|
||||
: function(){}
|
||||
;
|
||||
if( module.is.active() ) {
|
||||
if( module.is.active() && !module.is.animatingOutward() ) {
|
||||
module.debug('Hiding dropdown');
|
||||
if(settings.onHide.call(element) !== false) {
|
||||
module.animate.hide(function() {
|
||||
|
|
@ -602,7 +605,6 @@ $.fn.dropdown = function(parameters) {
|
|||
else {
|
||||
if(settings.on == 'click') {
|
||||
$module
|
||||
.on('click' + eventNamespace, selector.icon, module.event.icon.click)
|
||||
.on('click' + eventNamespace, module.event.test.toggle)
|
||||
;
|
||||
}
|
||||
|
|
@ -618,6 +620,7 @@ $.fn.dropdown = function(parameters) {
|
|||
;
|
||||
}
|
||||
$module
|
||||
.on('click' + eventNamespace, selector.icon, module.event.icon.click)
|
||||
.on('mousedown' + eventNamespace, module.event.mousedown)
|
||||
.on('mouseup' + eventNamespace, module.event.mouseup)
|
||||
.on('focus' + eventNamespace, module.event.focus)
|
||||
|
|
@ -677,7 +680,9 @@ $.fn.dropdown = function(parameters) {
|
|||
if(module.is.multiple()) {
|
||||
module.filterActive();
|
||||
}
|
||||
module.select.firstUnfiltered();
|
||||
if(query || (!query && module.get.activeItem().length == 0)) {
|
||||
module.select.firstUnfiltered();
|
||||
}
|
||||
if( module.has.allResultsFiltered() ) {
|
||||
if( settings.onNoResults.call(element, searchTerm) ) {
|
||||
if(settings.allowAdditions) {
|
||||
|
|
@ -749,10 +754,19 @@ $.fn.dropdown = function(parameters) {
|
|||
callback();
|
||||
},
|
||||
onSuccess : function(response) {
|
||||
module.remove.message();
|
||||
module.setup.menu({
|
||||
values: response[fields.remoteValues]
|
||||
});
|
||||
var
|
||||
values = response[fields.remoteValues],
|
||||
hasRemoteValues = ($.isArray(values) && values.length > 0)
|
||||
;
|
||||
if(hasRemoteValues) {
|
||||
module.remove.message();
|
||||
module.setup.menu({
|
||||
values: response[fields.remoteValues]
|
||||
});
|
||||
}
|
||||
else {
|
||||
module.add.message(message.noResults);
|
||||
}
|
||||
callback();
|
||||
}
|
||||
}
|
||||
|
|
@ -911,6 +925,23 @@ $.fn.dropdown = function(parameters) {
|
|||
}
|
||||
},
|
||||
|
||||
change: {
|
||||
values: function(values) {
|
||||
if(!settings.allowAdditions) {
|
||||
module.clear();
|
||||
}
|
||||
module.debug('Creating dropdown with specified values', values);
|
||||
module.setup.menu({values: values});
|
||||
$.each(values, function(index, item) {
|
||||
if(item.selected == true) {
|
||||
module.debug('Setting initial selection to', item.value);
|
||||
module.set.selected(item.value);
|
||||
return true;
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
event: {
|
||||
change: function() {
|
||||
if(!internalChange) {
|
||||
|
|
@ -975,7 +1006,7 @@ $.fn.dropdown = function(parameters) {
|
|||
},
|
||||
blur: function(event) {
|
||||
pageLostFocus = (document.activeElement === this);
|
||||
if(!willRefocus) {
|
||||
if(module.is.searchSelection() && !willRefocus) {
|
||||
if(!itemActivated && !pageLostFocus) {
|
||||
if(settings.forceSelection) {
|
||||
module.forceSelection();
|
||||
|
|
@ -988,7 +1019,12 @@ $.fn.dropdown = function(parameters) {
|
|||
},
|
||||
icon: {
|
||||
click: function(event) {
|
||||
module.toggle();
|
||||
if($icon.hasClass(className.clear)) {
|
||||
module.clear();
|
||||
}
|
||||
else if (module.can.click()) {
|
||||
module.toggle();
|
||||
}
|
||||
}
|
||||
},
|
||||
text: {
|
||||
|
|
@ -1079,7 +1115,22 @@ $.fn.dropdown = function(parameters) {
|
|||
select: {
|
||||
mutation: function(mutations) {
|
||||
module.debug('<select> modified, recreating menu');
|
||||
module.setup.select();
|
||||
var
|
||||
isSelectMutation = false
|
||||
;
|
||||
$.each(mutations, function(index, mutation) {
|
||||
if($(mutation.target).is('select') || $(mutation.addedNodes).is('select')) {
|
||||
isSelectMutation = true;
|
||||
return true;
|
||||
}
|
||||
});
|
||||
if(isSelectMutation) {
|
||||
module.disconnect.selectObserver();
|
||||
module.refresh();
|
||||
module.setup.select();
|
||||
module.set.selected();
|
||||
module.observe.select();
|
||||
}
|
||||
}
|
||||
},
|
||||
menu: {
|
||||
|
|
@ -1158,6 +1209,10 @@ $.fn.dropdown = function(parameters) {
|
|||
hasSubMenu = ($subMenu.length > 0),
|
||||
isBubbledEvent = ($subMenu.find($target).length > 0)
|
||||
;
|
||||
// prevents IE11 bug where menu receives focus even though `tabindex=-1`
|
||||
if(module.has.menuSearch()) {
|
||||
$(document.activeElement).blur();
|
||||
}
|
||||
if(!isBubbledEvent && (!hasSubMenu || settings.allowCategorySelection)) {
|
||||
if(module.is.searchSelection()) {
|
||||
if(settings.allowAdditions) {
|
||||
|
|
@ -1464,7 +1519,6 @@ $.fn.dropdown = function(parameters) {
|
|||
// down arrow (open menu)
|
||||
if(pressedKey == keys.downArrow && !module.is.visible()) {
|
||||
module.verbose('Down key pressed, showing dropdown');
|
||||
module.select.firstUnfiltered();
|
||||
module.show();
|
||||
event.preventDefault();
|
||||
}
|
||||
|
|
@ -1577,7 +1631,7 @@ $.fn.dropdown = function(parameters) {
|
|||
: text
|
||||
;
|
||||
if( module.can.activate( $(element) ) ) {
|
||||
module.set.value(value, $(element));
|
||||
module.set.value(value, text, $(element));
|
||||
if(module.is.multiple() && !module.is.allFiltered()) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -1597,7 +1651,7 @@ $.fn.dropdown = function(parameters) {
|
|||
},
|
||||
|
||||
hide: function(text, value, element) {
|
||||
module.set.value(value, text);
|
||||
module.set.value(value, text, $(element));
|
||||
module.hideAndClear();
|
||||
}
|
||||
|
||||
|
|
@ -1614,6 +1668,9 @@ $.fn.dropdown = function(parameters) {
|
|||
return $module.data(metadata.defaultValue);
|
||||
},
|
||||
placeholderText: function() {
|
||||
if(settings.placeholder != 'auto' && typeof settings.placeholder == 'string') {
|
||||
return settings.placeholder;
|
||||
}
|
||||
return $module.data(metadata.placeholderText) || '';
|
||||
},
|
||||
text: function() {
|
||||
|
|
@ -2240,7 +2297,7 @@ $.fn.dropdown = function(parameters) {
|
|||
var
|
||||
length = module.get.query().length
|
||||
;
|
||||
$search.val( text.substr(0 , length));
|
||||
$search.val( text.substr(0, length));
|
||||
},
|
||||
scrollPosition: function($item, forceScroll) {
|
||||
var
|
||||
|
|
@ -2363,26 +2420,35 @@ $.fn.dropdown = function(parameters) {
|
|||
},
|
||||
direction: function($menu) {
|
||||
if(settings.direction == 'auto') {
|
||||
if(module.is.onScreen($menu)) {
|
||||
// reset position
|
||||
module.remove.upward();
|
||||
|
||||
if(module.can.openDownward($menu)) {
|
||||
module.remove.upward($menu);
|
||||
}
|
||||
else {
|
||||
module.set.upward($menu);
|
||||
}
|
||||
if(!module.is.leftward($menu) && !module.can.openRightward($menu)) {
|
||||
module.set.leftward($menu);
|
||||
}
|
||||
}
|
||||
else if(settings.direction == 'upward') {
|
||||
module.set.upward($menu);
|
||||
}
|
||||
},
|
||||
upward: function($menu) {
|
||||
var $element = $menu || $module;
|
||||
upward: function($currentMenu) {
|
||||
var $element = $currentMenu || $module;
|
||||
$element.addClass(className.upward);
|
||||
},
|
||||
leftward: function($currentMenu) {
|
||||
var $element = $currentMenu || $menu;
|
||||
$element.addClass(className.leftward);
|
||||
},
|
||||
value: function(value, text, $selected) {
|
||||
var
|
||||
escapedValue = module.escape.value(value),
|
||||
hasInput = ($input.length > 0),
|
||||
isAddition = !module.has.value(value),
|
||||
currentValue = module.get.values(),
|
||||
stringValue = (value !== undefined)
|
||||
? String(value)
|
||||
|
|
@ -2420,6 +2486,15 @@ $.fn.dropdown = function(parameters) {
|
|||
$module.data(metadata.value, stringValue);
|
||||
}
|
||||
}
|
||||
if(module.is.single() && settings.clearable) {
|
||||
// treat undefined or '' as empty
|
||||
if(!escapedValue) {
|
||||
module.remove.clearable();
|
||||
}
|
||||
else {
|
||||
module.set.clearable();
|
||||
}
|
||||
}
|
||||
if(settings.fireOnInit === false && module.is.initialLoad()) {
|
||||
module.verbose('No callback on initial load', settings.onChange);
|
||||
}
|
||||
|
|
@ -2485,8 +2560,8 @@ $.fn.dropdown = function(parameters) {
|
|||
module.save.remoteData(selectedText, selectedValue);
|
||||
}
|
||||
if(settings.useLabels) {
|
||||
module.add.value(selectedValue, selectedText, $selected);
|
||||
module.add.label(selectedValue, selectedText, shouldAnimate);
|
||||
module.add.value(selectedValue, selectedText, $selected);
|
||||
module.set.activeItem($selected);
|
||||
module.filterActive();
|
||||
module.select.nextAvailable($selectedItem);
|
||||
|
|
@ -2515,7 +2590,10 @@ $.fn.dropdown = function(parameters) {
|
|||
}
|
||||
})
|
||||
;
|
||||
}
|
||||
},
|
||||
clearable: function() {
|
||||
$icon.addClass(className.clear);
|
||||
},
|
||||
},
|
||||
|
||||
add: {
|
||||
|
|
@ -2527,6 +2605,9 @@ $.fn.dropdown = function(parameters) {
|
|||
escapedValue = module.escape.value(value),
|
||||
$label
|
||||
;
|
||||
if(settings.ignoreCase) {
|
||||
escapedValue = escapedValue.toLowerCase();
|
||||
}
|
||||
$label = $('<a />')
|
||||
.addClass(className.label)
|
||||
.attr('data-' + metadata.value, escapedValue)
|
||||
|
|
@ -2535,7 +2616,7 @@ $.fn.dropdown = function(parameters) {
|
|||
$label = settings.onLabelCreate.call($label, escapedValue, text);
|
||||
|
||||
if(module.has.label(value)) {
|
||||
module.debug('Label already exists, skipping', escapedValue);
|
||||
module.debug('User selection already exists, skipping', escapedValue);
|
||||
return;
|
||||
}
|
||||
if(settings.label.variation) {
|
||||
|
|
@ -2674,6 +2755,10 @@ $.fn.dropdown = function(parameters) {
|
|||
currentValue = module.get.values(),
|
||||
newValue
|
||||
;
|
||||
if(module.has.value(addedValue)) {
|
||||
module.debug('Value already selected');
|
||||
return;
|
||||
}
|
||||
if(addedValue === '') {
|
||||
module.debug('Cannot select blank values from multiselect');
|
||||
return;
|
||||
|
|
@ -2706,7 +2791,7 @@ $.fn.dropdown = function(parameters) {
|
|||
}
|
||||
module.set.value(newValue, addedValue, addedText, $selectedItem);
|
||||
module.check.maxSelections();
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
remove: {
|
||||
|
|
@ -2725,10 +2810,14 @@ $.fn.dropdown = function(parameters) {
|
|||
initialLoad: function() {
|
||||
initialLoad = false;
|
||||
},
|
||||
upward: function($menu) {
|
||||
var $element = $menu || $module;
|
||||
upward: function($currentMenu) {
|
||||
var $element = $currentMenu || $module;
|
||||
$element.removeClass(className.upward);
|
||||
},
|
||||
leftward: function($currentMenu) {
|
||||
var $element = $currentMenu || $menu;
|
||||
$element.removeClass(className.leftward);
|
||||
},
|
||||
visible: function() {
|
||||
$module.removeClass(className.visible);
|
||||
},
|
||||
|
|
@ -2927,6 +3016,9 @@ $.fn.dropdown = function(parameters) {
|
|||
.removeAttr('tabindex')
|
||||
;
|
||||
}
|
||||
},
|
||||
clearable: function() {
|
||||
$icon.removeClass(className.clear);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
@ -2983,6 +3075,9 @@ $.fn.dropdown = function(parameters) {
|
|||
escapedValue = module.escape.value(value),
|
||||
$labels = $module.find(selector.label)
|
||||
;
|
||||
if(settings.ignoreCase) {
|
||||
escapedValue = escapedValue.toLowerCase();
|
||||
}
|
||||
return ($labels.filter('[data-' + metadata.value + '="' + module.escape.string(escapedValue) +'"]').length > 0);
|
||||
},
|
||||
maxSelections: function() {
|
||||
|
|
@ -3001,6 +3096,12 @@ $.fn.dropdown = function(parameters) {
|
|||
return (module.get.query() !== '');
|
||||
},
|
||||
value: function(value) {
|
||||
return (settings.ignoreCase)
|
||||
? module.has.valueIgnoringCase(value)
|
||||
: module.has.valueMatchingCase(value)
|
||||
;
|
||||
},
|
||||
valueMatchingCase: function(value) {
|
||||
var
|
||||
values = module.get.values(),
|
||||
hasValue = $.isArray(values)
|
||||
|
|
@ -3011,6 +3112,22 @@ $.fn.dropdown = function(parameters) {
|
|||
? true
|
||||
: false
|
||||
;
|
||||
},
|
||||
valueIgnoringCase: function(value) {
|
||||
var
|
||||
values = module.get.values(),
|
||||
hasValue = false
|
||||
;
|
||||
if(!$.isArray(values)) {
|
||||
values = [values];
|
||||
}
|
||||
$.each(values, function(index, existingValue) {
|
||||
if(String(value).toLowerCase() == String(existingValue).toLowerCase()) {
|
||||
hasValue = true;
|
||||
return false;
|
||||
}
|
||||
});
|
||||
return hasValue;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
@ -3018,6 +3135,12 @@ $.fn.dropdown = function(parameters) {
|
|||
active: function() {
|
||||
return $module.hasClass(className.active);
|
||||
},
|
||||
animatingInward: function() {
|
||||
return $menu.transition('is inward');
|
||||
},
|
||||
animatingOutward: function() {
|
||||
return $menu.transition('is outward');
|
||||
},
|
||||
bubbledLabelClick: function(event) {
|
||||
return $(event.target).is('select, input') && $module.closest('label').length > 0;
|
||||
},
|
||||
|
|
@ -3025,7 +3148,7 @@ $.fn.dropdown = function(parameters) {
|
|||
return $(event.target).closest($icon).length > 0;
|
||||
},
|
||||
alreadySetup: function() {
|
||||
return ($module.is('select') && $module.parent(selector.dropdown).length > 0 && $module.prev().length === 0);
|
||||
return ($module.is('select') && $module.parent(selector.dropdown).data(moduleNamespace) !== undefined && $module.prev().length === 0);
|
||||
},
|
||||
animating: function($subMenu) {
|
||||
return ($subMenu)
|
||||
|
|
@ -3033,6 +3156,10 @@ $.fn.dropdown = function(parameters) {
|
|||
: $menu.transition && $menu.transition('is animating')
|
||||
;
|
||||
},
|
||||
leftward: function($subMenu) {
|
||||
var $selectedMenu = $subMenu || $menu;
|
||||
return $selectedMenu.hasClass(className.leftward);
|
||||
},
|
||||
disabled: function() {
|
||||
return $module.hasClass(className.disabled);
|
||||
},
|
||||
|
|
@ -3051,43 +3178,6 @@ $.fn.dropdown = function(parameters) {
|
|||
initialLoad: function() {
|
||||
return initialLoad;
|
||||
},
|
||||
onScreen: function($subMenu) {
|
||||
var
|
||||
$currentMenu = $subMenu || $menu,
|
||||
canOpenDownward = true,
|
||||
onScreen = {},
|
||||
calculations
|
||||
;
|
||||
$currentMenu.addClass(className.loading);
|
||||
calculations = {
|
||||
context: {
|
||||
scrollTop : $context.scrollTop(),
|
||||
height : $context.outerHeight()
|
||||
},
|
||||
menu : {
|
||||
offset: $currentMenu.offset(),
|
||||
height: $currentMenu.outerHeight()
|
||||
}
|
||||
};
|
||||
onScreen = {
|
||||
above : (calculations.context.scrollTop) <= calculations.menu.offset.top - calculations.menu.height,
|
||||
below : (calculations.context.scrollTop + calculations.context.height) >= calculations.menu.offset.top + calculations.menu.height
|
||||
};
|
||||
if(onScreen.below) {
|
||||
module.verbose('Dropdown can fit in context downward', onScreen);
|
||||
canOpenDownward = true;
|
||||
}
|
||||
else if(!onScreen.below && !onScreen.above) {
|
||||
module.verbose('Dropdown cannot fit in either direction, favoring downward', onScreen);
|
||||
canOpenDownward = true;
|
||||
}
|
||||
else {
|
||||
module.verbose('Dropdown cannot fit below, opening upward', onScreen);
|
||||
canOpenDownward = false;
|
||||
}
|
||||
$currentMenu.removeClass(className.loading);
|
||||
return canOpenDownward;
|
||||
},
|
||||
inObject: function(needle, object) {
|
||||
var
|
||||
found = false
|
||||
|
|
@ -3142,6 +3232,22 @@ $.fn.dropdown = function(parameters) {
|
|||
? $subMenu.hasClass(className.visible)
|
||||
: $menu.hasClass(className.visible)
|
||||
;
|
||||
},
|
||||
verticallyScrollableContext: function() {
|
||||
var
|
||||
overflowY = ($context.get(0) !== window)
|
||||
? $context.css('overflow-y')
|
||||
: false
|
||||
;
|
||||
return (overflowY == 'auto' || overflowY == 'scroll');
|
||||
},
|
||||
horizontallyScrollableContext: function() {
|
||||
var
|
||||
overflowX = ($context.get(0) !== window)
|
||||
? $context.css('overflow-X')
|
||||
: false
|
||||
;
|
||||
return (overflowX == 'auto' || overflowX == 'scroll');
|
||||
}
|
||||
},
|
||||
|
||||
|
|
@ -3158,6 +3264,85 @@ $.fn.dropdown = function(parameters) {
|
|||
}
|
||||
return false;
|
||||
},
|
||||
openDownward: function($subMenu) {
|
||||
var
|
||||
$currentMenu = $subMenu || $menu,
|
||||
canOpenDownward = true,
|
||||
onScreen = {},
|
||||
calculations
|
||||
;
|
||||
$currentMenu
|
||||
.addClass(className.loading)
|
||||
;
|
||||
calculations = {
|
||||
context: {
|
||||
offset : ($context.get(0) === window)
|
||||
? { top: 0, left: 0}
|
||||
: $context.offset(),
|
||||
scrollTop : $context.scrollTop(),
|
||||
height : $context.outerHeight()
|
||||
},
|
||||
menu : {
|
||||
offset: $currentMenu.offset(),
|
||||
height: $currentMenu.outerHeight()
|
||||
}
|
||||
};
|
||||
if(module.is.verticallyScrollableContext()) {
|
||||
calculations.menu.offset.top += calculations.context.scrollTop;
|
||||
}
|
||||
onScreen = {
|
||||
above : (calculations.context.scrollTop) <= calculations.menu.offset.top - calculations.context.offset.top - calculations.menu.height,
|
||||
below : (calculations.context.scrollTop + calculations.context.height) >= calculations.menu.offset.top - calculations.context.offset.top + calculations.menu.height
|
||||
};
|
||||
if(onScreen.below) {
|
||||
module.verbose('Dropdown can fit in context downward', onScreen);
|
||||
canOpenDownward = true;
|
||||
}
|
||||
else if(!onScreen.below && !onScreen.above) {
|
||||
module.verbose('Dropdown cannot fit in either direction, favoring downward', onScreen);
|
||||
canOpenDownward = true;
|
||||
}
|
||||
else {
|
||||
module.verbose('Dropdown cannot fit below, opening upward', onScreen);
|
||||
canOpenDownward = false;
|
||||
}
|
||||
$currentMenu.removeClass(className.loading);
|
||||
return canOpenDownward;
|
||||
},
|
||||
openRightward: function($subMenu) {
|
||||
var
|
||||
$currentMenu = $subMenu || $menu,
|
||||
canOpenRightward = true,
|
||||
isOffscreenRight = false,
|
||||
calculations
|
||||
;
|
||||
$currentMenu
|
||||
.addClass(className.loading)
|
||||
;
|
||||
calculations = {
|
||||
context: {
|
||||
offset : ($context.get(0) === window)
|
||||
? { top: 0, left: 0}
|
||||
: $context.offset(),
|
||||
scrollLeft : $context.scrollLeft(),
|
||||
width : $context.outerWidth()
|
||||
},
|
||||
menu: {
|
||||
offset : $currentMenu.offset(),
|
||||
width : $currentMenu.outerWidth()
|
||||
}
|
||||
};
|
||||
if(module.is.horizontallyScrollableContext()) {
|
||||
calculations.menu.offset.left += calculations.context.scrollLeft;
|
||||
}
|
||||
isOffscreenRight = (calculations.menu.offset.left - calculations.context.offset.left + calculations.menu.width >= calculations.context.scrollLeft + calculations.context.width);
|
||||
if(isOffscreenRight) {
|
||||
module.verbose('Dropdown cannot fit in context rightward', isOffscreenRight);
|
||||
canOpenRightward = false;
|
||||
}
|
||||
$currentMenu.removeClass(className.loading);
|
||||
return canOpenRightward;
|
||||
},
|
||||
click: function() {
|
||||
return (hasTouch || settings.on == 'click');
|
||||
},
|
||||
|
|
@ -3256,12 +3441,9 @@ $.fn.dropdown = function(parameters) {
|
|||
duration : settings.duration,
|
||||
debug : settings.debug,
|
||||
verbose : settings.verbose,
|
||||
queue : true,
|
||||
queue : false,
|
||||
onStart : start,
|
||||
onComplete : function() {
|
||||
if(settings.direction == 'auto') {
|
||||
module.remove.upward($subMenu);
|
||||
}
|
||||
callback.call(element);
|
||||
}
|
||||
})
|
||||
|
|
@ -3522,6 +3704,9 @@ $.fn.dropdown.settings = {
|
|||
on : 'click', // what event should show menu action on item selection
|
||||
action : 'activate', // action on item selection (nothing, activate, select, combo, hide, function(){})
|
||||
|
||||
values : false, // specify values to use for dropdown
|
||||
|
||||
clearable : false, // whether the value of the dropdown can be cleared
|
||||
|
||||
apiSettings : false,
|
||||
selectOnKeydown : true, // Whether selection should occur automatically when keyboard shortcuts used
|
||||
|
|
@ -3546,7 +3731,8 @@ $.fn.dropdown.settings = {
|
|||
forceSelection : true, // force a choice on blur with search selection
|
||||
|
||||
allowAdditions : false, // whether multiple select should allow user added values
|
||||
hideAdditions : true, // whether or not to hide special message prompting a user they can enter a value
|
||||
ignoreCase : false, // whether to consider values not matching in case to be the same
|
||||
hideAdditions : true, // whether or not to hide special message prompting a user they can enter a value
|
||||
|
||||
maxSelections : false, // When set to a number limits the number of selections to this count
|
||||
useLabels : true, // whether multiple select should filter currently active selections from choices
|
||||
|
|
@ -3674,6 +3860,7 @@ $.fn.dropdown.settings = {
|
|||
active : 'active',
|
||||
addition : 'addition',
|
||||
animating : 'animating',
|
||||
clear : 'clear',
|
||||
disabled : 'disabled',
|
||||
empty : 'empty',
|
||||
dropdown : 'ui dropdown',
|
||||
|
|
@ -3691,6 +3878,7 @@ $.fn.dropdown.settings = {
|
|||
selected : 'selected',
|
||||
selection : 'selection',
|
||||
upward : 'upward',
|
||||
leftward : 'left',
|
||||
visible : 'visible'
|
||||
}
|
||||
|
||||
|
|
@ -3739,7 +3927,7 @@ $.fn.dropdown.settings.templates = {
|
|||
? 'disabled '
|
||||
: ''
|
||||
;
|
||||
html += '<div class="'+ maybeDisabled +'item" data-value="' + option[fields.value] + '"' + maybeText + '>'
|
||||
html += '<div class="'+ maybeDisabled +'item" data-value="' + option[fields.value] + '"' + maybeText + '>';
|
||||
html += option[fields.name];
|
||||
html += '</div>';
|
||||
});
|
||||
9
Resources/semantic/out/components/dropdown.min.css
vendored
Normal file
1
Resources/semantic/out/components/dropdown.min.js
vendored
Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Video
|
||||
* # Semantic UI 2.4.0 - Video
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI - Embed
|
||||
* # Semantic UI 2.4.1 - Embed
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -181,6 +181,7 @@ $.fn.embed = function(parameters) {
|
|||
// clears embed
|
||||
reset: function() {
|
||||
module.debug('Clearing embed and showing placeholder');
|
||||
module.remove.data();
|
||||
module.remove.active();
|
||||
module.remove.embed();
|
||||
module.showPlaceholder();
|
||||
|
|
@ -300,6 +301,15 @@ $.fn.embed = function(parameters) {
|
|||
},
|
||||
|
||||
remove: {
|
||||
data: function() {
|
||||
$module
|
||||
.removeData(metadata.id)
|
||||
.removeData(metadata.icon)
|
||||
.removeData(metadata.placeholder)
|
||||
.removeData(metadata.source)
|
||||
.removeData(metadata.url)
|
||||
;
|
||||
},
|
||||
active: function() {
|
||||
$module.removeClass(className.active);
|
||||
},
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Video
|
||||
* # Semantic UI 2.4.0 - Video
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
1
Resources/semantic/out/components/embed.min.js
vendored
Normal file
7
semantic/out/components/feed.css → Resources/semantic/out/components/feed.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Feed
|
||||
* # Semantic UI 2.4.1 - Feed
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -61,7 +61,6 @@
|
|||
width: 2.5em;
|
||||
height: auto;
|
||||
-ms-flex-item-align: stretch;
|
||||
-ms-grid-row-align: stretch;
|
||||
align-self: stretch;
|
||||
text-align: left;
|
||||
}
|
||||
|
|
@ -96,7 +95,6 @@
|
|||
-ms-flex: 1 1 auto;
|
||||
flex: 1 1 auto;
|
||||
-ms-flex-item-align: stretch;
|
||||
-ms-grid-row-align: stretch;
|
||||
align-self: stretch;
|
||||
text-align: left;
|
||||
word-wrap: break-word;
|
||||
|
|
@ -216,7 +214,8 @@
|
|||
background: none;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
padding: 0em;
|
||||
color: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
9
Resources/semantic/out/components/feed.min.css
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/*!
|
||||
* # Semantic UI 2.4.1 - Feed
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
* Released under the MIT license
|
||||
* http://opensource.org/licenses/MIT
|
||||
*
|
||||
*/.ui.feed{margin:1em 0}.ui.feed:first-child{margin-top:0}.ui.feed:last-child{margin-bottom:0}.ui.feed>.event{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;width:100%;padding:.21428571rem 0;margin:0;background:0 0;border-top:none}.ui.feed>.event:first-child{border-top:0;padding-top:0}.ui.feed>.event:last-child{padding-bottom:0}.ui.feed>.event>.label{display:block;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:2.5em;height:auto;-ms-flex-item-align:stretch;align-self:stretch;text-align:left}.ui.feed>.event>.label .icon{opacity:1;font-size:1.5em;width:100%;padding:.25em;background:0 0;border:none;border-radius:none;color:rgba(0,0,0,.6)}.ui.feed>.event>.label img{width:100%;height:auto;border-radius:500rem}.ui.feed>.event>.label+.content{margin:.5em 0 .35714286em 1.14285714em}.ui.feed>.event>.content{display:block;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:stretch;align-self:stretch;text-align:left;word-wrap:break-word}.ui.feed>.event:last-child>.content{padding-bottom:0}.ui.feed>.event>.content a{cursor:pointer}.ui.feed>.event>.content .date{margin:-.5rem 0 0;padding:0;font-weight:400;font-size:1em;font-style:normal;color:rgba(0,0,0,.4)}.ui.feed>.event>.content .summary{margin:0;font-size:1em;font-weight:700;color:rgba(0,0,0,.87)}.ui.feed>.event>.content .summary img{display:inline-block;width:auto;height:10em;margin:-.25em .25em 0 0;border-radius:.25em;vertical-align:middle}.ui.feed>.event>.content .user{display:inline-block;font-weight:700;margin-right:0;vertical-align:baseline}.ui.feed>.event>.content .user img{margin:-.25em .25em 0 0;width:auto;height:10em;vertical-align:middle}.ui.feed>.event>.content .summary>.date{display:inline-block;float:none;font-weight:400;font-size:.85714286em;font-style:normal;margin:0 0 0 .5em;padding:0;color:rgba(0,0,0,.4)}.ui.feed>.event>.content .extra{margin:.5em 0 0;background:0 0;padding:0;color:rgba(0,0,0,.87)}.ui.feed>.event>.content .extra.images img{display:inline-block;margin:0 .25em 0 0;width:6em}.ui.feed>.event>.content .extra.text{padding:0;border-left:none;font-size:1em;max-width:500px;line-height:1.4285em}.ui.feed>.event>.content .meta{display:inline-block;font-size:.85714286em;margin:.5em 0 0;background:0 0;border:none;border-radius:0;-webkit-box-shadow:none;box-shadow:none;padding:0;color:rgba(0,0,0,.6)}.ui.feed>.event>.content .meta>*{position:relative;margin-left:.75em}.ui.feed>.event>.content .meta>:after{content:'';color:rgba(0,0,0,.2);top:0;left:-1em;opacity:1;position:absolute;vertical-align:top}.ui.feed>.event>.content .meta .like{color:'';-webkit-transition:.2s color ease;transition:.2s color ease}.ui.feed>.event>.content .meta .like:hover .icon{color:#ff2733}.ui.feed>.event>.content .meta .active.like .icon{color:#ef404a}.ui.feed>.event>.content .meta>:first-child{margin-left:0}.ui.feed>.event>.content .meta>:first-child::after{display:none}.ui.feed>.event>.content .meta a,.ui.feed>.event>.content .meta>.icon{cursor:pointer;opacity:1;color:rgba(0,0,0,.5);-webkit-transition:color .1s ease;transition:color .1s ease}.ui.feed>.event>.content .meta a:hover,.ui.feed>.event>.content .meta a:hover .icon,.ui.feed>.event>.content .meta>.icon:hover{color:rgba(0,0,0,.95)}.ui.small.feed{font-size:.92857143rem}.ui.feed{font-size:1rem}.ui.large.feed{font-size:1.14285714rem}
|
||||
7
semantic/out/components/flag.css → Resources/semantic/out/components/flag.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Flag
|
||||
* # Semantic UI 2.4.1 - Flag
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -300,6 +300,10 @@ i.flag.eh:before,
|
|||
i.flag.western.sahara:before {
|
||||
background-position: 0px -1664px;
|
||||
}
|
||||
i.flag.gb.eng:before,
|
||||
i.flag.england:before {
|
||||
background-position: 0px -1690px;
|
||||
}
|
||||
i.flag.er:before,
|
||||
i.flag.eritrea:before {
|
||||
background-position: 0px -1716px;
|
||||
|
|
@ -345,6 +349,7 @@ i.flag.gabon:before {
|
|||
background-position: -36px 0px;
|
||||
}
|
||||
i.flag.gb:before,
|
||||
i.flag.uk:before,
|
||||
i.flag.united.kingdom:before {
|
||||
background-position: -36px -26px;
|
||||
}
|
||||
9
Resources/semantic/out/components/flag.min.css
vendored
Normal file
131
semantic/out/components/form.css → Resources/semantic/out/components/form.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Form
|
||||
* # Semantic UI 2.4.1 - Form
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -111,7 +111,8 @@
|
|||
border: 1px solid rgba(34, 36, 38, 0.15);
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
border-radius: 0.28571429rem;
|
||||
box-shadow: 0em 0em 0em 0em transparent inset;
|
||||
-webkit-box-shadow: 0em 0em 0em 0em transparent inset;
|
||||
box-shadow: 0em 0em 0em 0em transparent inset;
|
||||
-webkit-transition: color 0.1s ease, border-color 0.1s ease;
|
||||
transition: color 0.1s ease, border-color 0.1s ease;
|
||||
}
|
||||
|
|
@ -127,7 +128,8 @@
|
|||
outline: none;
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
border-radius: 0.28571429rem;
|
||||
box-shadow: 0em 0em 0em 0em transparent inset;
|
||||
-webkit-box-shadow: 0em 0em 0em 0em transparent inset;
|
||||
box-shadow: 0em 0em 0em 0em transparent inset;
|
||||
-webkit-transition: color 0.1s ease, border-color 0.1s ease;
|
||||
transition: color 0.1s ease, border-color 0.1s ease;
|
||||
font-size: 1em;
|
||||
|
|
@ -163,7 +165,8 @@
|
|||
background: #FFFFFF;
|
||||
border: 1px solid rgba(34, 36, 38, 0.15);
|
||||
border-radius: 0.28571429rem;
|
||||
box-shadow: 0em 0em 0em 0em transparent inset;
|
||||
-webkit-box-shadow: 0em 0em 0em 0em transparent inset;
|
||||
box-shadow: 0em 0em 0em 0em transparent inset;
|
||||
padding: 0.62em 1em;
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
-webkit-transition: color 0.1s ease, border-color 0.1s ease;
|
||||
|
|
@ -285,19 +288,22 @@
|
|||
---------------------*/
|
||||
|
||||
.ui.form .field.field input:-webkit-autofill {
|
||||
box-shadow: 0px 0px 0px 100px #FFFFF0 inset !important;
|
||||
-webkit-box-shadow: 0px 0px 0px 100px #FFFFF0 inset !important;
|
||||
box-shadow: 0px 0px 0px 100px #FFFFF0 inset !important;
|
||||
border-color: #E5DFA1 !important;
|
||||
}
|
||||
|
||||
/* Focus */
|
||||
.ui.form .field.field input:-webkit-autofill:focus {
|
||||
box-shadow: 0px 0px 0px 100px #FFFFF0 inset !important;
|
||||
-webkit-box-shadow: 0px 0px 0px 100px #FFFFF0 inset !important;
|
||||
box-shadow: 0px 0px 0px 100px #FFFFF0 inset !important;
|
||||
border-color: #D5C315 !important;
|
||||
}
|
||||
|
||||
/* Error */
|
||||
.ui.form .error.error input:-webkit-autofill {
|
||||
box-shadow: 0px 0px 0px 100px #FFFAF0 inset !important;
|
||||
-webkit-box-shadow: 0px 0px 0px 100px #FFFAF0 inset !important;
|
||||
box-shadow: 0px 0px 0px 100px #FFFAF0 inset !important;
|
||||
border-color: #E0B4B4 !important;
|
||||
}
|
||||
|
||||
|
|
@ -311,7 +317,7 @@
|
|||
color: rgba(191, 191, 191, 0.87);
|
||||
}
|
||||
.ui.form :-ms-input-placeholder {
|
||||
color: rgba(191, 191, 191, 0.87);
|
||||
color: rgba(191, 191, 191, 0.87) !important;
|
||||
}
|
||||
.ui.form ::-moz-placeholder {
|
||||
color: rgba(191, 191, 191, 0.87);
|
||||
|
|
@ -320,7 +326,7 @@
|
|||
color: rgba(115, 115, 115, 0.87);
|
||||
}
|
||||
.ui.form :focus:-ms-input-placeholder {
|
||||
color: rgba(115, 115, 115, 0.87);
|
||||
color: rgba(115, 115, 115, 0.87) !important;
|
||||
}
|
||||
.ui.form :focus::-moz-placeholder {
|
||||
color: rgba(115, 115, 115, 0.87);
|
||||
|
|
@ -366,14 +372,16 @@
|
|||
border-color: #85B7D9;
|
||||
border-radius: 0.28571429rem;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 0em 0em 0em rgba(34, 36, 38, 0.35) inset;
|
||||
-webkit-box-shadow: 0px 0em 0em 0em rgba(34, 36, 38, 0.35) inset;
|
||||
box-shadow: 0px 0em 0em 0em rgba(34, 36, 38, 0.35) inset;
|
||||
}
|
||||
.ui.form textarea:focus {
|
||||
color: rgba(0, 0, 0, 0.95);
|
||||
border-color: #85B7D9;
|
||||
border-radius: 0.28571429rem;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 0em 0em 0em rgba(34, 36, 38, 0.35) inset;
|
||||
-webkit-box-shadow: 0px 0em 0em 0em rgba(34, 36, 38, 0.35) inset;
|
||||
box-shadow: 0px 0em 0em 0em rgba(34, 36, 38, 0.35) inset;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
|
|
@ -475,7 +483,8 @@
|
|||
border-color: #E0B4B4;
|
||||
color: #9F3A38;
|
||||
border-radius: '';
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.ui.form .field.error textarea:focus,
|
||||
.ui.form .field.error select:focus,
|
||||
|
|
@ -495,7 +504,8 @@
|
|||
border-color: #E0B4B4;
|
||||
color: #9F3A38;
|
||||
-webkit-appearance: none;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Preserve Native Select Stylings */
|
||||
|
|
@ -628,7 +638,8 @@
|
|||
border-color: #767676 rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1);
|
||||
border-style: solid;
|
||||
border-width: 0.2em;
|
||||
box-shadow: 0px 0px 0px 1px transparent;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px transparent;
|
||||
box-shadow: 0px 0px 0px 1px transparent;
|
||||
visibility: visible;
|
||||
z-index: 101;
|
||||
}
|
||||
|
|
@ -725,7 +736,8 @@
|
|||
background: #FFFFFF;
|
||||
border-color: rgba(255, 255, 255, 0.1);
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/*--------------------
|
||||
|
|
@ -780,7 +792,8 @@
|
|||
}
|
||||
.ui.form .fields > .field:first-child {
|
||||
border-left: none;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Other Combinations */
|
||||
|
|
@ -827,26 +840,26 @@
|
|||
-ms-flex-wrap: wrap;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.ui[class*="equal width"].form .fields > .field,
|
||||
.ui.form [class*="equal width"].fields > .field,
|
||||
.ui.form .two.fields > .fields,
|
||||
.ui.form .two.fields > .field,
|
||||
.ui.form .three.fields > .fields,
|
||||
.ui.form .three.fields > .field,
|
||||
.ui.form .four.fields > .fields,
|
||||
.ui.form .four.fields > .field,
|
||||
.ui.form .five.fields > .fields,
|
||||
.ui.form .five.fields > .field,
|
||||
.ui.form .six.fields > .fields,
|
||||
.ui.form .six.fields > .field,
|
||||
.ui.form .seven.fields > .fields,
|
||||
.ui.form .seven.fields > .field,
|
||||
.ui.form .eight.fields > .fields,
|
||||
.ui.form .eight.fields > .field,
|
||||
.ui.form .nine.fields > .fields,
|
||||
.ui.form .nine.fields > .field,
|
||||
.ui.form .ten.fields > .fields,
|
||||
.ui.form .ten.fields > .field {
|
||||
.ui[class*="equal width"].form:not(.unstackable) .fields > .field,
|
||||
.ui.form:not(.unstackable) [class*="equal width"].fields:not(.unstackable) > .field,
|
||||
.ui.form:not(.unstackable) .two.fields:not(.unstackable) > .fields,
|
||||
.ui.form:not(.unstackable) .two.fields:not(.unstackable) > .field,
|
||||
.ui.form:not(.unstackable) .three.fields:not(.unstackable) > .fields,
|
||||
.ui.form:not(.unstackable) .three.fields:not(.unstackable) > .field,
|
||||
.ui.form:not(.unstackable) .four.fields:not(.unstackable) > .fields,
|
||||
.ui.form:not(.unstackable) .four.fields:not(.unstackable) > .field,
|
||||
.ui.form:not(.unstackable) .five.fields:not(.unstackable) > .fields,
|
||||
.ui.form:not(.unstackable) .five.fields:not(.unstackable) > .field,
|
||||
.ui.form:not(.unstackable) .six.fields:not(.unstackable) > .fields,
|
||||
.ui.form:not(.unstackable) .six.fields:not(.unstackable) > .field,
|
||||
.ui.form:not(.unstackable) .seven.fields:not(.unstackable) > .fields,
|
||||
.ui.form:not(.unstackable) .seven.fields:not(.unstackable) > .field,
|
||||
.ui.form:not(.unstackable) .eight.fields:not(.unstackable) > .fields,
|
||||
.ui.form:not(.unstackable) .eight.fields:not(.unstackable) > .field,
|
||||
.ui.form:not(.unstackable) .nine.fields:not(.unstackable) > .fields,
|
||||
.ui.form:not(.unstackable) .nine.fields:not(.unstackable) > .field,
|
||||
.ui.form:not(.unstackable) .ten.fields:not(.unstackable) > .fields,
|
||||
.ui.form:not(.unstackable) .ten.fields:not(.unstackable) > .field {
|
||||
width: 100% !important;
|
||||
margin: 0em 0em 1em;
|
||||
}
|
||||
|
|
@ -909,29 +922,29 @@
|
|||
|
||||
/* Swap to full width on mobile */
|
||||
@media only screen and (max-width: 767px) {
|
||||
.ui.form .two.fields > .fields,
|
||||
.ui.form .two.fields > .field,
|
||||
.ui.form .three.fields > .fields,
|
||||
.ui.form .three.fields > .field,
|
||||
.ui.form .four.fields > .fields,
|
||||
.ui.form .four.fields > .field,
|
||||
.ui.form .five.fields > .fields,
|
||||
.ui.form .five.fields > .field,
|
||||
.ui.form .fields > .two.wide.field,
|
||||
.ui.form .fields > .three.wide.field,
|
||||
.ui.form .fields > .four.wide.field,
|
||||
.ui.form .fields > .five.wide.field,
|
||||
.ui.form .fields > .six.wide.field,
|
||||
.ui.form .fields > .seven.wide.field,
|
||||
.ui.form .fields > .eight.wide.field,
|
||||
.ui.form .fields > .nine.wide.field,
|
||||
.ui.form .fields > .ten.wide.field,
|
||||
.ui.form .fields > .eleven.wide.field,
|
||||
.ui.form .fields > .twelve.wide.field,
|
||||
.ui.form .fields > .thirteen.wide.field,
|
||||
.ui.form .fields > .fourteen.wide.field,
|
||||
.ui.form .fields > .fifteen.wide.field,
|
||||
.ui.form .fields > .sixteen.wide.field {
|
||||
.ui.form:not(.unstackable) .two.fields:not(.unstackable) > .fields,
|
||||
.ui.form:not(.unstackable) .two.fields:not(.unstackable) > .field,
|
||||
.ui.form:not(.unstackable) .three.fields:not(.unstackable) > .fields,
|
||||
.ui.form:not(.unstackable) .three.fields:not(.unstackable) > .field,
|
||||
.ui.form:not(.unstackable) .four.fields:not(.unstackable) > .fields,
|
||||
.ui.form:not(.unstackable) .four.fields:not(.unstackable) > .field,
|
||||
.ui.form:not(.unstackable) .five.fields:not(.unstackable) > .fields,
|
||||
.ui.form:not(.unstackable) .five.fields:not(.unstackable) > .field,
|
||||
.ui.form:not(.unstackable) .fields:not(.unstackable) > .two.wide.field,
|
||||
.ui.form:not(.unstackable) .fields:not(.unstackable) > .three.wide.field,
|
||||
.ui.form:not(.unstackable) .fields:not(.unstackable) > .four.wide.field,
|
||||
.ui.form:not(.unstackable) .fields:not(.unstackable) > .five.wide.field,
|
||||
.ui.form:not(.unstackable) .fields:not(.unstackable) > .six.wide.field,
|
||||
.ui.form:not(.unstackable) .fields:not(.unstackable) > .seven.wide.field,
|
||||
.ui.form:not(.unstackable) .fields:not(.unstackable) > .eight.wide.field,
|
||||
.ui.form:not(.unstackable) .fields:not(.unstackable) > .nine.wide.field,
|
||||
.ui.form:not(.unstackable) .fields:not(.unstackable) > .ten.wide.field,
|
||||
.ui.form:not(.unstackable) .fields:not(.unstackable) > .eleven.wide.field,
|
||||
.ui.form:not(.unstackable) .fields:not(.unstackable) > .twelve.wide.field,
|
||||
.ui.form:not(.unstackable) .fields:not(.unstackable) > .thirteen.wide.field,
|
||||
.ui.form:not(.unstackable) .fields:not(.unstackable) > .fourteen.wide.field,
|
||||
.ui.form:not(.unstackable) .fields:not(.unstackable) > .fifteen.wide.field,
|
||||
.ui.form:not(.unstackable) .fields:not(.unstackable) > .sixteen.wide.field {
|
||||
width: 100% !important;
|
||||
}
|
||||
.ui.form .fields {
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI - Form Validation
|
||||
* # Semantic UI 2.4.1 - Form Validation
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
;(function ($, window, document, undefined) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
window = (typeof window != 'undefined' && window.Math == Math)
|
||||
? window
|
||||
|
|
@ -252,6 +252,17 @@ $.fn.form = function(parameters) {
|
|||
bracketedRule: function(rule) {
|
||||
return (rule.type && rule.type.match(settings.regExp.bracket));
|
||||
},
|
||||
shorthandFields: function(fields) {
|
||||
var
|
||||
fieldKeys = Object.keys(fields),
|
||||
firstRule = fields[fieldKeys[0]]
|
||||
;
|
||||
return module.is.shorthandRules(firstRule);
|
||||
},
|
||||
// duck type rule test
|
||||
shorthandRules: function(rules) {
|
||||
return (typeof rules == 'string' || $.isArray(rules));
|
||||
},
|
||||
empty: function($field) {
|
||||
if(!$field || $field.length === 0) {
|
||||
return true;
|
||||
|
|
@ -347,7 +358,7 @@ $.fn.form = function(parameters) {
|
|||
module.validate.field( validationRules );
|
||||
}
|
||||
}
|
||||
else if(settings.on == 'blur' || settings.on == 'change') {
|
||||
else if(settings.on == 'blur') {
|
||||
if(validationRules) {
|
||||
module.validate.field( validationRules );
|
||||
}
|
||||
|
|
@ -403,20 +414,37 @@ $.fn.form = function(parameters) {
|
|||
: 'keyup'
|
||||
;
|
||||
},
|
||||
fieldsFromShorthand: function(fields) {
|
||||
var
|
||||
fullFields = {}
|
||||
;
|
||||
$.each(fields, function(name, rules) {
|
||||
if(typeof rules == 'string') {
|
||||
rules = [rules];
|
||||
}
|
||||
fullFields[name] = {
|
||||
rules: []
|
||||
};
|
||||
$.each(rules, function(index, rule) {
|
||||
fullFields[name].rules.push({ type: rule });
|
||||
});
|
||||
});
|
||||
return fullFields;
|
||||
},
|
||||
prompt: function(rule, field) {
|
||||
var
|
||||
ruleName = module.get.ruleName(rule),
|
||||
ancillary = module.get.ancillaryValue(rule),
|
||||
prompt = rule.prompt || settings.prompt[ruleName] || settings.text.unspecifiedRule,
|
||||
$field = module.get.field(field.identifier),
|
||||
value = $field.val(),
|
||||
prompt = $.isFunction(rule.prompt)
|
||||
? rule.prompt(value)
|
||||
: rule.prompt || settings.prompt[ruleName] || settings.text.unspecifiedRule,
|
||||
requiresValue = (prompt.search('{value}') !== -1),
|
||||
requiresName = (prompt.search('{name}') !== -1),
|
||||
$label,
|
||||
$field,
|
||||
name
|
||||
;
|
||||
if(requiresName || requiresValue) {
|
||||
$field = module.get.field(field.identifier);
|
||||
}
|
||||
if(requiresValue) {
|
||||
prompt = prompt.replace('{value}', $field.val());
|
||||
}
|
||||
|
|
@ -453,23 +481,9 @@ $.fn.form = function(parameters) {
|
|||
}
|
||||
else {
|
||||
// 2.x
|
||||
if(parameters.fields) {
|
||||
ruleKeys = Object.keys(parameters.fields);
|
||||
if( typeof parameters.fields[ruleKeys[0]] == 'string' || $.isArray(parameters.fields[ruleKeys[0]]) ) {
|
||||
$.each(parameters.fields, function(name, rules) {
|
||||
if(typeof rules == 'string') {
|
||||
rules = [rules];
|
||||
}
|
||||
parameters.fields[name] = {
|
||||
rules: []
|
||||
};
|
||||
$.each(rules, function(index, rule) {
|
||||
parameters.fields[name].rules.push({ type: rule });
|
||||
});
|
||||
});
|
||||
}
|
||||
if(parameters.fields && module.is.shorthandFields(parameters.fields)) {
|
||||
parameters.fields = module.get.fieldsFromShorthand(parameters.fields);
|
||||
}
|
||||
|
||||
settings = $.extend(true, {}, $.fn.form.settings, parameters);
|
||||
validation = $.extend({}, $.fn.form.settings.defaults, settings.fields);
|
||||
module.verbose('Extending settings', validation, settings);
|
||||
|
|
@ -589,8 +603,11 @@ $.fn.form = function(parameters) {
|
|||
}
|
||||
else {
|
||||
if(isRadio) {
|
||||
if(isChecked) {
|
||||
values[name] = value;
|
||||
if(values[name] === undefined || values[name] == false) {
|
||||
values[name] = (isChecked)
|
||||
? value || true
|
||||
: false
|
||||
;
|
||||
}
|
||||
}
|
||||
else if(isCheckbox) {
|
||||
|
|
@ -641,6 +658,44 @@ $.fn.form = function(parameters) {
|
|||
},
|
||||
|
||||
add: {
|
||||
// alias
|
||||
rule: function(name, rules) {
|
||||
module.add.field(name, rules);
|
||||
},
|
||||
field: function(name, rules) {
|
||||
var
|
||||
newValidation = {}
|
||||
;
|
||||
if(module.is.shorthandRules(rules)) {
|
||||
rules = $.isArray(rules)
|
||||
? rules
|
||||
: [rules]
|
||||
;
|
||||
newValidation[name] = {
|
||||
rules: []
|
||||
};
|
||||
$.each(rules, function(index, rule) {
|
||||
newValidation[name].rules.push({ type: rule });
|
||||
});
|
||||
}
|
||||
else {
|
||||
newValidation[name] = rules;
|
||||
}
|
||||
validation = $.extend({}, validation, newValidation);
|
||||
module.debug('Adding rules', newValidation, validation);
|
||||
},
|
||||
fields: function(fields) {
|
||||
var
|
||||
newValidation
|
||||
;
|
||||
if(fields && module.is.shorthandFields(fields)) {
|
||||
newValidation = module.get.fieldsFromShorthand(fields);
|
||||
}
|
||||
else {
|
||||
newValidation = fields;
|
||||
}
|
||||
validation = $.extend({}, validation, newValidation);
|
||||
},
|
||||
prompt: function(identifier, errors) {
|
||||
var
|
||||
$field = module.get.field(identifier),
|
||||
|
|
@ -693,6 +748,51 @@ $.fn.form = function(parameters) {
|
|||
},
|
||||
|
||||
remove: {
|
||||
rule: function(field, rule) {
|
||||
var
|
||||
rules = $.isArray(rule)
|
||||
? rule
|
||||
: [rule]
|
||||
;
|
||||
if(rule == undefined) {
|
||||
module.debug('Removed all rules');
|
||||
validation[field].rules = [];
|
||||
return;
|
||||
}
|
||||
if(validation[field] == undefined || !$.isArray(validation[field].rules)) {
|
||||
return;
|
||||
}
|
||||
$.each(validation[field].rules, function(index, rule) {
|
||||
if(rules.indexOf(rule.type) !== -1) {
|
||||
module.debug('Removed rule', rule.type);
|
||||
validation[field].rules.splice(index, 1);
|
||||
}
|
||||
});
|
||||
},
|
||||
field: function(field) {
|
||||
var
|
||||
fields = $.isArray(field)
|
||||
? field
|
||||
: [field]
|
||||
;
|
||||
$.each(fields, function(index, field) {
|
||||
module.remove.rule(field);
|
||||
});
|
||||
},
|
||||
// alias
|
||||
rules: function(field, rules) {
|
||||
if($.isArray(field)) {
|
||||
$.each(fields, function(index, field) {
|
||||
module.remove.rule(field, rules);
|
||||
});
|
||||
}
|
||||
else {
|
||||
module.remove.rule(field, rules);
|
||||
}
|
||||
},
|
||||
fields: function(fields) {
|
||||
module.remove.field(fields);
|
||||
},
|
||||
prompt: function(identifier) {
|
||||
var
|
||||
$field = module.get.field(identifier),
|
||||
|
|
@ -857,7 +957,7 @@ $.fn.form = function(parameters) {
|
|||
if(typeof field == 'string') {
|
||||
module.verbose('Validating field', field);
|
||||
fieldName = field;
|
||||
field = validation[field];
|
||||
field = validation[field];
|
||||
}
|
||||
var
|
||||
identifier = field.identifier || fieldName,
|
||||
|
|
@ -1163,10 +1263,10 @@ $.fn.form.settings = {
|
|||
isExactly : '{name} must be exactly "{ruleValue}"',
|
||||
not : '{name} cannot be set to "{ruleValue}"',
|
||||
notExactly : '{name} cannot be set to exactly "{ruleValue}"',
|
||||
contain : '{name} cannot contain "{ruleValue}"',
|
||||
containExactly : '{name} cannot contain exactly "{ruleValue}"',
|
||||
doesntContain : '{name} must contain "{ruleValue}"',
|
||||
doesntContainExactly : '{name} must contain exactly "{ruleValue}"',
|
||||
contain : '{name} must contain "{ruleValue}"',
|
||||
containExactly : '{name} must contain exactly "{ruleValue}"',
|
||||
doesntContain : '{name} cannot contain "{ruleValue}"',
|
||||
doesntContainExactly : '{name} cannot contain exactly "{ruleValue}"',
|
||||
minLength : '{name} must be at least {ruleValue} characters',
|
||||
length : '{name} must be at least {ruleValue} characters',
|
||||
exactLength : '{name} must be exactly {ruleValue} characters',
|
||||
|
|
@ -1520,6 +1620,9 @@ $.fn.form.settings = {
|
|||
return;
|
||||
}
|
||||
|
||||
// allow dashes in card
|
||||
cardNumber = cardNumber.replace(/[\-]/g, '');
|
||||
|
||||
// verify card types
|
||||
if(requiredTypes) {
|
||||
$.each(requiredTypes, function(index, type){
|
||||
9
Resources/semantic/out/components/form.min.css
vendored
Normal file
1
Resources/semantic/out/components/form.min.js
vendored
Normal file
141
semantic/out/components/grid.css → Resources/semantic/out/components/grid.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Grid
|
||||
* # Semantic UI 2.4.1 - Grid
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -151,13 +151,14 @@
|
|||
margin: 1rem 1rem;
|
||||
}
|
||||
.ui.grid .column + .ui.vertical.divider {
|
||||
height: calc(50% - 1rem );
|
||||
height: calc(50% - (2rem / 2));
|
||||
}
|
||||
|
||||
/* Remove Border on Last Horizontal Segment */
|
||||
.ui.grid > .row > .column:last-child > .horizontal.segment,
|
||||
.ui.grid > .column:last-child > .horizontal.segment {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -345,7 +346,8 @@
|
|||
|
||||
/* Celled Page */
|
||||
.ui.celled.page.grid {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/*-------------------
|
||||
|
|
@ -1042,7 +1044,8 @@
|
|||
|
||||
.ui.divided.grid:not([class*="vertically divided"]) > .column:not(.row),
|
||||
.ui.divided.grid:not([class*="vertically divided"]) > .row > .column {
|
||||
box-shadow: -1px 0px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: -1px 0px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: -1px 0px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
|
||||
/* Swap from padding to margin on columns to have dividers align */
|
||||
|
|
@ -1061,7 +1064,8 @@
|
|||
/* No divider on first column on row */
|
||||
.ui.divided.grid:not([class*="vertically divided"]) > .column:first-child,
|
||||
.ui.divided.grid:not([class*="vertically divided"]) > .row > .column:first-child {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* No space on top of first row */
|
||||
|
|
@ -1071,10 +1075,12 @@
|
|||
|
||||
/* Divided Row */
|
||||
.ui.grid > .divided.row > .column {
|
||||
box-shadow: -1px 0px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: -1px 0px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: -1px 0px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
.ui.grid > .divided.row > .column:first-child {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Vertically Divided */
|
||||
|
|
@ -1086,10 +1092,11 @@
|
|||
content: "";
|
||||
top: 0em;
|
||||
left: 0px;
|
||||
width: calc(100% - 2rem );
|
||||
width: calc(100% - 2rem);
|
||||
height: 1px;
|
||||
margin: 0% 1rem;
|
||||
box-shadow: 0px -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: 0px -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0px -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
|
||||
/* Padded Horizontally Divided */
|
||||
|
|
@ -1100,32 +1107,36 @@
|
|||
|
||||
/* First Row Vertically Divided */
|
||||
.ui[class*="vertically divided"].grid > .row:first-child:before {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Inverted Divided */
|
||||
.ui.inverted.divided.grid:not([class*="vertically divided"]) > .column:not(.row),
|
||||
.ui.inverted.divided.grid:not([class*="vertically divided"]) > .row > .column {
|
||||
box-shadow: -1px 0px 0px 0px rgba(255, 255, 255, 0.1);
|
||||
-webkit-box-shadow: -1px 0px 0px 0px rgba(255, 255, 255, 0.1);
|
||||
box-shadow: -1px 0px 0px 0px rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
.ui.inverted.divided.grid:not([class*="vertically divided"]) > .column:not(.row):first-child,
|
||||
.ui.inverted.divided.grid:not([class*="vertically divided"]) > .row > .column:first-child {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.ui.inverted[class*="vertically divided"].grid > .row:before {
|
||||
box-shadow: 0px -1px 0px 0px rgba(255, 255, 255, 0.1);
|
||||
-webkit-box-shadow: 0px -1px 0px 0px rgba(255, 255, 255, 0.1);
|
||||
box-shadow: 0px -1px 0px 0px rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
/* Relaxed */
|
||||
.ui.relaxed[class*="vertically divided"].grid > .row:before {
|
||||
margin-left: 1.5rem;
|
||||
margin-right: 1.5rem;
|
||||
width: calc(100% - 3rem );
|
||||
width: calc(100% - 3rem);
|
||||
}
|
||||
.ui[class*="very relaxed"][class*="vertically divided"].grid > .row:before {
|
||||
margin-left: 5rem;
|
||||
margin-right: 5rem;
|
||||
width: calc(100% - 5rem );
|
||||
margin-left: 2.5rem;
|
||||
margin-right: 2.5rem;
|
||||
width: calc(100% - 5rem);
|
||||
}
|
||||
|
||||
/*----------------------
|
||||
|
|
@ -1135,21 +1146,25 @@
|
|||
.ui.celled.grid {
|
||||
width: 100%;
|
||||
margin: 1em 0em;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5;
|
||||
box-shadow: 0px 0px 0px 1px #D4D4D5;
|
||||
}
|
||||
.ui.celled.grid > .row {
|
||||
width: 100% !important;
|
||||
margin: 0em;
|
||||
padding: 0em;
|
||||
box-shadow: 0px -1px 0px 0px #D4D4D5;
|
||||
-webkit-box-shadow: 0px -1px 0px 0px #D4D4D5;
|
||||
box-shadow: 0px -1px 0px 0px #D4D4D5;
|
||||
}
|
||||
.ui.celled.grid > .column:not(.row),
|
||||
.ui.celled.grid > .row > .column {
|
||||
box-shadow: -1px 0px 0px 0px #D4D4D5;
|
||||
-webkit-box-shadow: -1px 0px 0px 0px #D4D4D5;
|
||||
box-shadow: -1px 0px 0px 0px #D4D4D5;
|
||||
}
|
||||
.ui.celled.grid > .column:first-child,
|
||||
.ui.celled.grid > .row > .column:first-child {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.ui.celled.grid > .column:not(.row),
|
||||
.ui.celled.grid > .row > .column {
|
||||
|
|
@ -1166,14 +1181,17 @@
|
|||
|
||||
/* Internally Celled */
|
||||
.ui[class*="internally celled"].grid {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
margin: 0em;
|
||||
}
|
||||
.ui[class*="internally celled"].grid > .row:first-child {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.ui[class*="internally celled"].grid > .row > .column:first-child {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/*----------------------
|
||||
|
|
@ -1208,7 +1226,6 @@
|
|||
flex-direction: column;
|
||||
vertical-align: middle;
|
||||
-ms-flex-item-align: center !important;
|
||||
-ms-grid-row-align: center !important;
|
||||
align-self: center !important;
|
||||
}
|
||||
|
||||
|
|
@ -1266,7 +1283,6 @@
|
|||
.ui.grid > .row > [class*="left aligned"].column.column {
|
||||
text-align: left;
|
||||
-ms-flex-item-align: inherit;
|
||||
-ms-grid-row-align: inherit;
|
||||
align-self: inherit;
|
||||
}
|
||||
|
||||
|
|
@ -1278,7 +1294,6 @@
|
|||
.ui.grid > .row > [class*="center aligned"].column.column {
|
||||
text-align: center;
|
||||
-ms-flex-item-align: inherit;
|
||||
-ms-grid-row-align: inherit;
|
||||
align-self: inherit;
|
||||
}
|
||||
.ui[class*="center aligned"].grid {
|
||||
|
|
@ -1295,7 +1310,6 @@
|
|||
.ui.grid > .row > [class*="right aligned"].column.column {
|
||||
text-align: right;
|
||||
-ms-flex-item-align: inherit;
|
||||
-ms-grid-row-align: inherit;
|
||||
align-self: inherit;
|
||||
}
|
||||
|
||||
|
|
@ -1484,27 +1498,33 @@
|
|||
/* Divided Reversed */
|
||||
.ui[class*="mobile reversed"].divided.grid:not([class*="vertically divided"]) > .column:first-child,
|
||||
.ui[class*="mobile reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:first-child {
|
||||
box-shadow: -1px 0px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: -1px 0px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: -1px 0px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
.ui[class*="mobile reversed"].divided.grid:not([class*="vertically divided"]) > .column:last-child,
|
||||
.ui[class*="mobile reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:last-child {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Vertically Divided Reversed */
|
||||
.ui.grid[class*="vertically divided"][class*="mobile vertically reversed"] > .row:first-child:before {
|
||||
box-shadow: 0px -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: 0px -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0px -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
.ui.grid[class*="vertically divided"][class*="mobile vertically reversed"] > .row:last-child:before {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Celled Reversed */
|
||||
.ui[class*="mobile reversed"].celled.grid > .row > .column:first-child {
|
||||
box-shadow: -1px 0px 0px 0px #D4D4D5;
|
||||
-webkit-box-shadow: -1px 0px 0px 0px #D4D4D5;
|
||||
box-shadow: -1px 0px 0px 0px #D4D4D5;
|
||||
}
|
||||
.ui[class*="mobile reversed"].celled.grid > .row > .column:last-child {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1528,27 +1548,33 @@
|
|||
/* Divided Reversed */
|
||||
.ui[class*="tablet reversed"].divided.grid:not([class*="vertically divided"]) > .column:first-child,
|
||||
.ui[class*="tablet reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:first-child {
|
||||
box-shadow: -1px 0px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: -1px 0px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: -1px 0px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
.ui[class*="tablet reversed"].divided.grid:not([class*="vertically divided"]) > .column:last-child,
|
||||
.ui[class*="tablet reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:last-child {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Vertically Divided Reversed */
|
||||
.ui.grid[class*="vertically divided"][class*="tablet vertically reversed"] > .row:first-child:before {
|
||||
box-shadow: 0px -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: 0px -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0px -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
.ui.grid[class*="vertically divided"][class*="tablet vertically reversed"] > .row:last-child:before {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Celled Reversed */
|
||||
.ui[class*="tablet reversed"].celled.grid > .row > .column:first-child {
|
||||
box-shadow: -1px 0px 0px 0px #D4D4D5;
|
||||
-webkit-box-shadow: -1px 0px 0px 0px #D4D4D5;
|
||||
box-shadow: -1px 0px 0px 0px #D4D4D5;
|
||||
}
|
||||
.ui[class*="tablet reversed"].celled.grid > .row > .column:last-child {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1572,27 +1598,33 @@
|
|||
/* Divided Reversed */
|
||||
.ui[class*="computer reversed"].divided.grid:not([class*="vertically divided"]) > .column:first-child,
|
||||
.ui[class*="computer reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:first-child {
|
||||
box-shadow: -1px 0px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: -1px 0px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: -1px 0px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
.ui[class*="computer reversed"].divided.grid:not([class*="vertically divided"]) > .column:last-child,
|
||||
.ui[class*="computer reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:last-child {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Vertically Divided Reversed */
|
||||
.ui.grid[class*="vertically divided"][class*="computer vertically reversed"] > .row:first-child:before {
|
||||
box-shadow: 0px -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: 0px -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0px -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
.ui.grid[class*="vertically divided"][class*="computer vertically reversed"] > .row:last-child:before {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Celled Reversed */
|
||||
.ui[class*="computer reversed"].celled.grid > .row > .column:first-child {
|
||||
box-shadow: -1px 0px 0px 0px #D4D4D5;
|
||||
-webkit-box-shadow: -1px 0px 0px 0px #D4D4D5;
|
||||
box-shadow: -1px 0px 0px 0px #D4D4D5;
|
||||
}
|
||||
.ui[class*="computer reversed"].celled.grid > .row > .column:last-child {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1616,7 +1648,8 @@
|
|||
display: inline-block !important;
|
||||
padding-top: 1rem !important;
|
||||
padding-bottom: 1rem !important;
|
||||
box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
margin: 0em;
|
||||
}
|
||||
.ui[class*="two column"].doubling.grid > .row > .column,
|
||||
|
|
@ -1708,7 +1741,8 @@
|
|||
padding-top: 1rem !important;
|
||||
padding-bottom: 1rem !important;
|
||||
margin: 0em !important;
|
||||
box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
.ui[class*="two column"].doubling:not(.stackable).grid > .row > .column,
|
||||
.ui[class*="two column"].doubling:not(.stackable).grid > .column:not(.row),
|
||||
|
|
@ -1806,7 +1840,8 @@
|
|||
.ui.grid > .stackable.stackable.row > .column {
|
||||
width: 100% !important;
|
||||
margin: 0em 0em !important;
|
||||
box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
padding: 1rem 1rem !important;
|
||||
}
|
||||
.ui.stackable.grid:not(.vertically) > .row {
|
||||
|
|
@ -1846,12 +1881,14 @@
|
|||
.ui.stackable.celled.grid > .row > .column,
|
||||
.ui.stackable.divided:not(.vertically).grid > .row > .column {
|
||||
border-top: 1px solid rgba(34, 36, 38, 0.15);
|
||||
box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
padding-top: 2rem !important;
|
||||
padding-bottom: 2rem !important;
|
||||
}
|
||||
.ui.stackable.celled.grid > .row {
|
||||
box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
.ui.stackable.divided:not(.vertically).grid > .column:not(.row),
|
||||
.ui.stackable.divided:not(.vertically).grid > .row > .column {
|
||||
9
Resources/semantic/out/components/grid.min.css
vendored
Normal file
18
semantic/out/components/header.css → Resources/semantic/out/components/header.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Header
|
||||
* # Semantic UI 2.4.1 - Header
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -54,7 +54,7 @@
|
|||
display: table-cell;
|
||||
opacity: 1;
|
||||
font-size: 1.5em;
|
||||
padding-top: 0.14285714em;
|
||||
padding-top: 0em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
|
@ -301,15 +301,19 @@ h5.ui.header .sub.header {
|
|||
color: rgba(255, 255, 255, 0.8);
|
||||
}
|
||||
.ui.inverted.attached.header {
|
||||
background: #545454 -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.05)));
|
||||
background: #545454 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
||||
background: #545454 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
border-color: transparent;
|
||||
}
|
||||
.ui.inverted.block.header {
|
||||
background: #545454 -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.05)));
|
||||
background: #545454 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
||||
background: #545454 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.ui.inverted.block.header {
|
||||
border-bottom: none;
|
||||
|
|
@ -632,7 +636,8 @@ a.ui.inverted.grey.header:hover {
|
|||
.ui.block.header {
|
||||
background: #F3F4F5;
|
||||
padding: 0.78571429rem 1rem;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
border: 1px solid #D4D4D5;
|
||||
border-radius: 0.28571429rem;
|
||||
}
|
||||
|
|
@ -661,7 +666,8 @@ a.ui.inverted.grey.header:hover {
|
|||
padding: 0.78571429rem 1rem;
|
||||
margin-left: -1px;
|
||||
margin-right: -1px;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
border: 1px solid #D4D4D5;
|
||||
}
|
||||
.ui.attached.block.header {
|
||||
9
Resources/semantic/out/components/header.min.css
vendored
Normal file
6376
semantic/out/components/icon.css → Resources/semantic/out/components/icon.css
Executable file → Normal file
9
Resources/semantic/out/components/icon.min.css
vendored
Normal file
10
semantic/out/components/image.css → Resources/semantic/out/components/image.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Image
|
||||
* # Semantic UI 2.4.1 - Image
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -44,6 +44,10 @@ img.ui.image {
|
|||
display: block;
|
||||
visibility: hidden;
|
||||
}
|
||||
.ui.images > .hidden.transition {
|
||||
display: inline-block;
|
||||
visibility: hidden;
|
||||
}
|
||||
.ui.disabled.images,
|
||||
.ui.disabled.image {
|
||||
cursor: default;
|
||||
|
|
@ -287,8 +291,8 @@ img.ui.bordered.image {
|
|||
margin: 0em -0.25rem 0rem;
|
||||
}
|
||||
.ui.images .image,
|
||||
.ui.images img,
|
||||
.ui.images svg {
|
||||
.ui.images > img,
|
||||
.ui.images > svg {
|
||||
display: inline-block;
|
||||
margin: 0em 0.25rem 0.5rem;
|
||||
}
|
||||
9
Resources/semantic/out/components/image.min.css
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/*!
|
||||
* # Semantic UI 2.4.1 - Image
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
* Released under the MIT license
|
||||
* http://opensource.org/licenses/MIT
|
||||
*
|
||||
*/.ui.image{position:relative;display:inline-block;vertical-align:middle;max-width:100%;background-color:transparent}img.ui.image{display:block}.ui.image img,.ui.image svg{display:block;max-width:100%;height:auto}.ui.hidden.image,.ui.hidden.images{display:none}.ui.hidden.transition.image,.ui.hidden.transition.images{display:block;visibility:hidden}.ui.images>.hidden.transition{display:inline-block;visibility:hidden}.ui.disabled.image,.ui.disabled.images{cursor:default;opacity:.45}.ui.inline.image,.ui.inline.image img,.ui.inline.image svg{display:inline-block}.ui.top.aligned.image,.ui.top.aligned.image img,.ui.top.aligned.image svg,.ui.top.aligned.images .image{display:inline-block;vertical-align:top}.ui.middle.aligned.image,.ui.middle.aligned.image img,.ui.middle.aligned.image svg,.ui.middle.aligned.images .image{display:inline-block;vertical-align:middle}.ui.bottom.aligned.image,.ui.bottom.aligned.image img,.ui.bottom.aligned.image svg,.ui.bottom.aligned.images .image{display:inline-block;vertical-align:bottom}.ui.rounded.image,.ui.rounded.image>*,.ui.rounded.images .image,.ui.rounded.images .image>*{border-radius:.3125em}.ui.bordered.image img,.ui.bordered.image svg,.ui.bordered.images .image,.ui.bordered.images img,.ui.bordered.images svg,img.ui.bordered.image{border:1px solid rgba(0,0,0,.1)}.ui.circular.image,.ui.circular.images{overflow:hidden}.ui.circular.image,.ui.circular.image>*,.ui.circular.images .image,.ui.circular.images .image>*{border-radius:500rem}.ui.fluid.image,.ui.fluid.image img,.ui.fluid.image svg,.ui.fluid.images,.ui.fluid.images img,.ui.fluid.images svg{display:block;width:100%;height:auto}.ui.avatar.image,.ui.avatar.image img,.ui.avatar.image svg,.ui.avatar.images .image,.ui.avatar.images img,.ui.avatar.images svg{margin-right:.25em;display:inline-block;width:2em;height:2em;border-radius:500rem}.ui.spaced.image{display:inline-block!important;margin-left:.5em;margin-right:.5em}.ui[class*="left spaced"].image{margin-left:.5em;margin-right:0}.ui[class*="right spaced"].image{margin-left:0;margin-right:.5em}.ui.floated.image,.ui.floated.images{float:left;margin-right:1em;margin-bottom:1em}.ui.right.floated.image,.ui.right.floated.images{float:right;margin-right:0;margin-bottom:1em;margin-left:1em}.ui.floated.image:last-child,.ui.floated.images:last-child{margin-bottom:0}.ui.centered.image,.ui.centered.images{margin-left:auto;margin-right:auto}.ui.mini.image,.ui.mini.images .image,.ui.mini.images img,.ui.mini.images svg{width:35px;height:auto;font-size:.78571429rem}.ui.tiny.image,.ui.tiny.images .image,.ui.tiny.images img,.ui.tiny.images svg{width:80px;height:auto;font-size:.85714286rem}.ui.small.image,.ui.small.images .image,.ui.small.images img,.ui.small.images svg{width:150px;height:auto;font-size:.92857143rem}.ui.medium.image,.ui.medium.images .image,.ui.medium.images img,.ui.medium.images svg{width:300px;height:auto;font-size:1rem}.ui.large.image,.ui.large.images .image,.ui.large.images img,.ui.large.images svg{width:450px;height:auto;font-size:1.14285714rem}.ui.big.image,.ui.big.images .image,.ui.big.images img,.ui.big.images svg{width:600px;height:auto;font-size:1.28571429rem}.ui.huge.image,.ui.huge.images .image,.ui.huge.images img,.ui.huge.images svg{width:800px;height:auto;font-size:1.42857143rem}.ui.massive.image,.ui.massive.images .image,.ui.massive.images img,.ui.massive.images svg{width:960px;height:auto;font-size:1.71428571rem}.ui.images{font-size:0;margin:0 -.25rem 0}.ui.images .image,.ui.images>img,.ui.images>svg{display:inline-block;margin:0 .25rem .5rem}
|
||||
97
semantic/out/components/input.css → Resources/semantic/out/components/input.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Input
|
||||
* # Semantic UI 2.4.1 - Input
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
display: inline-flex;
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
}
|
||||
.ui.input input {
|
||||
.ui.input > input {
|
||||
margin: 0em;
|
||||
max-width: 100%;
|
||||
-webkit-box-flex: 1;
|
||||
|
|
@ -43,9 +43,12 @@
|
|||
border: 1px solid rgba(34, 36, 38, 0.15);
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
border-radius: 0.28571429rem;
|
||||
-webkit-transition: box-shadow 0.1s ease, border-color 0.1s ease;
|
||||
-webkit-transition: border-color 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
transition: border-color 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
transition: box-shadow 0.1s ease, border-color 0.1s ease;
|
||||
box-shadow: none;
|
||||
transition: box-shadow 0.1s ease, border-color 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/*--------------------
|
||||
|
|
@ -54,13 +57,13 @@
|
|||
|
||||
|
||||
/* browsers require these rules separate */
|
||||
.ui.input input::-webkit-input-placeholder {
|
||||
.ui.input > input::-webkit-input-placeholder {
|
||||
color: rgba(191, 191, 191, 0.87);
|
||||
}
|
||||
.ui.input input::-moz-placeholder {
|
||||
.ui.input > input::-moz-placeholder {
|
||||
color: rgba(191, 191, 191, 0.87);
|
||||
}
|
||||
.ui.input input:-ms-input-placeholder {
|
||||
.ui.input > input:-ms-input-placeholder {
|
||||
color: rgba(191, 191, 191, 0.87);
|
||||
}
|
||||
|
||||
|
|
@ -75,11 +78,11 @@
|
|||
---------------------*/
|
||||
|
||||
.ui.disabled.input,
|
||||
.ui.input input[disabled] {
|
||||
.ui.input:not(.disabled) input[disabled] {
|
||||
opacity: 0.45;
|
||||
}
|
||||
.ui.disabled.input input,
|
||||
.ui.input input[disabled] {
|
||||
.ui.disabled.input > input,
|
||||
.ui.input:not(.disabled) input[disabled] {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
|
@ -87,12 +90,13 @@
|
|||
Active
|
||||
---------------------*/
|
||||
|
||||
.ui.input input:active,
|
||||
.ui.input > input:active,
|
||||
.ui.input.down input {
|
||||
border-color: rgba(0, 0, 0, 0.3);
|
||||
background: #FAFAFA;
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/*--------------------
|
||||
|
|
@ -126,30 +130,32 @@
|
|||
border-color: #767676 transparent transparent;
|
||||
border-style: solid;
|
||||
border-width: 0.2em;
|
||||
box-shadow: 0px 0px 0px 1px transparent;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px transparent;
|
||||
box-shadow: 0px 0px 0px 1px transparent;
|
||||
}
|
||||
|
||||
/*--------------------
|
||||
Focus
|
||||
---------------------*/
|
||||
|
||||
.ui.input.focus input,
|
||||
.ui.input input:focus {
|
||||
.ui.input.focus > input,
|
||||
.ui.input > input:focus {
|
||||
border-color: #85B7D9;
|
||||
background: #FFFFFF;
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.ui.input.focus input::-webkit-input-placeholder,
|
||||
.ui.input input:focus::-webkit-input-placeholder {
|
||||
.ui.input.focus > input::-webkit-input-placeholder,
|
||||
.ui.input > input:focus::-webkit-input-placeholder {
|
||||
color: rgba(115, 115, 115, 0.87);
|
||||
}
|
||||
.ui.input.focus input::-moz-placeholder,
|
||||
.ui.input input:focus::-moz-placeholder {
|
||||
.ui.input.focus > input::-moz-placeholder,
|
||||
.ui.input > input:focus::-moz-placeholder {
|
||||
color: rgba(115, 115, 115, 0.87);
|
||||
}
|
||||
.ui.input.focus input:-ms-input-placeholder,
|
||||
.ui.input input:focus:-ms-input-placeholder {
|
||||
.ui.input.focus > input:-ms-input-placeholder,
|
||||
.ui.input > input:focus:-ms-input-placeholder {
|
||||
color: rgba(115, 115, 115, 0.87);
|
||||
}
|
||||
|
||||
|
|
@ -157,32 +163,33 @@
|
|||
Error
|
||||
---------------------*/
|
||||
|
||||
.ui.input.error input {
|
||||
.ui.input.error > input {
|
||||
background-color: #FFF6F6;
|
||||
border-color: #E0B4B4;
|
||||
color: #9F3A38;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Error Placeholder */
|
||||
.ui.input.error input::-webkit-input-placeholder {
|
||||
.ui.input.error > input::-webkit-input-placeholder {
|
||||
color: #e7bdbc;
|
||||
}
|
||||
.ui.input.error input::-moz-placeholder {
|
||||
.ui.input.error > input::-moz-placeholder {
|
||||
color: #e7bdbc;
|
||||
}
|
||||
.ui.input.error input:-ms-input-placeholder {
|
||||
.ui.input.error > input:-ms-input-placeholder {
|
||||
color: #e7bdbc !important;
|
||||
}
|
||||
|
||||
/* Focused Error Placeholder */
|
||||
.ui.input.error input:focus::-webkit-input-placeholder {
|
||||
.ui.input.error > input:focus::-webkit-input-placeholder {
|
||||
color: #da9796;
|
||||
}
|
||||
.ui.input.error input:focus::-moz-placeholder {
|
||||
.ui.input.error > input:focus::-moz-placeholder {
|
||||
color: #da9796;
|
||||
}
|
||||
.ui.input.error input:focus:-ms-input-placeholder {
|
||||
.ui.input.error > input:focus:-ms-input-placeholder {
|
||||
color: #da9796 !important;
|
||||
}
|
||||
|
||||
|
|
@ -196,11 +203,13 @@
|
|||
Transparent
|
||||
---------------------*/
|
||||
|
||||
.ui.transparent.input input {
|
||||
.ui.transparent.input > input {
|
||||
border-color: transparent !important;
|
||||
background-color: transparent !important;
|
||||
padding: 0em !important;
|
||||
box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
border-radius: 0px !important;
|
||||
}
|
||||
|
||||
/* Transparent Icon */
|
||||
|
|
@ -220,16 +229,16 @@
|
|||
.ui.transparent.inverted.input {
|
||||
color: #FFFFFF;
|
||||
}
|
||||
.ui.transparent.inverted.input input {
|
||||
.ui.transparent.inverted.input > input {
|
||||
color: inherit;
|
||||
}
|
||||
.ui.transparent.inverted.input input::-webkit-input-placeholder {
|
||||
.ui.transparent.inverted.input > input::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.ui.transparent.inverted.input input::-moz-placeholder {
|
||||
.ui.transparent.inverted.input > input::-moz-placeholder {
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.ui.transparent.inverted.input input:-ms-input-placeholder {
|
||||
.ui.transparent.inverted.input > input:-ms-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
|
|
@ -255,7 +264,7 @@
|
|||
.ui.icon.input > i.icon:not(.link) {
|
||||
pointer-events: none;
|
||||
}
|
||||
.ui.icon.input input {
|
||||
.ui.icon.input > input {
|
||||
padding-right: 2.67142857em !important;
|
||||
}
|
||||
.ui.icon.input > i.icon:before,
|
||||
|
|
@ -328,16 +337,16 @@
|
|||
}
|
||||
|
||||
/* Regular Label on Right */
|
||||
.ui[class*="right labeled"].input input {
|
||||
.ui[class*="right labeled"].input > input {
|
||||
border-top-right-radius: 0px !important;
|
||||
border-bottom-right-radius: 0px !important;
|
||||
border-right-color: transparent !important;
|
||||
}
|
||||
.ui[class*="right labeled"].input input + .label {
|
||||
.ui[class*="right labeled"].input > input + .label {
|
||||
border-top-left-radius: 0px;
|
||||
border-bottom-left-radius: 0px;
|
||||
}
|
||||
.ui[class*="right labeled"].input input:focus {
|
||||
.ui[class*="right labeled"].input > input:focus {
|
||||
border-right-color: #85B7D9 !important;
|
||||
}
|
||||
|
||||
|
|
@ -350,7 +359,7 @@
|
|||
}
|
||||
|
||||
/* Spacing with corner label */
|
||||
.ui[class*="corner labeled"]:not([class*="left corner labeled"]).labeled.input input {
|
||||
.ui[class*="corner labeled"]:not([class*="left corner labeled"]).labeled.input > input {
|
||||
padding-right: 2.5em !important;
|
||||
}
|
||||
.ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > input {
|
||||
|
|
@ -361,7 +370,7 @@
|
|||
}
|
||||
|
||||
/* Left Labeled */
|
||||
.ui[class*="left corner labeled"].labeled.input input {
|
||||
.ui[class*="left corner labeled"].labeled.input > input {
|
||||
padding-left: 2.5em !important;
|
||||
}
|
||||
.ui[class*="left corner labeled"].icon.input > input {
|
||||
|
|
@ -422,7 +431,7 @@
|
|||
}
|
||||
|
||||
/* Input Focus */
|
||||
.ui.action.input:not([class*="left action"]) input:focus {
|
||||
.ui.action.input:not([class*="left action"]) > input:focus {
|
||||
border-right-color: #85B7D9 !important;
|
||||
}
|
||||
|
||||
|
|
@ -454,7 +463,7 @@
|
|||
|
||||
|
||||
/* Standard */
|
||||
.ui.inverted.input input {
|
||||
.ui.inverted.input > input {
|
||||
border: none;
|
||||
}
|
||||
|
||||
9
Resources/semantic/out/components/input.min.css
vendored
Normal file
19
semantic/out/components/item.css → Resources/semantic/out/components/item.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Item
|
||||
* # Semantic UI 2.4.1 - Item
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -29,9 +29,12 @@
|
|||
padding: 0em;
|
||||
border: none;
|
||||
border-radius: 0rem;
|
||||
box-shadow: none;
|
||||
-webkit-transition: box-shadow 0.1s ease;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
-webkit-transition: -webkit-box-shadow 0.1s ease;
|
||||
transition: -webkit-box-shadow 0.1s ease;
|
||||
transition: box-shadow 0.1s ease;
|
||||
transition: box-shadow 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
z-index: '';
|
||||
}
|
||||
.ui.items > .item a {
|
||||
|
|
@ -86,7 +89,6 @@
|
|||
padding: 0em;
|
||||
max-height: '';
|
||||
-ms-flex-item-align: top;
|
||||
-ms-grid-row-align: top;
|
||||
align-self: top;
|
||||
}
|
||||
.ui.items > .item > .image > img {
|
||||
|
|
@ -112,7 +114,8 @@
|
|||
background: none;
|
||||
margin: 0em;
|
||||
padding: 0em;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
font-size: 1em;
|
||||
border: none;
|
||||
border-radius: 0em;
|
||||
|
|
@ -131,7 +134,6 @@
|
|||
display: block;
|
||||
margin-left: 0em;
|
||||
-ms-flex-item-align: top;
|
||||
-ms-grid-row-align: top;
|
||||
align-self: top;
|
||||
padding-left: 1.5em;
|
||||
}
|
||||
|
|
@ -165,7 +167,6 @@
|
|||
|
||||
.ui.items > .item .content img {
|
||||
-ms-flex-item-align: middle;
|
||||
-ms-grid-row-align: middle;
|
||||
align-self: middle;
|
||||
width: '';
|
||||
}
|
||||
|
|
@ -306,7 +307,8 @@
|
|||
top: 0em;
|
||||
left: 0em;
|
||||
color: rgba(0, 0, 0, 0.4);
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
-webkit-transition: color 0.1s ease;
|
||||
transition: color 0.1s ease;
|
||||
border-top: none;
|
||||
|
|
@ -393,7 +395,6 @@
|
|||
}
|
||||
.ui.items > .item > .image + [class*="middle aligned"].content {
|
||||
-ms-flex-item-align: center;
|
||||
-ms-grid-row-align: center;
|
||||
align-self: center;
|
||||
}
|
||||
.ui.items > .item > .image + [class*="bottom aligned"].content {
|
||||
9
Resources/semantic/out/components/item.min.css
vendored
Normal file
62
semantic/out/components/label.css → Resources/semantic/out/components/label.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Label
|
||||
* # Semantic UI 2.4.1 - Label
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -150,7 +150,8 @@ a.ui.label {
|
|||
background: #E8E8E8;
|
||||
padding: 0.5833em 0.833em 0.5833em 0.5em;
|
||||
border-radius: 0.28571429rem;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.ui.image.label img {
|
||||
display: inline-block;
|
||||
|
|
@ -205,7 +206,8 @@ a.ui.label {
|
|||
background-color: #FFFFFF !important;
|
||||
width: 0.5em;
|
||||
height: 0.5em;
|
||||
box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, 0.3);
|
||||
-webkit-box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, 0.3);
|
||||
border-radius: 500rem;
|
||||
}
|
||||
|
||||
|
|
@ -314,15 +316,15 @@ a.ui.label {
|
|||
|
||||
/* Positioning */
|
||||
.ui.ribbon.label {
|
||||
left: calc( -1rem - 1.2em );
|
||||
left: calc(-1rem - 1.2em);
|
||||
margin-right: -1.2em;
|
||||
padding-left: calc( 1rem + 1.2em );
|
||||
padding-left: calc(1rem + 1.2em);
|
||||
padding-right: 1.2em;
|
||||
}
|
||||
.ui[class*="right ribbon"].label {
|
||||
left: calc(100% + 1rem + 1.2em );
|
||||
left: calc(100% + 1rem + 1.2em);
|
||||
padding-left: 1.2em;
|
||||
padding-right: calc( 1rem + 1.2em );
|
||||
padding-right: calc(1rem + 1.2em);
|
||||
}
|
||||
|
||||
/* Right Ribbon */
|
||||
|
|
@ -349,20 +351,20 @@ a.ui.label {
|
|||
}
|
||||
.ui.card .image > .ui.ribbon.label,
|
||||
.ui.image > .ui.ribbon.label {
|
||||
left: calc( 0.05rem - 1.2em );
|
||||
left: calc(--0.05rem - 1.2em);
|
||||
}
|
||||
.ui.card .image > .ui[class*="right ribbon"].label,
|
||||
.ui.image > .ui[class*="right ribbon"].label {
|
||||
left: calc(100% + -0.05rem + 1.2em );
|
||||
left: calc(100% + -0.05rem + 1.2em);
|
||||
padding-left: 0.833em;
|
||||
}
|
||||
|
||||
/* Inside Table */
|
||||
.ui.table td > .ui.ribbon.label {
|
||||
left: calc( -0.78571429em - 1.2em );
|
||||
left: calc(-0.78571429em - 1.2em);
|
||||
}
|
||||
.ui.table td > .ui[class*="right ribbon"].label {
|
||||
left: calc(100% + 0.78571429em + 1.2em );
|
||||
left: calc(100% + 0.78571429em + 1.2em);
|
||||
padding-left: 0.833em;
|
||||
}
|
||||
|
||||
|
|
@ -534,7 +536,7 @@ a.ui.red.label:hover {
|
|||
|
||||
/* Basic */
|
||||
.ui.basic.red.label {
|
||||
background-color: #FFFFFF !important;
|
||||
background: none #FFFFFF !important;
|
||||
color: #DB2828 !important;
|
||||
border-color: #DB2828 !important;
|
||||
}
|
||||
|
|
@ -575,7 +577,7 @@ a.ui.orange.label:hover {
|
|||
|
||||
/* Basic */
|
||||
.ui.basic.orange.label {
|
||||
background-color: #FFFFFF !important;
|
||||
background: none #FFFFFF !important;
|
||||
color: #F2711C !important;
|
||||
border-color: #F2711C !important;
|
||||
}
|
||||
|
|
@ -616,7 +618,7 @@ a.ui.yellow.label:hover {
|
|||
|
||||
/* Basic */
|
||||
.ui.basic.yellow.label {
|
||||
background-color: #FFFFFF !important;
|
||||
background: none #FFFFFF !important;
|
||||
color: #FBBD08 !important;
|
||||
border-color: #FBBD08 !important;
|
||||
}
|
||||
|
|
@ -657,7 +659,7 @@ a.ui.olive.label:hover {
|
|||
|
||||
/* Basic */
|
||||
.ui.basic.olive.label {
|
||||
background-color: #FFFFFF !important;
|
||||
background: none #FFFFFF !important;
|
||||
color: #B5CC18 !important;
|
||||
border-color: #B5CC18 !important;
|
||||
}
|
||||
|
|
@ -698,7 +700,7 @@ a.ui.green.label:hover {
|
|||
|
||||
/* Basic */
|
||||
.ui.basic.green.label {
|
||||
background-color: #FFFFFF !important;
|
||||
background: none #FFFFFF !important;
|
||||
color: #21BA45 !important;
|
||||
border-color: #21BA45 !important;
|
||||
}
|
||||
|
|
@ -739,7 +741,7 @@ a.ui.teal.label:hover {
|
|||
|
||||
/* Basic */
|
||||
.ui.basic.teal.label {
|
||||
background-color: #FFFFFF !important;
|
||||
background: none #FFFFFF !important;
|
||||
color: #00B5AD !important;
|
||||
border-color: #00B5AD !important;
|
||||
}
|
||||
|
|
@ -780,7 +782,7 @@ a.ui.blue.label:hover {
|
|||
|
||||
/* Basic */
|
||||
.ui.basic.blue.label {
|
||||
background-color: #FFFFFF !important;
|
||||
background: none #FFFFFF !important;
|
||||
color: #2185D0 !important;
|
||||
border-color: #2185D0 !important;
|
||||
}
|
||||
|
|
@ -821,7 +823,7 @@ a.ui.violet.label:hover {
|
|||
|
||||
/* Basic */
|
||||
.ui.basic.violet.label {
|
||||
background-color: #FFFFFF !important;
|
||||
background: none #FFFFFF !important;
|
||||
color: #6435C9 !important;
|
||||
border-color: #6435C9 !important;
|
||||
}
|
||||
|
|
@ -862,7 +864,7 @@ a.ui.purple.label:hover {
|
|||
|
||||
/* Basic */
|
||||
.ui.basic.purple.label {
|
||||
background-color: #FFFFFF !important;
|
||||
background: none #FFFFFF !important;
|
||||
color: #A333C8 !important;
|
||||
border-color: #A333C8 !important;
|
||||
}
|
||||
|
|
@ -903,7 +905,7 @@ a.ui.pink.label:hover {
|
|||
|
||||
/* Basic */
|
||||
.ui.basic.pink.label {
|
||||
background-color: #FFFFFF !important;
|
||||
background: none #FFFFFF !important;
|
||||
color: #E03997 !important;
|
||||
border-color: #E03997 !important;
|
||||
}
|
||||
|
|
@ -944,7 +946,7 @@ a.ui.brown.label:hover {
|
|||
|
||||
/* Basic */
|
||||
.ui.basic.brown.label {
|
||||
background-color: #FFFFFF !important;
|
||||
background: none #FFFFFF !important;
|
||||
color: #A5673F !important;
|
||||
border-color: #A5673F !important;
|
||||
}
|
||||
|
|
@ -985,7 +987,7 @@ a.ui.grey.label:hover {
|
|||
|
||||
/* Basic */
|
||||
.ui.basic.grey.label {
|
||||
background-color: #FFFFFF !important;
|
||||
background: none #FFFFFF !important;
|
||||
color: #767676 !important;
|
||||
border-color: #767676 !important;
|
||||
}
|
||||
|
|
@ -1026,7 +1028,7 @@ a.ui.black.label:hover {
|
|||
|
||||
/* Basic */
|
||||
.ui.basic.black.label {
|
||||
background-color: #FFFFFF !important;
|
||||
background: none #FFFFFF !important;
|
||||
color: #1B1C1D !important;
|
||||
border-color: #1B1C1D !important;
|
||||
}
|
||||
|
|
@ -1045,7 +1047,8 @@ a.ui.basic.black.label:hover {
|
|||
background: none #FFFFFF;
|
||||
border: 1px solid rgba(34, 36, 38, 0.15);
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Link */
|
||||
|
|
@ -1053,8 +1056,10 @@ a.ui.basic.label:hover {
|
|||
text-decoration: none;
|
||||
background: none #FFFFFF;
|
||||
color: #1e70bf;
|
||||
box-shadow: 1px solid rgba(34, 36, 38, 0.15);
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: 1px solid rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 1px solid rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Pointing */
|
||||
|
|
@ -1069,7 +1074,8 @@ a.ui.basic.label:hover {
|
|||
.ui.label.fluid,
|
||||
.ui.fluid.labels > .label {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/*-------------------
|
||||
9
Resources/semantic/out/components/label.min.css
vendored
Normal file
30
semantic/out/components/list.css → Resources/semantic/out/components/list.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - List
|
||||
* # Semantic UI 2.4.1 - List
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -96,7 +96,7 @@ ol.ui.list ol li,
|
|||
.ui.list > .item > i.icon {
|
||||
display: table-cell;
|
||||
margin: 0em;
|
||||
padding-top: 0.07142857em;
|
||||
padding-top: 0em;
|
||||
padding-right: 0.28571429em;
|
||||
vertical-align: top;
|
||||
-webkit-transition: color 0.1s ease;
|
||||
|
|
@ -141,12 +141,14 @@ ol.ui.list ol li,
|
|||
.ui.list > .item > .image + .content,
|
||||
.ui.list > .item > .icon + .content {
|
||||
display: table-cell;
|
||||
width: 100%;
|
||||
padding: 0em 0em 0em 0.5em;
|
||||
vertical-align: top;
|
||||
}
|
||||
.ui.list .list > .item > img.image + .content,
|
||||
.ui.list > .item > img.image + .content {
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
}
|
||||
.ui.list .list > .item > .content > .list,
|
||||
.ui.list > .item > .content > .list {
|
||||
|
|
@ -408,16 +410,16 @@ ol.ui.list ol li,
|
|||
-webkit-transition: 0.1s color ease;
|
||||
transition: 0.1s color ease;
|
||||
}
|
||||
.ui.link.list a.item:hover,
|
||||
.ui.link.list .item a:not(.ui):hover {
|
||||
.ui.link.list.list a.item:hover,
|
||||
.ui.link.list.list .item a:not(.ui):hover {
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
.ui.link.list a.item:active,
|
||||
.ui.link.list .item a:not(.ui):active {
|
||||
.ui.link.list.list a.item:active,
|
||||
.ui.link.list.list .item a:not(.ui):active {
|
||||
color: rgba(0, 0, 0, 0.9);
|
||||
}
|
||||
.ui.link.list .active.item,
|
||||
.ui.link.list .active.item a:not(.ui) {
|
||||
.ui.link.list.list .active.item,
|
||||
.ui.link.list.list .active.item a:not(.ui) {
|
||||
color: rgba(0, 0, 0, 0.95);
|
||||
}
|
||||
|
||||
|
|
@ -427,16 +429,16 @@ ol.ui.list ol li,
|
|||
.ui.inverted.link.list .item a:not(.ui) {
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.ui.inverted.link.list a.item:hover,
|
||||
.ui.inverted.link.list .item a:not(.ui):hover {
|
||||
.ui.inverted.link.list.list a.item:hover,
|
||||
.ui.inverted.link.list.list .item a:not(.ui):hover {
|
||||
color: #ffffff;
|
||||
}
|
||||
.ui.inverted.link.list a.item:active,
|
||||
.ui.inverted.link.list .item a:not(.ui):active {
|
||||
.ui.inverted.link.list.list a.item:active,
|
||||
.ui.inverted.link.list.list .item a:not(.ui):active {
|
||||
color: #ffffff;
|
||||
}
|
||||
.ui.inverted.link.list a.active.item,
|
||||
.ui.inverted.link.list .active.item a:not(.ui) {
|
||||
.ui.inverted.link.list.list a.active.item,
|
||||
.ui.inverted.link.list.list .active.item a:not(.ui) {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
9
Resources/semantic/out/components/list.min.css
vendored
Normal file
8
semantic/out/components/loader.css → Resources/semantic/out/components/loader.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Loader
|
||||
* # Semantic UI 2.4.1 - Loader
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -55,7 +55,8 @@
|
|||
border-color: #767676 transparent transparent;
|
||||
border-style: solid;
|
||||
border-width: 0.2em;
|
||||
box-shadow: 0px 0px 0px 1px transparent;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px transparent;
|
||||
box-shadow: 0px 0px 0px 1px transparent;
|
||||
}
|
||||
|
||||
/* Active Animation */
|
||||
|
|
@ -185,8 +186,7 @@
|
|||
*******************************/
|
||||
|
||||
.ui.indeterminate.loader:after {
|
||||
-webkit-animation-direction: reverse;
|
||||
animation-direction: reverse;
|
||||
animation-direction: reverse;
|
||||
-webkit-animation-duration: 1.2s;
|
||||
animation-duration: 1.2s;
|
||||
}
|
||||
9
Resources/semantic/out/components/loader.min.css
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/*!
|
||||
* # Semantic UI 2.4.1 - Loader
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
* Released under the MIT license
|
||||
* http://opensource.org/licenses/MIT
|
||||
*
|
||||
*/.ui.loader{display:none;position:absolute;top:50%;left:50%;margin:0;text-align:center;z-index:1000;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.ui.loader:before{position:absolute;content:'';top:0;left:50%;width:100%;height:100%;border-radius:500rem;border:.2em solid rgba(0,0,0,.1)}.ui.loader:after{position:absolute;content:'';top:0;left:50%;width:100%;height:100%;-webkit-animation:loader .6s linear;animation:loader .6s linear;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;border-radius:500rem;border-color:#767676 transparent transparent;border-style:solid;border-width:.2em;-webkit-box-shadow:0 0 0 1px transparent;box-shadow:0 0 0 1px transparent}@-webkit-keyframes loader{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loader{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ui.mini.loader:after,.ui.mini.loader:before{width:1rem;height:1rem;margin:0 0 0 -.5rem}.ui.tiny.loader:after,.ui.tiny.loader:before{width:1.14285714rem;height:1.14285714rem;margin:0 0 0 -.57142857rem}.ui.small.loader:after,.ui.small.loader:before{width:1.71428571rem;height:1.71428571rem;margin:0 0 0 -.85714286rem}.ui.loader:after,.ui.loader:before{width:2.28571429rem;height:2.28571429rem;margin:0 0 0 -1.14285714rem}.ui.large.loader:after,.ui.large.loader:before{width:3.42857143rem;height:3.42857143rem;margin:0 0 0 -1.71428571rem}.ui.big.loader:after,.ui.big.loader:before{width:3.71428571rem;height:3.71428571rem;margin:0 0 0 -1.85714286rem}.ui.huge.loader:after,.ui.huge.loader:before{width:4.14285714rem;height:4.14285714rem;margin:0 0 0 -2.07142857rem}.ui.massive.loader:after,.ui.massive.loader:before{width:4.57142857rem;height:4.57142857rem;margin:0 0 0 -2.28571429rem}.ui.dimmer .loader{display:block}.ui.dimmer .ui.loader{color:rgba(255,255,255,.9)}.ui.dimmer .ui.loader:before{border-color:rgba(255,255,255,.15)}.ui.dimmer .ui.loader:after{border-color:#fff transparent transparent}.ui.inverted.dimmer .ui.loader{color:rgba(0,0,0,.87)}.ui.inverted.dimmer .ui.loader:before{border-color:rgba(0,0,0,.1)}.ui.inverted.dimmer .ui.loader:after{border-color:#767676 transparent transparent}.ui.text.loader{width:auto!important;height:auto!important;text-align:center;font-style:normal}.ui.indeterminate.loader:after{animation-direction:reverse;-webkit-animation-duration:1.2s;animation-duration:1.2s}.ui.loader.active,.ui.loader.visible{display:block}.ui.loader.disabled,.ui.loader.hidden{display:none}.ui.inverted.dimmer .ui.mini.loader,.ui.mini.loader{width:1rem;height:1rem;font-size:.78571429em}.ui.inverted.dimmer .ui.tiny.loader,.ui.tiny.loader{width:1.14285714rem;height:1.14285714rem;font-size:.85714286em}.ui.inverted.dimmer .ui.small.loader,.ui.small.loader{width:1.71428571rem;height:1.71428571rem;font-size:.92857143em}.ui.inverted.dimmer .ui.loader,.ui.loader{width:2.28571429rem;height:2.28571429rem;font-size:1em}.ui.inverted.dimmer .ui.large.loader,.ui.large.loader{width:3.42857143rem;height:3.42857143rem;font-size:1.14285714em}.ui.big.loader,.ui.inverted.dimmer .ui.big.loader{width:3.71428571rem;height:3.71428571rem;font-size:1.28571429em}.ui.huge.loader,.ui.inverted.dimmer .ui.huge.loader{width:4.14285714rem;height:4.14285714rem;font-size:1.42857143em}.ui.inverted.dimmer .ui.massive.loader,.ui.massive.loader{width:4.57142857rem;height:4.57142857rem;font-size:1.71428571em}.ui.mini.text.loader{min-width:1rem;padding-top:1.78571429rem}.ui.tiny.text.loader{min-width:1.14285714rem;padding-top:1.92857143rem}.ui.small.text.loader{min-width:1.71428571rem;padding-top:2.5rem}.ui.text.loader{min-width:2.28571429rem;padding-top:3.07142857rem}.ui.large.text.loader{min-width:3.42857143rem;padding-top:4.21428571rem}.ui.big.text.loader{min-width:3.71428571rem;padding-top:4.5rem}.ui.huge.text.loader{min-width:4.14285714rem;padding-top:4.92857143rem}.ui.massive.text.loader{min-width:4.57142857rem;padding-top:5.35714286rem}.ui.inverted.loader{color:rgba(255,255,255,.9)}.ui.inverted.loader:before{border-color:rgba(255,255,255,.15)}.ui.inverted.loader:after{border-top-color:#fff}.ui.inline.loader{position:relative;vertical-align:middle;margin:0;left:0;top:0;-webkit-transform:none;transform:none}.ui.inline.loader.active,.ui.inline.loader.visible{display:inline-block}.ui.centered.inline.loader.active,.ui.centered.inline.loader.visible{display:block;margin-left:auto;margin-right:auto}
|
||||
152
semantic/out/components/menu.css → Resources/semantic/out/components/menu.css
Executable file → Normal file
|
|
@ -28,7 +28,8 @@
|
|||
background: #FFFFFF;
|
||||
font-weight: normal;
|
||||
border: 1px solid rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
|
||||
border-radius: 0.28571429rem;
|
||||
min-height: 2.85714286em;
|
||||
}
|
||||
|
|
@ -89,8 +90,10 @@
|
|||
text-transform: none;
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
font-weight: normal;
|
||||
-webkit-transition: background 0.1s ease, box-shadow 0.1s ease, color 0.1s ease;
|
||||
-webkit-transition: background 0.1s ease, color 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
transition: background 0.1s ease, color 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
transition: background 0.1s ease, box-shadow 0.1s ease, color 0.1s ease;
|
||||
transition: background 0.1s ease, box-shadow 0.1s ease, color 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
}
|
||||
.ui.menu > .item:first-child {
|
||||
border-radius: 0.28571429rem 0px 0px 0.28571429rem;
|
||||
|
|
@ -162,8 +165,8 @@
|
|||
-webkit-box-align: inherit;
|
||||
-ms-flex-align: inherit;
|
||||
align-items: inherit;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-webkit-box-orient: inherit;
|
||||
-webkit-box-direction: inherit;
|
||||
-ms-flex-direction: inherit;
|
||||
flex-direction: inherit;
|
||||
}
|
||||
|
|
@ -217,12 +220,12 @@
|
|||
|
||||
/* Menu */
|
||||
.ui.menu .dropdown.item .menu {
|
||||
left: 0px;
|
||||
min-width: calc(100% - 1px);
|
||||
border-radius: 0em 0em 0.28571429rem 0.28571429rem;
|
||||
background: #FFFFFF;
|
||||
margin: 0em 0px 0px;
|
||||
box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.08);
|
||||
-webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.08);
|
||||
box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.08);
|
||||
-webkit-box-orient: vertical !important;
|
||||
-webkit-box-direction: normal !important;
|
||||
-ms-flex-direction: column !important;
|
||||
|
|
@ -239,7 +242,8 @@
|
|||
color: rgba(0, 0, 0, 0.87) !important;
|
||||
text-transform: none !important;
|
||||
font-weight: normal !important;
|
||||
box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
-webkit-transition: none !important;
|
||||
transition: none !important;
|
||||
}
|
||||
|
|
@ -263,7 +267,7 @@
|
|||
display: inline-block;
|
||||
font-size: 1em !important;
|
||||
float: none;
|
||||
margin: 0em 0.75em 0em 0em;
|
||||
margin: 0em 0.75em 0em 0em !important;
|
||||
}
|
||||
|
||||
/* Secondary */
|
||||
|
|
@ -294,7 +298,8 @@
|
|||
left: 100%;
|
||||
min-width: 0;
|
||||
margin: 0em 0em 0em 0em;
|
||||
box-shadow: 0 1px 3px 0px rgba(0, 0, 0, 0.08);
|
||||
-webkit-box-shadow: 0 1px 3px 0px rgba(0, 0, 0, 0.08);
|
||||
box-shadow: 0 1px 3px 0px rgba(0, 0, 0, 0.08);
|
||||
border-radius: 0em 0.28571429rem 0.28571429rem 0.28571429rem;
|
||||
}
|
||||
.ui.vertical.menu .dropdown.item.upward .menu {
|
||||
|
|
@ -308,7 +313,8 @@
|
|||
border-bottom-right-radius: 0em;
|
||||
}
|
||||
.ui.vertical.menu .dropdown.active.item {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Evenly Divided */
|
||||
|
|
@ -359,6 +365,16 @@
|
|||
*******************************/
|
||||
|
||||
|
||||
/*--------------
|
||||
List
|
||||
---------------*/
|
||||
|
||||
|
||||
/* Menu divider shouldnt apply */
|
||||
.ui.menu .list .item:before {
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
/*--------------
|
||||
Sidebar
|
||||
---------------*/
|
||||
|
|
@ -428,7 +444,8 @@
|
|||
background: rgba(0, 0, 0, 0.05);
|
||||
color: rgba(0, 0, 0, 0.95);
|
||||
font-weight: normal;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.ui.menu .active.item > i.icon {
|
||||
opacity: 1;
|
||||
|
|
@ -450,9 +467,9 @@
|
|||
|
||||
.ui.menu .item.disabled,
|
||||
.ui.menu .item.disabled:hover {
|
||||
cursor: default;
|
||||
cursor: default !important;
|
||||
background-color: transparent !important;
|
||||
color: rgba(40, 40, 40, 0.3);
|
||||
color: rgba(40, 40, 40, 0.3) !important;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -468,7 +485,7 @@ Floated Menu / Item
|
|||
|
||||
/* Left Floated */
|
||||
.ui.menu:not(.vertical) .left.item,
|
||||
.ui.menu:not(.vertical) .left.menu {
|
||||
.ui.menu:not(.vertical) :not(.dropdown) > .left.menu {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
|
|
@ -502,7 +519,8 @@ Floated Menu / Item
|
|||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
|
||||
/*--- Item ---*/
|
||||
|
|
@ -577,7 +595,8 @@ Floated Menu / Item
|
|||
.ui.vertical.menu .active.item {
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
border-radius: 0em;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.ui.vertical.menu > .active.item:first-child {
|
||||
border-radius: 0.28571429rem 0.28571429rem 0em 0em;
|
||||
|
|
@ -603,13 +622,14 @@ Floated Menu / Item
|
|||
|
||||
.ui.tabular.menu {
|
||||
border-radius: 0em;
|
||||
box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
border: none;
|
||||
background: none transparent;
|
||||
border-bottom: 1px solid #D4D4D5;
|
||||
}
|
||||
.ui.tabular.fluid.menu {
|
||||
width: calc(100% + 2px ) !important;
|
||||
width: calc(100% + (1px * 2)) !important;
|
||||
}
|
||||
.ui.tabular.menu .item {
|
||||
background: transparent;
|
||||
|
|
@ -638,7 +658,8 @@ Floated Menu / Item
|
|||
border-color: #D4D4D5;
|
||||
font-weight: bold;
|
||||
margin-bottom: -1px;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
border-radius: 0.28571429rem 0.28571429rem 0px 0px !important;
|
||||
}
|
||||
|
||||
|
|
@ -653,7 +674,7 @@ Floated Menu / Item
|
|||
}
|
||||
.top.attached.segment + .ui.bottom.tabular.menu {
|
||||
position: relative;
|
||||
width: calc(100% + 2px );
|
||||
width: calc(100% + (1px * 2));
|
||||
left: -1px;
|
||||
}
|
||||
|
||||
|
|
@ -661,7 +682,8 @@ Floated Menu / Item
|
|||
.ui.bottom.tabular.menu {
|
||||
background: none transparent;
|
||||
border-radius: 0em;
|
||||
box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
border-bottom: none;
|
||||
border-top: 1px solid #D4D4D5;
|
||||
}
|
||||
|
|
@ -684,7 +706,8 @@ Floated Menu / Item
|
|||
.ui.vertical.tabular.menu {
|
||||
background: none transparent;
|
||||
border-radius: 0em;
|
||||
box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
border-bottom: none;
|
||||
border-right: 1px solid #D4D4D5;
|
||||
}
|
||||
|
|
@ -707,7 +730,8 @@ Floated Menu / Item
|
|||
.ui.vertical.right.tabular.menu {
|
||||
background: none transparent;
|
||||
border-radius: 0em;
|
||||
box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
border-bottom: none;
|
||||
border-right: none;
|
||||
border-left: 1px solid #D4D4D5;
|
||||
|
|
@ -770,7 +794,8 @@ Floated Menu / Item
|
|||
padding-top: 0.92857143em;
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
color: rgba(0, 0, 0, 0.95);
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/*--------------
|
||||
|
|
@ -783,15 +808,16 @@ Floated Menu / Item
|
|||
margin-right: -0.35714286em;
|
||||
border-radius: 0em;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Item */
|
||||
.ui.secondary.menu .item {
|
||||
-ms-flex-item-align: center;
|
||||
-ms-grid-row-align: center;
|
||||
align-self: center;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
padding: 0.78571429em 0.92857143em;
|
||||
margin: 0em 0.35714286em;
|
||||
|
|
@ -828,7 +854,8 @@ Floated Menu / Item
|
|||
|
||||
/* Active */
|
||||
.ui.secondary.menu .active.item {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
color: rgba(0, 0, 0, 0.95);
|
||||
border-radius: 0.28571429rem;
|
||||
|
|
@ -836,7 +863,8 @@ Floated Menu / Item
|
|||
|
||||
/* Active Hover */
|
||||
.ui.secondary.menu .active.item:hover {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
color: rgba(0, 0, 0, 0.95);
|
||||
}
|
||||
|
|
@ -866,7 +894,8 @@ Floated Menu / Item
|
|||
margin-right: 0em;
|
||||
}
|
||||
.ui.secondary.attached.menu {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Sub Menu */
|
||||
|
|
@ -928,7 +957,8 @@ Floated Menu / Item
|
|||
color: rgba(0, 0, 0, 0.85) !important;
|
||||
}
|
||||
.ui.secondary.pointing.menu .text.item {
|
||||
box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
.ui.secondary.pointing.menu .item:after {
|
||||
display: none;
|
||||
|
|
@ -953,7 +983,8 @@ Floated Menu / Item
|
|||
/* Active */
|
||||
.ui.secondary.pointing.menu .active.item {
|
||||
background-color: transparent;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
border-color: #1B1C1D;
|
||||
font-weight: bold;
|
||||
color: rgba(0, 0, 0, 0.95);
|
||||
|
|
@ -1025,15 +1056,16 @@ Floated Menu / Item
|
|||
.ui.text.menu {
|
||||
background: none transparent;
|
||||
border-radius: 0px;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
margin: 1em -0.5em;
|
||||
}
|
||||
.ui.text.menu .item {
|
||||
border-radius: 0px;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
-ms-flex-item-align: center;
|
||||
-ms-grid-row-align: center;
|
||||
align-self: center;
|
||||
margin: 0em 0em;
|
||||
padding: 0.35714286em 0.5em;
|
||||
|
|
@ -1115,7 +1147,8 @@ Floated Menu / Item
|
|||
.ui.text.menu .active.item {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
font-weight: normal;
|
||||
color: rgba(0, 0, 0, 0.95);
|
||||
}
|
||||
|
|
@ -1128,10 +1161,12 @@ Floated Menu / Item
|
|||
|
||||
/* Disable Bariations */
|
||||
.ui.text.pointing.menu .active.item:after {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.ui.text.attached.menu {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Inverted */
|
||||
|
|
@ -1266,6 +1301,13 @@ Floated Menu / Item
|
|||
.ui.stackable.menu .right.item {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
.ui.stackable.menu .right.menu,
|
||||
.ui.stackable.menu .left.menu {
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
/*--------------
|
||||
|
|
@ -1343,7 +1385,8 @@ Floated Menu / Item
|
|||
.ui.inverted.menu {
|
||||
border: 0px solid transparent;
|
||||
background: #1B1C1D;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Menu Item */
|
||||
|
|
@ -1375,7 +1418,8 @@ Floated Menu / Item
|
|||
.ui.inverted.menu .header.item {
|
||||
margin: 0em;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Disabled */
|
||||
|
|
@ -1420,7 +1464,8 @@ Floated Menu / Item
|
|||
.ui.inverted.pointing.menu .active.item:after {
|
||||
background: #3D3E3F !important;
|
||||
margin: 0em !important;
|
||||
box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
|
|
@ -1683,6 +1728,9 @@ Floated Menu / Item
|
|||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.ui.attached.item.menu {
|
||||
margin: 0em -1px !important;
|
||||
}
|
||||
.ui.item.menu .item:last-child:before {
|
||||
display: none;
|
||||
}
|
||||
|
|
@ -1705,13 +1753,13 @@ Floated Menu / Item
|
|||
width: 14.285%;
|
||||
}
|
||||
.ui.menu.eight.item .item {
|
||||
width: 12.500%;
|
||||
width: 12.5%;
|
||||
}
|
||||
.ui.menu.nine.item .item {
|
||||
width: 11.11%;
|
||||
}
|
||||
.ui.menu.ten.item .item {
|
||||
width: 10.0%;
|
||||
width: 10%;
|
||||
}
|
||||
.ui.menu.eleven.item .item {
|
||||
width: 9.09%;
|
||||
|
|
@ -1866,9 +1914,10 @@ Floated Menu / Item
|
|||
bottom: 0px;
|
||||
border-radius: 0px;
|
||||
margin: 0em -1px;
|
||||
width: calc(100% + 2px );
|
||||
max-width: calc(100% + 2px );
|
||||
box-shadow: none;
|
||||
width: calc(100% - (-1px * 2));
|
||||
max-width: calc(100% - (-1px * 2));
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.ui.attached + .ui.attached.menu:not(.top) {
|
||||
border-top: none;
|
||||
|
|
@ -1892,7 +1941,8 @@ Floated Menu / Item
|
|||
margin-top: 0em;
|
||||
top: 0px;
|
||||
margin-bottom: 1rem;
|
||||
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), none;
|
||||
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), none;
|
||||
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), none;
|
||||
border-radius: 0em 0em 0.28571429rem 0.28571429rem;
|
||||
}
|
||||
.ui[class*="bottom attached"].menu:last-child {
|
||||
|
|
@ -1967,18 +2017,18 @@ Floated Menu / Item
|
|||
|
||||
/* Huge */
|
||||
.ui.huge.menu {
|
||||
font-size: 1.14285714rem;
|
||||
font-size: 1.21428571rem;
|
||||
}
|
||||
.ui.huge.vertical.menu {
|
||||
width: 20rem;
|
||||
width: 22rem;
|
||||
}
|
||||
|
||||
/* Big */
|
||||
.ui.big.menu {
|
||||
font-size: 1.21428571rem;
|
||||
font-size: 1.14285714rem;
|
||||
}
|
||||
.ui.big.vertical.menu {
|
||||
width: 22rem;
|
||||
width: 20rem;
|
||||
}
|
||||
|
||||
/* Massive */
|
||||
1
Resources/semantic/out/components/menu.min.css
vendored
Normal file
74
semantic/out/components/message.css → Resources/semantic/out/components/message.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Message
|
||||
* # Semantic UI 2.4.1 - Message
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -21,10 +21,13 @@
|
|||
padding: 1em 1.5em;
|
||||
line-height: 1.4285em;
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
-webkit-transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, box-shadow 0.1s ease;
|
||||
-webkit-transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, box-shadow 0.1s ease;
|
||||
transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, box-shadow 0.1s ease, -webkit-box-shadow 0.1s ease;
|
||||
border-radius: 0.28571429rem;
|
||||
box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.22) inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.22) inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.22) inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.ui.message:first-child {
|
||||
margin-top: 0em;
|
||||
|
|
@ -174,6 +177,11 @@
|
|||
.ui.compact.message {
|
||||
display: inline-block;
|
||||
}
|
||||
.ui.compact.icon.message {
|
||||
display: -webkit-inline-box;
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
/*--------------
|
||||
Attached
|
||||
|
|
@ -182,7 +190,8 @@
|
|||
.ui.attached.message {
|
||||
margin-bottom: -1px;
|
||||
border-radius: 0.28571429rem 0.28571429rem 0em 0em;
|
||||
box-shadow: 0em 0em 0em 1px rgba(34, 36, 38, 0.15) inset;
|
||||
-webkit-box-shadow: 0em 0em 0em 1px rgba(34, 36, 38, 0.15) inset;
|
||||
box-shadow: 0em 0em 0em 1px rgba(34, 36, 38, 0.15) inset;
|
||||
margin-left: -1px;
|
||||
margin-right: -1px;
|
||||
}
|
||||
|
|
@ -193,7 +202,8 @@
|
|||
.ui.bottom.attached.message {
|
||||
margin-top: -1px;
|
||||
border-radius: 0em 0em 0.28571429rem 0.28571429rem;
|
||||
box-shadow: 0em 0em 0em 1px rgba(34, 36, 38, 0.15) inset, 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: 0em 0em 0em 1px rgba(34, 36, 38, 0.15) inset, 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0em 0em 0em 1px rgba(34, 36, 38, 0.15) inset, 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
.ui.bottom.attached.message:not(:last-child) {
|
||||
margin-bottom: 1em;
|
||||
|
|
@ -245,7 +255,8 @@
|
|||
---------------*/
|
||||
|
||||
.ui.floating.message {
|
||||
box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.22) inset, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.22) inset, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.22) inset, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
|
||||
/*--------------
|
||||
|
|
@ -269,7 +280,8 @@
|
|||
}
|
||||
.ui.positive.message,
|
||||
.ui.attached.positive.message {
|
||||
box-shadow: 0px 0px 0px 1px #A3C293 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #A3C293 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
box-shadow: 0px 0px 0px 1px #A3C293 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.ui.positive.message .header {
|
||||
color: #1A531B;
|
||||
|
|
@ -282,7 +294,8 @@
|
|||
}
|
||||
.ui.negative.message,
|
||||
.ui.attached.negative.message {
|
||||
box-shadow: 0px 0px 0px 1px #E0B4B4 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #E0B4B4 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
box-shadow: 0px 0px 0px 1px #E0B4B4 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.ui.negative.message .header {
|
||||
color: #912D2B;
|
||||
|
|
@ -295,7 +308,8 @@
|
|||
}
|
||||
.ui.info.message,
|
||||
.ui.attached.info.message {
|
||||
box-shadow: 0px 0px 0px 1px #A9D5DE inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #A9D5DE inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
box-shadow: 0px 0px 0px 1px #A9D5DE inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.ui.info.message .header {
|
||||
color: #0E566C;
|
||||
|
|
@ -308,7 +322,8 @@
|
|||
}
|
||||
.ui.warning.message,
|
||||
.ui.attached.warning.message {
|
||||
box-shadow: 0px 0px 0px 1px #C9BA9B inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #C9BA9B inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
box-shadow: 0px 0px 0px 1px #C9BA9B inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.ui.warning.message .header {
|
||||
color: #794B02;
|
||||
|
|
@ -321,7 +336,8 @@
|
|||
}
|
||||
.ui.error.message,
|
||||
.ui.attached.error.message {
|
||||
box-shadow: 0px 0px 0px 1px #E0B4B4 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #E0B4B4 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
box-shadow: 0px 0px 0px 1px #E0B4B4 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.ui.error.message .header {
|
||||
color: #912D2B;
|
||||
|
|
@ -334,7 +350,8 @@
|
|||
}
|
||||
.ui.success.message,
|
||||
.ui.attached.success.message {
|
||||
box-shadow: 0px 0px 0px 1px #A3C293 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #A3C293 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
box-shadow: 0px 0px 0px 1px #A3C293 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.ui.success.message .header {
|
||||
color: #1A531B;
|
||||
|
|
@ -349,7 +366,8 @@
|
|||
.ui.red.message {
|
||||
background-color: #FFE8E6;
|
||||
color: #DB2828;
|
||||
box-shadow: 0px 0px 0px 1px #DB2828 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #DB2828 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
box-shadow: 0px 0px 0px 1px #DB2828 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.ui.red.message .header {
|
||||
color: #c82121;
|
||||
|
|
@ -357,7 +375,8 @@
|
|||
.ui.orange.message {
|
||||
background-color: #FFEDDE;
|
||||
color: #F2711C;
|
||||
box-shadow: 0px 0px 0px 1px #F2711C inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #F2711C inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
box-shadow: 0px 0px 0px 1px #F2711C inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.ui.orange.message .header {
|
||||
color: #e7640d;
|
||||
|
|
@ -365,7 +384,8 @@
|
|||
.ui.yellow.message {
|
||||
background-color: #FFF8DB;
|
||||
color: #B58105;
|
||||
box-shadow: 0px 0px 0px 1px #B58105 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #B58105 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
box-shadow: 0px 0px 0px 1px #B58105 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.ui.yellow.message .header {
|
||||
color: #9c6f04;
|
||||
|
|
@ -373,7 +393,8 @@
|
|||
.ui.olive.message {
|
||||
background-color: #FBFDEF;
|
||||
color: #8ABC1E;
|
||||
box-shadow: 0px 0px 0px 1px #8ABC1E inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #8ABC1E inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
box-shadow: 0px 0px 0px 1px #8ABC1E inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.ui.olive.message .header {
|
||||
color: #7aa61a;
|
||||
|
|
@ -381,7 +402,8 @@
|
|||
.ui.green.message {
|
||||
background-color: #E5F9E7;
|
||||
color: #1EBC30;
|
||||
box-shadow: 0px 0px 0px 1px #1EBC30 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #1EBC30 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
box-shadow: 0px 0px 0px 1px #1EBC30 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.ui.green.message .header {
|
||||
color: #1aa62a;
|
||||
|
|
@ -389,7 +411,8 @@
|
|||
.ui.teal.message {
|
||||
background-color: #E1F7F7;
|
||||
color: #10A3A3;
|
||||
box-shadow: 0px 0px 0px 1px #10A3A3 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #10A3A3 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
box-shadow: 0px 0px 0px 1px #10A3A3 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.ui.teal.message .header {
|
||||
color: #0e8c8c;
|
||||
|
|
@ -397,7 +420,8 @@
|
|||
.ui.blue.message {
|
||||
background-color: #DFF0FF;
|
||||
color: #2185D0;
|
||||
box-shadow: 0px 0px 0px 1px #2185D0 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #2185D0 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
box-shadow: 0px 0px 0px 1px #2185D0 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.ui.blue.message .header {
|
||||
color: #1e77ba;
|
||||
|
|
@ -405,7 +429,8 @@
|
|||
.ui.violet.message {
|
||||
background-color: #EAE7FF;
|
||||
color: #6435C9;
|
||||
box-shadow: 0px 0px 0px 1px #6435C9 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #6435C9 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
box-shadow: 0px 0px 0px 1px #6435C9 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.ui.violet.message .header {
|
||||
color: #5a30b5;
|
||||
|
|
@ -413,7 +438,8 @@
|
|||
.ui.purple.message {
|
||||
background-color: #F6E7FF;
|
||||
color: #A333C8;
|
||||
box-shadow: 0px 0px 0px 1px #A333C8 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #A333C8 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
box-shadow: 0px 0px 0px 1px #A333C8 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.ui.purple.message .header {
|
||||
color: #922eb4;
|
||||
|
|
@ -421,7 +447,8 @@
|
|||
.ui.pink.message {
|
||||
background-color: #FFE3FB;
|
||||
color: #E03997;
|
||||
box-shadow: 0px 0px 0px 1px #E03997 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #E03997 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
box-shadow: 0px 0px 0px 1px #E03997 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.ui.pink.message .header {
|
||||
color: #dd238b;
|
||||
|
|
@ -429,7 +456,8 @@
|
|||
.ui.brown.message {
|
||||
background-color: #F1E2D3;
|
||||
color: #A5673F;
|
||||
box-shadow: 0px 0px 0px 1px #A5673F inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #A5673F inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
box-shadow: 0px 0px 0px 1px #A5673F inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.ui.brown.message .header {
|
||||
color: #935b38;
|
||||
9
Resources/semantic/out/components/message.min.css
vendored
Normal file
205
semantic/out/components/modal.css → Resources/semantic/out/components/modal.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Modal
|
||||
* # Semantic UI 2.4.0 - Modal
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -14,17 +14,19 @@
|
|||
*******************************/
|
||||
|
||||
.ui.modal {
|
||||
position: absolute;
|
||||
display: none;
|
||||
position: fixed;
|
||||
z-index: 1001;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
text-align: left;
|
||||
background: #FFFFFF;
|
||||
border: none;
|
||||
box-shadow: 1px 3px 3px 0px rgba(0, 0, 0, 0.2), 1px 3px 15px 2px rgba(0, 0, 0, 0.2);
|
||||
-webkit-box-shadow: 1px 3px 3px 0px rgba(0, 0, 0, 0.2), 1px 3px 15px 2px rgba(0, 0, 0, 0.2);
|
||||
box-shadow: 1px 3px 3px 0px rgba(0, 0, 0, 0.2), 1px 3px 15px 2px rgba(0, 0, 0, 0.2);
|
||||
-webkit-transform-origin: 50% 25%;
|
||||
transform-origin: 50% 25%;
|
||||
-webkit-box-flex: 0;
|
||||
-ms-flex: 0 0 auto;
|
||||
flex: 0 0 auto;
|
||||
border-radius: 0.28571429rem;
|
||||
-webkit-user-select: text;
|
||||
-moz-user-select: text;
|
||||
|
|
@ -79,7 +81,8 @@
|
|||
background: #FFFFFF;
|
||||
margin: 0em;
|
||||
padding: 1.25rem 1.5rem;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
border-bottom: 1px solid rgba(34, 36, 38, 0.15);
|
||||
}
|
||||
|
|
@ -119,22 +122,18 @@
|
|||
flex: 0 1 auto;
|
||||
width: '';
|
||||
-ms-flex-item-align: top;
|
||||
-ms-grid-row-align: top;
|
||||
align-self: top;
|
||||
}
|
||||
.ui.modal > [class*="top aligned"] {
|
||||
-ms-flex-item-align: top;
|
||||
-ms-grid-row-align: top;
|
||||
align-self: top;
|
||||
}
|
||||
.ui.modal > [class*="middle aligned"] {
|
||||
-ms-flex-item-align: middle;
|
||||
-ms-grid-row-align: middle;
|
||||
align-self: middle;
|
||||
}
|
||||
.ui.modal > [class*="stretched"] {
|
||||
-ms-flex-item-align: stretch;
|
||||
-ms-grid-row-align: stretch;
|
||||
align-self: stretch;
|
||||
}
|
||||
|
||||
|
|
@ -146,7 +145,6 @@
|
|||
flex: 1 0 auto;
|
||||
min-width: 0px;
|
||||
-ms-flex-item-align: top;
|
||||
-ms-grid-row-align: top;
|
||||
align-self: top;
|
||||
}
|
||||
.ui.modal > .content > .icon + .description,
|
||||
|
|
@ -190,31 +188,31 @@
|
|||
@media only screen and (max-width: 767px) {
|
||||
.ui.modal {
|
||||
width: 95%;
|
||||
margin: 0em 0em 0em -47.5%;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
.ui.modal {
|
||||
width: 88%;
|
||||
margin: 0em 0em 0em -44%;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 992px) {
|
||||
.ui.modal {
|
||||
width: 850px;
|
||||
margin: 0em 0em 0em -425px;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 1200px) {
|
||||
.ui.modal {
|
||||
width: 900px;
|
||||
margin: 0em 0em 0em -450px;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 1920px) {
|
||||
.ui.modal {
|
||||
width: 950px;
|
||||
margin: 0em 0em 0em -475px;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -268,7 +266,8 @@
|
|||
width: 100% !important;
|
||||
margin: 0em !important;
|
||||
padding: 1rem 0rem !important;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Let Buttons Stack */
|
||||
|
|
@ -286,7 +285,8 @@
|
|||
---------------*/
|
||||
|
||||
.ui.inverted.dimmer > .ui.modal {
|
||||
box-shadow: 1px 3px 10px 2px rgba(0, 0, 0, 0.2);
|
||||
-webkit-box-shadow: 1px 3px 10px 2px rgba(0, 0, 0, 0.2);
|
||||
box-shadow: 1px 3px 10px 2px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -298,7 +298,8 @@
|
|||
background-color: transparent;
|
||||
border: none;
|
||||
border-radius: 0em;
|
||||
box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
.ui.basic.modal > .header,
|
||||
|
|
@ -320,6 +321,19 @@
|
|||
color: rgba(0, 0, 0, 0.85);
|
||||
}
|
||||
|
||||
/* Resort to margin positioning if legacy */
|
||||
.ui.legacy.modal,
|
||||
.ui.legacy.page.dimmer > .ui.modal {
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
}
|
||||
.ui.legacy.page.dimmer > .ui.scrolling.modal,
|
||||
.ui.page.dimmer > .ui.scrolling.legacy.modal,
|
||||
.ui.top.aligned.legacy.page.dimmer > .ui.modal,
|
||||
.ui.top.aligned.dimmer > .ui.legacy.modal {
|
||||
top: auto;
|
||||
}
|
||||
|
||||
/* Tablet and Mobile */
|
||||
@media only screen and (max-width: 991px) {
|
||||
.ui.basic.modal > .close {
|
||||
|
|
@ -332,6 +346,11 @@
|
|||
States
|
||||
*******************************/
|
||||
|
||||
.ui.loading.modal {
|
||||
display: block;
|
||||
visibility: hidden;
|
||||
z-index: -1;
|
||||
}
|
||||
.ui.active.modal {
|
||||
display: block;
|
||||
}
|
||||
|
|
@ -342,15 +361,45 @@
|
|||
*******************************/
|
||||
|
||||
|
||||
/*--------------
|
||||
Top Aligned
|
||||
---------------*/
|
||||
|
||||
|
||||
/* Top Aligned Modal */
|
||||
.modals.dimmer[class*="top aligned"] .modal {
|
||||
margin: 5vh auto;
|
||||
}
|
||||
@media only screen and (max-width: 767px) {
|
||||
.modals.dimmer[class*="top aligned"] .modal {
|
||||
margin: 1rem auto;
|
||||
}
|
||||
}
|
||||
|
||||
/* Legacy Top Aligned */
|
||||
.legacy.modals.dimmer[class*="top aligned"] {
|
||||
padding-top: 5vh;
|
||||
}
|
||||
@media only screen and (max-width: 767px) {
|
||||
.legacy.modals.dimmer[class*="top aligned"] {
|
||||
padding-top: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/*--------------
|
||||
Scrolling
|
||||
---------------*/
|
||||
|
||||
|
||||
/* A modal that cannot fit on the page */
|
||||
/* Scrolling Dimmer */
|
||||
.scrolling.dimmable.dimmed {
|
||||
overflow: hidden;
|
||||
}
|
||||
.scrolling.dimmable > .dimmer {
|
||||
-webkit-box-pack: start;
|
||||
-ms-flex-pack: start;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.scrolling.dimmable.dimmed > .dimmer {
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
|
@ -359,11 +408,10 @@
|
|||
position: fixed;
|
||||
}
|
||||
.modals.dimmer .ui.scrolling.modal {
|
||||
position: static !important;
|
||||
margin: 3.5rem auto !important;
|
||||
margin: 1rem auto;
|
||||
}
|
||||
|
||||
/* undetached scrolling */
|
||||
/* Undetached Scrolling */
|
||||
.scrolling.undetached.dimmable.dimmed {
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
|
@ -374,18 +422,13 @@
|
|||
.scrolling.undetached.dimmable .ui.scrolling.modal {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
margin-top: 3.5rem !important;
|
||||
margin-top: 1rem !important;
|
||||
}
|
||||
|
||||
/* Coupling with Sidebar */
|
||||
.undetached.dimmable.dimmed > .pusher {
|
||||
z-index: auto;
|
||||
}
|
||||
@media only screen and (max-width: 991px) {
|
||||
.modals.dimmer .ui.scrolling.modal {
|
||||
margin-top: 1rem !important;
|
||||
margin-bottom: 1rem !important;
|
||||
}
|
||||
/* Scrolling Content */
|
||||
.ui.modal .scrolling.content {
|
||||
max-height: calc(70vh);
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/*--------------
|
||||
|
|
@ -394,7 +437,7 @@
|
|||
|
||||
.ui.fullscreen.modal {
|
||||
width: 95% !important;
|
||||
left: 2.5% !important;
|
||||
left: 0em !important;
|
||||
margin: 1em auto;
|
||||
}
|
||||
.ui.fullscreen.scrolling.modal {
|
||||
|
|
@ -417,6 +460,80 @@
|
|||
font-size: 1rem;
|
||||
}
|
||||
|
||||
/* Mini */
|
||||
.ui.mini.modal > .header:not(.ui) {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
/* Mini Modal Width */
|
||||
@media only screen and (max-width: 767px) {
|
||||
.ui.mini.modal {
|
||||
width: 95%;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
.ui.mini.modal {
|
||||
width: 35.2%;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 992px) {
|
||||
.ui.mini.modal {
|
||||
width: 340px;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 1200px) {
|
||||
.ui.mini.modal {
|
||||
width: 360px;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 1920px) {
|
||||
.ui.mini.modal {
|
||||
width: 380px;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
|
||||
/* mini */
|
||||
.ui.small.modal > .header:not(.ui) {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
/* Tiny Modal Width */
|
||||
@media only screen and (max-width: 767px) {
|
||||
.ui.tiny.modal {
|
||||
width: 95%;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
.ui.tiny.modal {
|
||||
width: 52.8%;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 992px) {
|
||||
.ui.tiny.modal {
|
||||
width: 510px;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 1200px) {
|
||||
.ui.tiny.modal {
|
||||
width: 540px;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 1920px) {
|
||||
.ui.tiny.modal {
|
||||
width: 570px;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
|
||||
/* Small */
|
||||
.ui.small.modal > .header:not(.ui) {
|
||||
font-size: 1.3em;
|
||||
|
|
@ -426,31 +543,31 @@
|
|||
@media only screen and (max-width: 767px) {
|
||||
.ui.small.modal {
|
||||
width: 95%;
|
||||
margin: 0em 0em 0em -47.5%;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
.ui.small.modal {
|
||||
width: 70.4%;
|
||||
margin: 0em 0em 0em -35.2%;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 992px) {
|
||||
.ui.small.modal {
|
||||
width: 680px;
|
||||
margin: 0em 0em 0em -340px;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 1200px) {
|
||||
.ui.small.modal {
|
||||
width: 720px;
|
||||
margin: 0em 0em 0em -360px;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 1920px) {
|
||||
.ui.small.modal {
|
||||
width: 760px;
|
||||
margin: 0em 0em 0em -380px;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -461,31 +578,31 @@
|
|||
@media only screen and (max-width: 767px) {
|
||||
.ui.large.modal {
|
||||
width: 95%;
|
||||
margin: 0em 0em 0em -47.5%;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
.ui.large.modal {
|
||||
width: 88%;
|
||||
margin: 0em 0em 0em -44%;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 992px) {
|
||||
.ui.large.modal {
|
||||
width: 1020px;
|
||||
margin: 0em 0em 0em -510px;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 1200px) {
|
||||
.ui.large.modal {
|
||||
width: 1080px;
|
||||
margin: 0em 0em 0em -540px;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 1920px) {
|
||||
.ui.large.modal {
|
||||
width: 1140px;
|
||||
margin: 0em 0em 0em -570px;
|
||||
margin: 0em 0em 0em 0em;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI - Modal
|
||||
* # Semantic UI 2.4.1 - Modal
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
;(function ($, window, document, undefined) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
window = (typeof window != 'undefined' && window.Math == Math)
|
||||
? window
|
||||
|
|
@ -72,6 +72,8 @@ $.fn.modal = function(parameters) {
|
|||
element = this,
|
||||
instance = $module.data(moduleNamespace),
|
||||
|
||||
ignoreRepeatedEvents = false,
|
||||
|
||||
elementEventNamespace,
|
||||
id,
|
||||
observer,
|
||||
|
|
@ -106,25 +108,18 @@ $.fn.modal = function(parameters) {
|
|||
var
|
||||
defaultSettings = {
|
||||
debug : settings.debug,
|
||||
dimmerName : 'modals',
|
||||
duration : {
|
||||
show : settings.duration,
|
||||
hide : settings.duration
|
||||
}
|
||||
variation : settings.centered
|
||||
? false
|
||||
: 'top aligned',
|
||||
dimmerName : 'modals'
|
||||
},
|
||||
dimmerSettings = $.extend(true, defaultSettings, settings.dimmerSettings)
|
||||
;
|
||||
if(settings.inverted) {
|
||||
dimmerSettings.variation = (dimmerSettings.variation !== undefined)
|
||||
? dimmerSettings.variation + ' inverted'
|
||||
: 'inverted'
|
||||
;
|
||||
}
|
||||
if($.fn.dimmer === undefined) {
|
||||
module.error(error.dimmer);
|
||||
return;
|
||||
}
|
||||
module.debug('Creating dimmer with settings', dimmerSettings);
|
||||
module.debug('Creating dimmer');
|
||||
$dimmable = $context.dimmer(dimmerSettings);
|
||||
if(settings.detachable) {
|
||||
module.verbose('Modal is detachable, moving content into dimmer');
|
||||
|
|
@ -133,13 +128,10 @@ $.fn.modal = function(parameters) {
|
|||
else {
|
||||
module.set.undetached();
|
||||
}
|
||||
if(settings.blurring) {
|
||||
$dimmable.addClass(className.blurring);
|
||||
}
|
||||
$dimmer = $dimmable.dimmer('get dimmer');
|
||||
},
|
||||
id: function() {
|
||||
id = (Math.random().toString(16) + '000000000').substr(2,8);
|
||||
id = (Math.random().toString(16) + '000000000').substr(2, 8);
|
||||
elementEventNamespace = '.' + id;
|
||||
module.verbose('Creating unique id for element', id);
|
||||
}
|
||||
|
|
@ -174,9 +166,11 @@ $.fn.modal = function(parameters) {
|
|||
refresh: function() {
|
||||
module.remove.scrolling();
|
||||
module.cacheSizes();
|
||||
if(!module.can.useFlex()) {
|
||||
module.set.modalOffset();
|
||||
}
|
||||
module.set.screenHeight();
|
||||
module.set.type();
|
||||
module.set.position();
|
||||
},
|
||||
|
||||
refreshModals: function() {
|
||||
|
|
@ -215,49 +209,70 @@ $.fn.modal = function(parameters) {
|
|||
$window
|
||||
.on('resize' + elementEventNamespace, module.event.resize)
|
||||
;
|
||||
},
|
||||
scrollLock: function() {
|
||||
// touch events default to passive, due to changes in chrome to optimize mobile perf
|
||||
$dimmable.get(0).addEventListener('touchmove', module.event.preventScroll, { passive: false });
|
||||
}
|
||||
},
|
||||
|
||||
unbind: {
|
||||
scrollLock: function() {
|
||||
$dimmable.get(0).removeEventListener('touchmove', module.event.preventScroll, { passive: false });
|
||||
}
|
||||
},
|
||||
|
||||
get: {
|
||||
id: function() {
|
||||
return (Math.random().toString(16) + '000000000').substr(2,8);
|
||||
return (Math.random().toString(16) + '000000000').substr(2, 8);
|
||||
}
|
||||
},
|
||||
|
||||
event: {
|
||||
approve: function() {
|
||||
if(settings.onApprove.call(element, $(this)) === false) {
|
||||
if(ignoreRepeatedEvents || settings.onApprove.call(element, $(this)) === false) {
|
||||
module.verbose('Approve callback returned false cancelling hide');
|
||||
return;
|
||||
}
|
||||
module.hide();
|
||||
ignoreRepeatedEvents = true;
|
||||
module.hide(function() {
|
||||
ignoreRepeatedEvents = false;
|
||||
});
|
||||
},
|
||||
preventScroll: function(event) {
|
||||
event.preventDefault();
|
||||
},
|
||||
deny: function() {
|
||||
if(settings.onDeny.call(element, $(this)) === false) {
|
||||
if(ignoreRepeatedEvents || settings.onDeny.call(element, $(this)) === false) {
|
||||
module.verbose('Deny callback returned false cancelling hide');
|
||||
return;
|
||||
}
|
||||
module.hide();
|
||||
ignoreRepeatedEvents = true;
|
||||
module.hide(function() {
|
||||
ignoreRepeatedEvents = false;
|
||||
});
|
||||
},
|
||||
close: function() {
|
||||
module.hide();
|
||||
},
|
||||
click: function(event) {
|
||||
if(!settings.closable) {
|
||||
module.verbose('Dimmer clicked but closable setting is disabled');
|
||||
return;
|
||||
}
|
||||
var
|
||||
$target = $(event.target),
|
||||
isInModal = ($target.closest(selector.modal).length > 0),
|
||||
isInDOM = $.contains(document.documentElement, event.target)
|
||||
;
|
||||
if(!isInModal && isInDOM) {
|
||||
if(!isInModal && isInDOM && module.is.active()) {
|
||||
module.debug('Dimmer clicked, hiding all modals');
|
||||
if( module.is.active() ) {
|
||||
module.remove.clickaway();
|
||||
if(settings.allowMultiple) {
|
||||
module.hide();
|
||||
}
|
||||
else {
|
||||
module.hideAll();
|
||||
}
|
||||
module.remove.clickaway();
|
||||
if(settings.allowMultiple) {
|
||||
module.hide();
|
||||
}
|
||||
else {
|
||||
module.hideAll();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -282,7 +297,7 @@ $.fn.modal = function(parameters) {
|
|||
}
|
||||
},
|
||||
resize: function() {
|
||||
if( $dimmable.dimmer('is active') ) {
|
||||
if( $dimmable.dimmer('is active') && ( module.is.animating() || module.is.active() ) ) {
|
||||
requestAnimationFrame(module.refresh);
|
||||
}
|
||||
}
|
||||
|
|
@ -303,6 +318,9 @@ $.fn.modal = function(parameters) {
|
|||
: function(){}
|
||||
;
|
||||
module.refreshModals();
|
||||
module.set.dimmerSettings();
|
||||
module.set.dimmerStyles();
|
||||
|
||||
module.showModal(callback);
|
||||
},
|
||||
|
||||
|
|
@ -321,10 +339,16 @@ $.fn.modal = function(parameters) {
|
|||
: function(){}
|
||||
;
|
||||
if( module.is.animating() || !module.is.active() ) {
|
||||
|
||||
module.showDimmer();
|
||||
module.cacheSizes();
|
||||
module.set.position();
|
||||
if(module.can.useFlex()) {
|
||||
module.remove.legacy();
|
||||
}
|
||||
else {
|
||||
module.set.legacy();
|
||||
module.set.modalOffset();
|
||||
module.debug('Using non-flex legacy modal positioning.');
|
||||
}
|
||||
module.set.screenHeight();
|
||||
module.set.type();
|
||||
module.set.clickaway();
|
||||
|
|
@ -333,6 +357,9 @@ $.fn.modal = function(parameters) {
|
|||
module.hideOthers(module.showModal);
|
||||
}
|
||||
else {
|
||||
if(settings.allowMultiple && settings.detachable) {
|
||||
$module.detach().appendTo($dimmer);
|
||||
}
|
||||
settings.onShow.call(element);
|
||||
if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
|
||||
module.debug('Showing modal with css animations');
|
||||
|
|
@ -399,6 +426,7 @@ $.fn.modal = function(parameters) {
|
|||
},
|
||||
onComplete : function() {
|
||||
settings.onHidden.call(element);
|
||||
module.remove.dimmerStyles();
|
||||
module.restore.focus();
|
||||
callback();
|
||||
}
|
||||
|
|
@ -423,6 +451,7 @@ $.fn.modal = function(parameters) {
|
|||
|
||||
hideDimmer: function() {
|
||||
if( $dimmable.dimmer('is animating') || ($dimmable.dimmer('is active')) ) {
|
||||
module.unbind.scrollLock();
|
||||
$dimmable.dimmer('hide', function() {
|
||||
module.remove.clickaway();
|
||||
module.remove.screenHeight();
|
||||
|
|
@ -488,7 +517,13 @@ $.fn.modal = function(parameters) {
|
|||
|
||||
save: {
|
||||
focus: function() {
|
||||
$focusedElement = $(document.activeElement).blur();
|
||||
var
|
||||
$activeElement = $(document.activeElement),
|
||||
inCurrentModal = $activeElement.closest($module).length > 0
|
||||
;
|
||||
if(!inCurrentModal) {
|
||||
$focusedElement = $(document.activeElement).blur();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
@ -504,12 +539,17 @@ $.fn.modal = function(parameters) {
|
|||
active: function() {
|
||||
$module.removeClass(className.active);
|
||||
},
|
||||
legacy: function() {
|
||||
$module.removeClass(className.legacy);
|
||||
},
|
||||
clickaway: function() {
|
||||
if(settings.closable) {
|
||||
$dimmer
|
||||
.off('click' + elementEventNamespace)
|
||||
;
|
||||
}
|
||||
$dimmer
|
||||
.off('click' + elementEventNamespace)
|
||||
;
|
||||
},
|
||||
dimmerStyles: function() {
|
||||
$dimmer.removeClass(className.inverted);
|
||||
$dimmable.removeClass(className.blurring);
|
||||
},
|
||||
bodyStyle: function() {
|
||||
if($body.attr('style') === '') {
|
||||
|
|
@ -536,24 +576,49 @@ $.fn.modal = function(parameters) {
|
|||
},
|
||||
|
||||
cacheSizes: function() {
|
||||
$module.addClass(className.loading);
|
||||
var
|
||||
modalHeight = $module.outerHeight()
|
||||
scrollHeight = $module.prop('scrollHeight'),
|
||||
modalWidth = $module.outerWidth(),
|
||||
modalHeight = $module.outerHeight()
|
||||
;
|
||||
if(module.cache === undefined || modalHeight !== 0) {
|
||||
module.cache = {
|
||||
pageHeight : $(document).outerHeight(),
|
||||
width : modalWidth,
|
||||
height : modalHeight + settings.offset,
|
||||
scrollHeight : scrollHeight + settings.offset,
|
||||
contextHeight : (settings.context == 'body')
|
||||
? $(window).height()
|
||||
: $dimmable.height()
|
||||
: $dimmable.height(),
|
||||
};
|
||||
module.cache.topOffset = -(module.cache.height / 2);
|
||||
}
|
||||
$module.removeClass(className.loading);
|
||||
module.debug('Caching modal and container sizes', module.cache);
|
||||
},
|
||||
|
||||
can: {
|
||||
useFlex: function() {
|
||||
return (settings.useFlex == 'auto')
|
||||
? settings.detachable && !module.is.ie()
|
||||
: settings.useFlex
|
||||
;
|
||||
},
|
||||
fit: function() {
|
||||
return ( ( module.cache.height + (settings.padding * 2) ) < module.cache.contextHeight);
|
||||
var
|
||||
contextHeight = module.cache.contextHeight,
|
||||
verticalCenter = module.cache.contextHeight / 2,
|
||||
topOffset = module.cache.topOffset,
|
||||
scrollHeight = module.cache.scrollHeight,
|
||||
height = module.cache.height,
|
||||
paddingHeight = settings.padding,
|
||||
startPosition = (verticalCenter + topOffset)
|
||||
;
|
||||
return (scrollHeight > height)
|
||||
? (startPosition + scrollHeight + paddingHeight < contextHeight)
|
||||
: (height + (paddingHeight * 2) < contextHeight)
|
||||
;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
@ -561,6 +626,13 @@ $.fn.modal = function(parameters) {
|
|||
active: function() {
|
||||
return $module.hasClass(className.active);
|
||||
},
|
||||
ie: function() {
|
||||
var
|
||||
isIE11 = (!(window.ActiveXObject) && 'ActiveXObject' in window),
|
||||
isIE = ('ActiveXObject' in window)
|
||||
;
|
||||
return (isIE11 || isIE);
|
||||
},
|
||||
animating: function() {
|
||||
return $module.transition('is supported')
|
||||
? $module.transition('is animating')
|
||||
|
|
@ -572,7 +644,7 @@ $.fn.modal = function(parameters) {
|
|||
},
|
||||
modernBrowser: function() {
|
||||
// appName for IE11 reports 'Netscape' can no longer use
|
||||
return !(window.ActiveXObject || "ActiveXObject" in window);
|
||||
return !(window.ActiveXObject || 'ActiveXObject' in window);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
@ -590,11 +662,67 @@ $.fn.modal = function(parameters) {
|
|||
}
|
||||
},
|
||||
clickaway: function() {
|
||||
if(settings.closable) {
|
||||
$dimmer
|
||||
.on('click' + elementEventNamespace, module.event.click)
|
||||
$dimmer
|
||||
.on('click' + elementEventNamespace, module.event.click)
|
||||
;
|
||||
},
|
||||
dimmerSettings: function() {
|
||||
if($.fn.dimmer === undefined) {
|
||||
module.error(error.dimmer);
|
||||
return;
|
||||
}
|
||||
var
|
||||
defaultSettings = {
|
||||
debug : settings.debug,
|
||||
dimmerName : 'modals',
|
||||
closable : 'auto',
|
||||
useFlex : module.can.useFlex(),
|
||||
variation : settings.centered
|
||||
? false
|
||||
: 'top aligned',
|
||||
duration : {
|
||||
show : settings.duration,
|
||||
hide : settings.duration
|
||||
}
|
||||
},
|
||||
dimmerSettings = $.extend(true, defaultSettings, settings.dimmerSettings)
|
||||
;
|
||||
if(settings.inverted) {
|
||||
dimmerSettings.variation = (dimmerSettings.variation !== undefined)
|
||||
? dimmerSettings.variation + ' inverted'
|
||||
: 'inverted'
|
||||
;
|
||||
}
|
||||
$context.dimmer('setting', dimmerSettings);
|
||||
},
|
||||
dimmerStyles: function() {
|
||||
if(settings.inverted) {
|
||||
$dimmer.addClass(className.inverted);
|
||||
}
|
||||
else {
|
||||
$dimmer.removeClass(className.inverted);
|
||||
}
|
||||
if(settings.blurring) {
|
||||
$dimmable.addClass(className.blurring);
|
||||
}
|
||||
else {
|
||||
$dimmable.removeClass(className.blurring);
|
||||
}
|
||||
},
|
||||
modalOffset: function() {
|
||||
var
|
||||
width = module.cache.width,
|
||||
height = module.cache.height
|
||||
;
|
||||
$module
|
||||
.css({
|
||||
marginTop: (settings.centered && module.can.fit())
|
||||
? -(height / 2)
|
||||
: 0,
|
||||
marginLeft: -(width / 2)
|
||||
})
|
||||
;
|
||||
module.verbose('Setting modal offset for legacy mode');
|
||||
},
|
||||
screenHeight: function() {
|
||||
if( module.can.fit() ) {
|
||||
|
|
@ -613,12 +741,17 @@ $.fn.modal = function(parameters) {
|
|||
scrolling: function() {
|
||||
$dimmable.addClass(className.scrolling);
|
||||
$module.addClass(className.scrolling);
|
||||
module.unbind.scrollLock();
|
||||
},
|
||||
legacy: function() {
|
||||
$module.addClass(className.legacy);
|
||||
},
|
||||
type: function() {
|
||||
if(module.can.fit()) {
|
||||
module.verbose('Modal fits on screen');
|
||||
if(!module.others.active() && !module.others.animating()) {
|
||||
module.remove.scrolling();
|
||||
module.bind.scrollLock();
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
@ -626,25 +759,6 @@ $.fn.modal = function(parameters) {
|
|||
module.set.scrolling();
|
||||
}
|
||||
},
|
||||
position: function() {
|
||||
module.verbose('Centering modal on page', module.cache);
|
||||
if(module.can.fit()) {
|
||||
$module
|
||||
.css({
|
||||
top: '',
|
||||
marginTop: -(module.cache.height / 2)
|
||||
})
|
||||
;
|
||||
}
|
||||
else {
|
||||
$module
|
||||
.css({
|
||||
marginTop : '',
|
||||
top : $document.scrollTop()
|
||||
})
|
||||
;
|
||||
}
|
||||
},
|
||||
undetached: function() {
|
||||
$dimmable.addClass(className.undetached);
|
||||
}
|
||||
|
|
@ -838,6 +952,9 @@ $.fn.modal.settings = {
|
|||
name : 'Modal',
|
||||
namespace : 'modal',
|
||||
|
||||
useFlex : 'auto',
|
||||
offset : 0,
|
||||
|
||||
silent : false,
|
||||
debug : false,
|
||||
verbose : false,
|
||||
|
|
@ -853,6 +970,8 @@ $.fn.modal.settings = {
|
|||
inverted : false,
|
||||
blurring : false,
|
||||
|
||||
centered : true,
|
||||
|
||||
dimmerSettings : {
|
||||
closable : false,
|
||||
useCSS : true
|
||||
|
|
@ -865,7 +984,6 @@ $.fn.modal.settings = {
|
|||
|
||||
queue : false,
|
||||
duration : 500,
|
||||
offset : 0,
|
||||
transition : 'scale',
|
||||
|
||||
// padding with edge of page
|
||||
|
|
@ -904,6 +1022,9 @@ $.fn.modal.settings = {
|
|||
active : 'active',
|
||||
animating : 'animating',
|
||||
blurring : 'blurring',
|
||||
inverted : 'inverted',
|
||||
legacy : 'legacy',
|
||||
loading : 'loading',
|
||||
scrolling : 'scrolling',
|
||||
undetached : 'undetached'
|
||||
}
|
||||
9
Resources/semantic/out/components/modal.min.css
vendored
Normal file
1
Resources/semantic/out/components/modal.min.js
vendored
Normal file
5
semantic/out/components/nag.css → Resources/semantic/out/components/nag.css
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.9 - Nag
|
||||
* # Semantic UI 2.4.0 - Nag
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -25,7 +25,8 @@
|
|||
margin: 0em;
|
||||
padding: 0.75em 1em;
|
||||
background: #555555;
|
||||
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
|
||||
-webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
|
||||
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
|
||||
font-size: 1rem;
|
||||
text-align: center;
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* # Semantic UI - Nag
|
||||
* # Semantic UI 2.4.1 - Nag
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
;(function ($, window, document, undefined) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
window = (typeof window != 'undefined' && window.Math == Math)
|
||||
? window
|
||||
9
Resources/semantic/out/components/nag.min.css
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/*!
|
||||
* # Semantic UI 2.4.0 - Nag
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
* Released under the MIT license
|
||||
* http://opensource.org/licenses/MIT
|
||||
*
|
||||
*/.ui.nag{display:none;opacity:.95;position:relative;top:0;left:0;z-index:999;min-height:0;width:100%;margin:0;padding:.75em 1em;background:#555;-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,.2);box-shadow:0 1px 2px 0 rgba(0,0,0,.2);font-size:1rem;text-align:center;color:rgba(0,0,0,.87);border-radius:0 0 .28571429rem .28571429rem;-webkit-transition:.2s background ease;transition:.2s background ease}a.ui.nag{cursor:pointer}.ui.nag>.title{display:inline-block;margin:0 .5em;color:#fff}.ui.nag>.close.icon{cursor:pointer;opacity:.4;position:absolute;top:50%;right:1em;font-size:1em;margin:-.5em 0 0;color:#fff;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.ui.nag:hover{background:#555;opacity:1}.ui.nag .close:hover{opacity:1}.ui.overlay.nag{position:absolute;display:block}.ui.fixed.nag{position:fixed}.ui.bottom.nag,.ui.bottom.nags{border-radius:.28571429rem .28571429rem 0 0;top:auto;bottom:0}.ui.inverted.nag,.ui.inverted.nags .nag{background-color:#f3f4f5;color:rgba(0,0,0,.85)}.ui.inverted.nag .close,.ui.inverted.nag .title,.ui.inverted.nags .nag .close,.ui.inverted.nags .nag .title{color:rgba(0,0,0,.4)}.ui.nags .nag{border-radius:0!important}.ui.nags .nag:last-child{border-radius:0 0 .28571429rem .28571429rem}.ui.bottom.nags .nag:last-child{border-radius:.28571429rem .28571429rem 0 0}
|
||||