Make my website good again

This commit is contained in:
Jose Stovall 2019-09-03 21:38:01 -04:00
commit a84839a33b
703 changed files with 18861 additions and 88452 deletions

BIN
.DS_Store vendored

Binary file not shown.

3
.gitignore vendored
View file

@ -1,2 +1 @@
.gitignore **/.DS_Store
node_modules

8
.idea/modules.xml generated
View file

@ -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>

View file

@ -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
View file

@ -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
View file

@ -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
View file

@ -0,0 +1,3 @@
{
"esversion": 9
}

View file

@ -7,49 +7,48 @@
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui"> 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-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black"> <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> <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"> <link rel="stylesheet" type="text/css" href="../about.css">
<script src="https://code.jquery.com/jquery-3.1.1.min.js" <script src="https://code.jquery.com/jquery-3.1.1.min.js"
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script> integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="../semantic/out/semantic.min.js"></script> <script src="../Resources/semantic/out/semantic.js"></script>
<script src="../about.js"></script>
</head> </head>
<body> <body>
<!--This is all stuff for the menubar--> <!--This is all stuff for the menubar-->
<div class="ui blue fixed inverted menu"> <div class="ui inverted small menu">
<div class="ui container"> <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="./" class="header item">Education</a> <a href="../Education" class="active olive item">Education</a>
<a href="../Programming" class="item">Programming</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>
</div> </div>
<!--Actual Site Contents, dependent on the page!--> <!--Actual Site Contents, dependent on the page!-->
<div class="ui two column stackable grid"> <div class="ui text container">
<div class="ui main container">
<h1 class="ui header">Education</h1> <h1 class="ui header">Education</h1>
<div class="ui divider"></div> <div class="ui divider"></div>
<div class="ui three column grid"> <div class="ui three column stackable grid">
<div class="column"> <div class="column">
<h4 class="ui top attached inverted header">University of Tennessee at Chattanooga</h4> <h4 class="ui top attached inverted header">
<div class="ui bottom attached segment"> University of Tennessee at Chattanooga
</h4>
<div class="ui bottom attached inverted segment">
<ul> <ul>
<li>Studying for MS in <b>Data Science</b></li> <li>Studying for MS in <b>Data Science</b></li>
<li><b>GPA</b>: 4.0</li> <li><b>GPA</b>: 4.0</li>
<li><b>Current GPA:</b> 3.83</li>
<li>Graduating May 2020</li> <li>Graduating May 2020</li>
</ul> </ul>
</div> </div>
</div> </div>
<div class="column"> <div class="column">
<h4 class="ui top attached block header">University of Tennessee at Chattanooga <i <h4 class="ui top attached inverted header">
class="checkmark icon"></i></h4> University of Tennessee at Chattanooga <i class="olive checkmark icon"></i>
<div class="ui bottom attached segment"> </h4>
<div class="ui bottom attached inverted segment">
<ul> <ul>
<li>Graduated with BS in <b>Computer Science</b></li> <li>Graduated with BS in <b>Computer Science</b></li>
<li>Focus in <b>Software Systems</b></li> <li>Focus in <b>Software Systems</b></li>
@ -60,9 +59,10 @@
</div> </div>
</div> </div>
<div class="column"> <div class="column">
<h4 class="ui top attached header">Middle Tennessee State University <i <h4 class="ui top attached inverted header">
class="checkmark icon"></i></h4> Middle Tennessee State University <i class="olive checkmark icon"></i>
<div class="ui bottom attached segment"> </h4>
<div class="ui bottom attached inverted segment">
<ul> <ul>
<li>Began as Digital Animation Major in 2011</li> <li>Began as Digital Animation Major in 2011</li>
<li>Switched to Computer Science Major in 2012</li> <li>Switched to Computer Science Major in 2012</li>
@ -70,17 +70,6 @@
</ul> </ul>
</div> </div>
</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">
<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>
</ul>
</div>
</div> -->
</div> </div>
<h2 class="header">Why I chose UTC:</h2> <h2 class="header">Why I chose UTC:</h2>
<h4 class="header">UT Chattanooga has a much more modern and dynamically changing Computer Science <h4 class="header">UT Chattanooga has a much more modern and dynamically changing Computer Science
@ -95,18 +84,16 @@
opportunities beyond the scope of day-to-day class that I would never have had at MTSU. Working with Dr. 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> Mina Sartipi's research team has been the greatest proof of the opportunities lurking at UTC.</h4>
</div> </div>
</div>
<div id="footer"> <div class="ui bottom fixed tiny inverted menu" >
<div class="ui inverted vertical segment"> <div class="ui container" >
<div class="ui center aligned container"> <a class="item" href="mailto:stovallj1995@gmail.com">
<div class="ui horizontal inverted small divided link list"> <i class="olive mail icon"></i> Contact
<a class="item" href="mailto:stovallj1995@gmail.com"><i class="mail icon"></i> Contact</a> </a>
<a class="item" href="http://github.com/oitsjustjose/oitsjustjose.github.io"><i <a class="right item" href="https://github.com/oitsjustjose">
class="code icon"></i> Site Source</a> <i class="olive github icon"></i> My GitHub
</div> </a>
</div>
</div> </div>
</div> </div>
</body> </body>

View file

@ -7,43 +7,50 @@
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui"> 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-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black"> <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> <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"> <link rel="stylesheet" type="text/css" href="../about.css">
<script src="https://code.jquery.com/jquery-3.1.1.min.js" <script src="https://code.jquery.com/jquery-3.1.1.min.js"
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script> integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="../semantic/out/semantic.min.js"></script> <script src="../Resources/semantic/out/semantic.js"></script>
<script src="../about.js"></script> <script src="./index.js"></script>
</head> </head>
<body> <body onload="init()">
<!--This is all stuff for the menubar--> <!--This is all stuff for the menubar-->
<div class="ui blue fixed inverted menu"> <div class="ui inverted small menu">
<div class="ui container"> <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="../Education" class="item">Education</a>
<a href="./" class="header item">Programming</a> <a href="../Programming" class="active olive item">Programming</a>
<a href="https://github.com/oitsjustjose/" target="_blank" class="item"><i
class="github alternate icon"></i>
GitHub</a>
</div> </div>
</div> </div>
<!--Actual Site Contents, dependent on the page!--> <!--Actual Site Contents, dependent on the page!-->
<div class="ui container">
<div class="ui two column stackable grid"> <h1 class="ui centered header">Programming Experience</h1>
<div class="ui main container"> <h3 class="ui centered header">These are only the highlights, check out <a
<h1>Programming Experience</h1> href="https://github.com/oitsjustjose" target="_blank">my
<h3>These are only the highlights, check out <a href="https://github.com/oitsjustjose" target="_blank">my
GitHub</a> for more.</h3> GitHub</a> for more.</h3>
<div class="ui two column stackable grid" style="margin-bottom: 10vh;">
<div class="ui centered cards">
<div class="ui cards"> <a class="ui inverted card cscdc">
<!-- USIgnite 2019 -->
<a class="ui card cuip-2019">
<div class="image"> <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>
<div class="content"> <div class="content">
<div class="header">UTC CUIP Smart Corridor</div> <div class="header">UTC CUIP Smart Corridor</div>
@ -54,9 +61,9 @@
</a> </a>
<!-- USIgnite 2018 --> <!-- USIgnite 2018 -->
<a class="ui card sccc-2018"> <a class="ui inverted card sccc-2018">
<div class="image"> <div class="image">
<img src="../img/aio.png"> <img src="../Resources/img/aio.png">
</div> </div>
<div class="content"> <div class="content">
<div class="header">USIgnite SCCC 2018</div> <div class="header">USIgnite SCCC 2018</div>
@ -66,9 +73,9 @@
</a> </a>
<!-- USIgnite 2017 --> <!-- USIgnite 2017 -->
<a class="ui card sccc-2017"> <a class="ui inverted card sccc-2017">
<div class="image"> <div class="image">
<img src="../img/see-through.png"> <img src="../Resources/img/see-through.png">
</div> </div>
<div class="content"> <div class="content">
<div class="header">USIgnite SCCC 2017</div> <div class="header">USIgnite SCCC 2017</div>
@ -78,9 +85,9 @@
</a> </a>
<!--create-a-thon--> <!--create-a-thon-->
<a class="ui card create-a-thon"> <a class="ui inverted card create-a-thon">
<div class="image"> <div class="image">
<img src="../img/create-a-thon.jpg"> <img src="../Resources/img/create-a-thon.jpg">
</div> </div>
<div class="content"> <div class="content">
<div class="header">Create-A-Thon</div> <div class="header">Create-A-Thon</div>
@ -90,9 +97,9 @@
</a> </a>
<!--fantastic_five--> <!--fantastic_five-->
<a class="ui card fantastic_five"> <a class="ui inverted card fantastic_five">
<div class="image"> <div class="image">
<img src="../img/fantastic_five.png"> <img src="../Resources/img/fantastic_five.png">
</div> </div>
<div class="content"> <div class="content">
<div class="header">Software Design Project</div> <div class="header">Software Design Project</div>
@ -102,9 +109,9 @@
</a> </a>
<!--nissan--> <!--nissan-->
<a class="ui card nissan"> <a class="ui inverted card nissan">
<div class="image"> <div class="image">
<img src="../img/nissan.png"> <img src="../Resources/img/nissan.png">
</div> </div>
<div class="content"> <div class="content">
<div class="header">Nissan of Murfreesboro</div> <div class="header">Nissan of Murfreesboro</div>
@ -114,20 +121,20 @@
</a> </a>
<!--modding--> <!--modding-->
<!-- <a class="ui card modding"> <a class="ui inverted card modding">
<div class="image"> <div class="image">
<img src="../img/modding.png"> <img src="../Resources/img/modding.png">
</div> </div>
<div class="content"> <div class="content">
<div class="header">Mod Development</div> <div class="header">Mod Development</div>
<span class="meta">Further than where I started!</span> <span class="meta">Further than where I started!</span>
<div class="description"></div> <div class="description"></div>
</div> </div>
</a> --> </a>
<!--Modals for each module!--> <!--inverted modals for each module!-->
<div class="ui modal cuip-2019"> <div class="ui inverted modal cuip-2019">
<i class="close icon"></i> <i class="olive close icon"></i>
<div class="header">2019 USIgnite Conference</div> <div class="header">2019 USIgnite Conference</div>
<div class="content"> <div class="content">
In 2018, Dr. Mina Sartipi at The University of Tennessee at Chattanooga started a research group 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 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> 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> <br>
@ -154,20 +161,17 @@
<br> <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>
</div> </div>
<div class="ui modal sccc-2018"> <div class="ui inverted modal sccc-2018">
<i class="close icon"></i> <i class="olive close icon"></i>
<div class="header"></div> <div class="header"></div>
<div class="content"> <div class="content">
<center> <div class="ui embed sccc-2018"
<iframe width="560" height="315" data-url="https://www.youtube-nocookie.com/embed/6nkfsjqPBio?rel=0"> </div>
src="https://www.youtube-nocookie.com/embed/6nkfsjqPBio?rel=0" frameborder="0"
allow="autoplay; encrypted-media" allowfullscreen></iframe>
</center>
<br> <br>
To follow up on our CAV (Connected Autonomous Vehicles) initiative, for the 2018 conference the To follow up on our CAV (Connected Autonomous Vehicles) initiative, for the 2018 conference the
team team
@ -182,16 +186,12 @@
</div> </div>
</div> </div>
<div class="ui modal sccc-2017"> <div class="ui inverted modal sccc-2017">
<i class="close icon"></i> <i class="olive close icon"></i>
<div class="header">2017 USIgnite Smart Cities Connect Conference</div> <div class="header">2017 USIgnite Smart Cities Connect Conference</div>
<div class="content"> <div class="content">
<center> <div class="ui embed sccc-2017"
<iframe width="560" height="315" data-url="https://www.youtube-nocookie.com/embed/oL7Xc_uvFyc?rel=0"></div>
src="https://www.youtube-nocookie.com/embed/oL7Xc_uvFyc?rel=0" frameborder="0"
allow="autoplay; encrypted-media" allowfullscreen></iframe>
</center>
<br>
This programming project was quite a hurdle for me. The 2017 SCCC was in late June, and I joined This programming project was quite a hurdle for me. The 2017 SCCC was in late June, and I joined
the the
research group in early May. I had never done networking, computer vision or machine learning in research group in early May. I had never done networking, computer vision or machine learning in
@ -205,8 +205,8 @@
</div> </div>
<div class="ui modal create-a-thon"> <div class="ui inverted modal create-a-thon">
<i class="close icon"></i> <i class="olive close icon"></i>
<div class="header">First Annual Create-A-Thon - October 2016</div> <div class="header">First Annual Create-A-Thon - October 2016</div>
<div class="content"> <div class="content">
"CECS Students also took top honors during the app development component of Startup week. "CECS Students also took top honors during the app development component of Startup week.
@ -231,8 +231,8 @@
</div> </div>
</div> </div>
<div class="ui modal fantastic_five"> <div class="ui inverted modal fantastic_five">
<i class="close icon"></i> <i class="olive close icon"></i>
<div class="header">Fantastic Five - Spring 2016</div> <div class="header">Fantastic Five - Spring 2016</div>
<div class="content"> <div class="content">
This wasn't my first use of Java's Libraries to produce a desktop program, but this was my first 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> </div>
<div class="ui modal nissan"> <div class="ui inverted modal nissan">
<i class="close icon"></i> <i class="olive close icon"></i>
<div class="header">Nissan of Murfreesboro - December 2015</div> <div class="header">Nissan of Murfreesboro - December 2015</div>
<div class="content"> <div class="content">
I will not be revealing too much information for the sake of respect to the Nissan dealership I will not be revealing too much information for the sake of respect to the Nissan dealership
@ -272,39 +272,77 @@
</div> </div>
</div> </div>
<div class="ui modal modding"> <div class="ui inverted modal modding">
<i class="close icon"></i> <i class="olive close icon"></i>
<div class="header">Modding Minecraft - Current</div> <div class="header">Modding Minecraft - Current</div>
<div class="content"> <div class="content">
This is not only a hobby, but a passion. All of my mods are open-source and licensed under GNU <p>
GPL This is not only a hobby, but a passion. All of my mods are open-source and licensed under
for others to learn from my code, the same way that I learned from others! GNU
<br><br>I enjoy playing games, and writing mods for Minecraft is a great way of practicing GPL for others to learn from my code, the same way that I learned from others!
programming, debugging, API usage and more. All of my mods depend on the <a </p>
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 <p>I enjoy
I playing games, and writing mods for Minecraft is a great way of practicing programming,
must adapt my code to not <i>only</i> Minecraft's codebase changes, but Forge's as well. debugging, API usage and more. All of my mods depend on the <a
<br><br>The result? I feel like my ability to be tossed into any programming environment and href="https://minecraftforge.net">Minecraft Forge API</a>. As a result, I constantly aim
survive to
is much better than most programmers which are still studying in school. 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 <br><br><a href="https://github.com/oitsjustjose/"><i class="github icon"></i> Home to All My
Mods</a> Mods</a>
</div> </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> </div>
</div> </div>
<div id="footer"> <div class="ui bottom fixed tiny inverted menu">
<div class="ui inverted vertical segment"> <div class="ui container">
<div class="ui center aligned container"> <a class="item" href="mailto:stovallj1995@gmail.com">
<div class="ui horizontal inverted small divided link list"> <i class="olive mail icon"></i> Contact
<a class="item" href="mailto:stovallj1995@gmail.com"><i class="mail icon"></i> Contact</a> </a>
<a class="item" href="http://github.com/oitsjustjose/oitsjustjose.github.io"><i <a class="right item" href="https://github.com/oitsjustjose">
class="code icon"></i> Site Source</a> <i class="olive github icon"></i> My GitHub
</div> </a>
</div>
</div> </div>
</div> </div>
</body> </body>

13
Programming/index.js Normal file
View 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();
});
});
};

View file

Before

Width:  |  Height:  |  Size: 1 MiB

After

Width:  |  Height:  |  Size: 1 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3.4 MiB

After

Width:  |  Height:  |  Size: 3.4 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 489 KiB

After

Width:  |  Height:  |  Size: 489 KiB

Before After
Before After

BIN
Resources/img/cscdc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

BIN
Resources/img/curse.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View file

Before

Width:  |  Height:  |  Size: 243 KiB

After

Width:  |  Height:  |  Size: 243 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 128 KiB

After

Width:  |  Height:  |  Size: 128 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 4.7 MiB

After

Width:  |  Height:  |  Size: 4.7 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 242 KiB

After

Width:  |  Height:  |  Size: 242 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Before After
Before After

View 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.

View 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)

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Accordion * # Semantic UI 2.4.1 - Accordion
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -127,6 +127,7 @@
.ui.styled.accordion .accordion { .ui.styled.accordion .accordion {
border-radius: 0.28571429rem; border-radius: 0.28571429rem;
background: #FFFFFF; background: #FFFFFF;
-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); 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 .title,

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Accordion * # Semantic UI 2.4.1 - Accordion
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -10,7 +10,7 @@
;(function ($, window, document, undefined) { ;(function ($, window, document, undefined) {
"use strict"; 'use strict';
window = (typeof window != 'undefined' && window.Math == Math) window = (typeof window != 'undefined' && window.Math == Math)
? window ? window
@ -169,6 +169,7 @@ $.fn.accordion = function(parameters) {
} }
module.debug('Opening accordion content', $activeTitle); module.debug('Opening accordion content', $activeTitle);
settings.onOpening.call($activeContent); settings.onOpening.call($activeContent);
settings.onChanging.call($activeContent);
if(settings.exclusive) { if(settings.exclusive) {
module.closeOthers.call($activeTitle); module.closeOthers.call($activeTitle);
} }
@ -232,6 +233,7 @@ $.fn.accordion = function(parameters) {
if((isActive || isOpening) && !isClosing) { if((isActive || isOpening) && !isClosing) {
module.debug('Closing accordion content', $activeContent); module.debug('Closing accordion content', $activeContent);
settings.onClosing.call($activeContent); settings.onClosing.call($activeContent);
settings.onChanging.call($activeContent);
$activeTitle $activeTitle
.removeClass(className.active) .removeClass(className.active)
; ;
@ -574,10 +576,11 @@ $.fn.accordion.settings = {
duration : 350, // duration of animation duration : 350, // duration of animation
easing : 'easeOutQuad', // easing equation for animation easing : 'easeOutQuad', // easing equation for animation
onOpening : function(){}, // callback before open animation onOpening : function(){}, // callback before open animation
onOpen : function(){}, // callback after open animation
onClosing : function(){}, // callback before closing 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 onClose : function(){}, // callback after closing animation
onChange : function(){}, // callback after closing or opening animation onChange : function(){}, // callback after closing or opening animation

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Ad * # Semantic UI 2.4.1 - Ad
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Ad * # Semantic UI 2.4.1 - Ad
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI - API * # Semantic UI 2.4.1 - API
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -10,7 +10,7 @@
;(function ($, window, document, undefined) { ;(function ($, window, document, undefined) {
"use strict"; 'use strict';
var var
window = (typeof window != 'undefined' && window.Math == Math) window = (typeof window != 'undefined' && window.Math == Math)

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Breadcrumb * # Semantic UI 2.4.1 - Breadcrumb
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Breadcrumb * # Semantic UI 2.4.1 - Breadcrumb
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Item * # Semantic UI 2.4.1 - Item
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -35,11 +35,12 @@
padding: 0em; padding: 0em;
border: none; border: none;
border-radius: 0.28571429rem; border-radius: 0.28571429rem;
-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; box-shadow: 0px 1px 3px 0px #D4D4D5, 0px 0px 0px 1px #D4D4D5;
-webkit-transition: box-shadow 0.1s ease, -webkit-transform 0.1s ease; -webkit-transition: -webkit-box-shadow 0.1s ease, -webkit-transform 0.1s ease;
transition: 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;
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: ''; z-index: '';
} }
.ui.card { .ui.card {
@ -150,6 +151,7 @@
background: none; background: none;
margin: 0em; margin: 0em;
padding: 1em 1em; padding: 1em 1em;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
font-size: 1em; font-size: 1em;
border-radius: 0em; border-radius: 0em;
@ -407,6 +409,7 @@
top: 0em; top: 0em;
left: 0em; left: 0em;
color: rgba(0, 0, 0, 0.4); color: rgba(0, 0, 0, 0.4);
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
-webkit-transition: color 0.1s ease; -webkit-transition: color 0.1s ease;
transition: color 0.1s ease; transition: color 0.1s ease;
@ -432,16 +435,19 @@
.ui.raised.cards > .card, .ui.raised.cards > .card,
.ui.raised.card { .ui.raised.card {
-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); 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.raised.cards a.card:hover,
.ui.link.cards .raised.card:hover, .ui.link.cards .raised.card:hover,
a.ui.raised.card:hover, a.ui.raised.card:hover,
.ui.link.raised.card:hover { .ui.link.raised.card:hover {
-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); 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.cards > .card,
.ui.raised.card { .ui.raised.card {
-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); 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,6 +493,7 @@ a.ui.card:hover,
z-index: 5; z-index: 5;
background: #FFFFFF; background: #FFFFFF;
border: none; border: none;
-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; box-shadow: 0px 1px 3px 0px #BCBDBD, 0px 0px 0px 1px #D4D4D5;
-webkit-transform: translateY(-3px); -webkit-transform: translateY(-3px);
transform: translateY(-3px); transform: translateY(-3px);
@ -501,11 +508,13 @@ a.ui.card:hover,
.ui.red.cards > .card, .ui.red.cards > .card,
.ui.cards > .red.card, .ui.cards > .red.card,
.ui.red.card { .ui.red.card {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #DB2828, 0px 1px 3px 0px #D4D4D5;
} }
.ui.red.cards > .card:hover, .ui.red.cards > .card:hover,
.ui.cards > .red.card:hover, .ui.cards > .red.card:hover,
.ui.red.card:hover { .ui.red.card:hover {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #d01919, 0px 1px 3px 0px #BCBDBD;
} }
@ -513,11 +522,13 @@ a.ui.card:hover,
.ui.orange.cards > .card, .ui.orange.cards > .card,
.ui.cards > .orange.card, .ui.cards > .orange.card,
.ui.orange.card { .ui.orange.card {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #F2711C, 0px 1px 3px 0px #D4D4D5;
} }
.ui.orange.cards > .card:hover, .ui.orange.cards > .card:hover,
.ui.cards > .orange.card:hover, .ui.cards > .orange.card:hover,
.ui.orange.card:hover { .ui.orange.card:hover {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #f26202, 0px 1px 3px 0px #BCBDBD;
} }
@ -525,11 +536,13 @@ a.ui.card:hover,
.ui.yellow.cards > .card, .ui.yellow.cards > .card,
.ui.cards > .yellow.card, .ui.cards > .yellow.card,
.ui.yellow.card { .ui.yellow.card {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #FBBD08, 0px 1px 3px 0px #D4D4D5;
} }
.ui.yellow.cards > .card:hover, .ui.yellow.cards > .card:hover,
.ui.cards > .yellow.card:hover, .ui.cards > .yellow.card:hover,
.ui.yellow.card:hover { .ui.yellow.card:hover {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #eaae00, 0px 1px 3px 0px #BCBDBD;
} }
@ -537,11 +550,13 @@ a.ui.card:hover,
.ui.olive.cards > .card, .ui.olive.cards > .card,
.ui.cards > .olive.card, .ui.cards > .olive.card,
.ui.olive.card { .ui.olive.card {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #B5CC18, 0px 1px 3px 0px #D4D4D5;
} }
.ui.olive.cards > .card:hover, .ui.olive.cards > .card:hover,
.ui.cards > .olive.card:hover, .ui.cards > .olive.card:hover,
.ui.olive.card:hover { .ui.olive.card:hover {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #a7bd0d, 0px 1px 3px 0px #BCBDBD;
} }
@ -549,11 +564,13 @@ a.ui.card:hover,
.ui.green.cards > .card, .ui.green.cards > .card,
.ui.cards > .green.card, .ui.cards > .green.card,
.ui.green.card { .ui.green.card {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #21BA45, 0px 1px 3px 0px #D4D4D5;
} }
.ui.green.cards > .card:hover, .ui.green.cards > .card:hover,
.ui.cards > .green.card:hover, .ui.cards > .green.card:hover,
.ui.green.card:hover { .ui.green.card:hover {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #16ab39, 0px 1px 3px 0px #BCBDBD;
} }
@ -561,11 +578,13 @@ a.ui.card:hover,
.ui.teal.cards > .card, .ui.teal.cards > .card,
.ui.cards > .teal.card, .ui.cards > .teal.card,
.ui.teal.card { .ui.teal.card {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #00B5AD, 0px 1px 3px 0px #D4D4D5;
} }
.ui.teal.cards > .card:hover, .ui.teal.cards > .card:hover,
.ui.cards > .teal.card:hover, .ui.cards > .teal.card:hover,
.ui.teal.card:hover { .ui.teal.card:hover {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #009c95, 0px 1px 3px 0px #BCBDBD;
} }
@ -573,11 +592,13 @@ a.ui.card:hover,
.ui.blue.cards > .card, .ui.blue.cards > .card,
.ui.cards > .blue.card, .ui.cards > .blue.card,
.ui.blue.card { .ui.blue.card {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #2185D0, 0px 1px 3px 0px #D4D4D5;
} }
.ui.blue.cards > .card:hover, .ui.blue.cards > .card:hover,
.ui.cards > .blue.card:hover, .ui.cards > .blue.card:hover,
.ui.blue.card:hover { .ui.blue.card:hover {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #1678c2, 0px 1px 3px 0px #BCBDBD;
} }
@ -585,11 +606,13 @@ a.ui.card:hover,
.ui.violet.cards > .card, .ui.violet.cards > .card,
.ui.cards > .violet.card, .ui.cards > .violet.card,
.ui.violet.card { .ui.violet.card {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #6435C9, 0px 1px 3px 0px #D4D4D5;
} }
.ui.violet.cards > .card:hover, .ui.violet.cards > .card:hover,
.ui.cards > .violet.card:hover, .ui.cards > .violet.card:hover,
.ui.violet.card:hover { .ui.violet.card:hover {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #5829bb, 0px 1px 3px 0px #BCBDBD;
} }
@ -597,11 +620,13 @@ a.ui.card:hover,
.ui.purple.cards > .card, .ui.purple.cards > .card,
.ui.cards > .purple.card, .ui.cards > .purple.card,
.ui.purple.card { .ui.purple.card {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #A333C8, 0px 1px 3px 0px #D4D4D5;
} }
.ui.purple.cards > .card:hover, .ui.purple.cards > .card:hover,
.ui.cards > .purple.card:hover, .ui.cards > .purple.card:hover,
.ui.purple.card:hover { .ui.purple.card:hover {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #9627ba, 0px 1px 3px 0px #BCBDBD;
} }
@ -609,11 +634,13 @@ a.ui.card:hover,
.ui.pink.cards > .card, .ui.pink.cards > .card,
.ui.cards > .pink.card, .ui.cards > .pink.card,
.ui.pink.card { .ui.pink.card {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #E03997, 0px 1px 3px 0px #D4D4D5;
} }
.ui.pink.cards > .card:hover, .ui.pink.cards > .card:hover,
.ui.cards > .pink.card:hover, .ui.cards > .pink.card:hover,
.ui.pink.card:hover { .ui.pink.card:hover {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #e61a8d, 0px 1px 3px 0px #BCBDBD;
} }
@ -621,11 +648,13 @@ a.ui.card:hover,
.ui.brown.cards > .card, .ui.brown.cards > .card,
.ui.cards > .brown.card, .ui.cards > .brown.card,
.ui.brown.card { .ui.brown.card {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #A5673F, 0px 1px 3px 0px #D4D4D5;
} }
.ui.brown.cards > .card:hover, .ui.brown.cards > .card:hover,
.ui.cards > .brown.card:hover, .ui.cards > .brown.card:hover,
.ui.brown.card:hover { .ui.brown.card:hover {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #975b33, 0px 1px 3px 0px #BCBDBD;
} }
@ -633,11 +662,13 @@ a.ui.card:hover,
.ui.grey.cards > .card, .ui.grey.cards > .card,
.ui.cards > .grey.card, .ui.cards > .grey.card,
.ui.grey.card { .ui.grey.card {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #767676, 0px 1px 3px 0px #D4D4D5;
} }
.ui.grey.cards > .card:hover, .ui.grey.cards > .card:hover,
.ui.cards > .grey.card:hover, .ui.cards > .grey.card:hover,
.ui.grey.card:hover { .ui.grey.card:hover {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #838383, 0px 1px 3px 0px #BCBDBD;
} }
@ -645,11 +676,13 @@ a.ui.card:hover,
.ui.black.cards > .card, .ui.black.cards > .card,
.ui.cards > .black.card, .ui.cards > .black.card,
.ui.black.card { .ui.black.card {
-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; box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #1B1C1D, 0px 1px 3px 0px #D4D4D5;
} }
.ui.black.cards > .card:hover, .ui.black.cards > .card:hover,
.ui.cards > .black.card:hover, .ui.cards > .black.card:hover,
.ui.black.card:hover { .ui.black.card:hover {
-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; 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-left: 0em;
margin-right: 0em; margin-right: 0em;
} }
.ui.two.doubling.cards .card { .ui.two.doubling.cards > .card {
width: 100%; width: 100%;
margin-left: 0em; margin-left: 0em;
margin-right: 0em; margin-right: 0em;
@ -768,7 +801,7 @@ a.ui.card:hover,
margin-left: -1em; margin-left: -1em;
margin-right: -1em; margin-right: -1em;
} }
.ui.three.doubling.cards .card { .ui.three.doubling.cards > .card {
width: calc( 50% - 2em ); width: calc( 50% - 2em );
margin-left: 1em; margin-left: 1em;
margin-right: 1em; margin-right: 1em;
@ -777,7 +810,7 @@ a.ui.card:hover,
margin-left: -1em; margin-left: -1em;
margin-right: -1em; margin-right: -1em;
} }
.ui.four.doubling.cards .card { .ui.four.doubling.cards > .card {
width: calc( 50% - 2em ); width: calc( 50% - 2em );
margin-left: 1em; margin-left: 1em;
margin-right: 1em; margin-right: 1em;
@ -786,7 +819,7 @@ a.ui.card:hover,
margin-left: -1em; margin-left: -1em;
margin-right: -1em; margin-right: -1em;
} }
.ui.five.doubling.cards .card { .ui.five.doubling.cards > .card {
width: calc( 50% - 2em ); width: calc( 50% - 2em );
margin-left: 1em; margin-left: 1em;
margin-right: 1em; margin-right: 1em;
@ -795,7 +828,7 @@ a.ui.card:hover,
margin-left: -1em; margin-left: -1em;
margin-right: -1em; margin-right: -1em;
} }
.ui.six.doubling.cards .card { .ui.six.doubling.cards > .card {
width: calc( 50% - 2em ); width: calc( 50% - 2em );
margin-left: 1em; margin-left: 1em;
margin-right: 1em; margin-right: 1em;
@ -804,7 +837,7 @@ a.ui.card:hover,
margin-left: -1em; margin-left: -1em;
margin-right: -1em; margin-right: -1em;
} }
.ui.seven.doubling.cards .card { .ui.seven.doubling.cards > .card {
width: calc( 33.33333333% - 2em ); width: calc( 33.33333333% - 2em );
margin-left: 1em; margin-left: 1em;
margin-right: 1em; margin-right: 1em;
@ -813,7 +846,7 @@ a.ui.card:hover,
margin-left: -1em; margin-left: -1em;
margin-right: -1em; margin-right: -1em;
} }
.ui.eight.doubling.cards .card { .ui.eight.doubling.cards > .card {
width: calc( 33.33333333% - 2em ); width: calc( 33.33333333% - 2em );
margin-left: 1em; margin-left: 1em;
margin-right: 1em; margin-right: 1em;
@ -822,7 +855,7 @@ a.ui.card:hover,
margin-left: -1em; margin-left: -1em;
margin-right: -1em; margin-right: -1em;
} }
.ui.nine.doubling.cards .card { .ui.nine.doubling.cards > .card {
width: calc( 33.33333333% - 2em ); width: calc( 33.33333333% - 2em );
margin-left: 1em; margin-left: 1em;
margin-right: 1em; margin-right: 1em;
@ -831,7 +864,7 @@ a.ui.card:hover,
margin-left: -1em; margin-left: -1em;
margin-right: -1em; margin-right: -1em;
} }
.ui.ten.doubling.cards .card { .ui.ten.doubling.cards > .card {
width: calc( 33.33333333% - 2em ); width: calc( 33.33333333% - 2em );
margin-left: 1em; margin-left: 1em;
margin-right: 1em; margin-right: 1em;
@ -844,7 +877,7 @@ a.ui.card:hover,
margin-left: 0em; margin-left: 0em;
margin-right: 0em; margin-right: 0em;
} }
.ui.two.doubling.cards .card { .ui.two.doubling.cards > .card {
width: 100%; width: 100%;
margin-left: 0em; margin-left: 0em;
margin-right: 0em; margin-right: 0em;
@ -853,7 +886,7 @@ a.ui.card:hover,
margin-left: -1em; margin-left: -1em;
margin-right: -1em; margin-right: -1em;
} }
.ui.three.doubling.cards .card { .ui.three.doubling.cards > .card {
width: calc( 50% - 2em ); width: calc( 50% - 2em );
margin-left: 1em; margin-left: 1em;
margin-right: 1em; margin-right: 1em;
@ -862,7 +895,7 @@ a.ui.card:hover,
margin-left: -1em; margin-left: -1em;
margin-right: -1em; margin-right: -1em;
} }
.ui.four.doubling.cards .card { .ui.four.doubling.cards > .card {
width: calc( 50% - 2em ); width: calc( 50% - 2em );
margin-left: 1em; margin-left: 1em;
margin-right: 1em; margin-right: 1em;
@ -871,7 +904,7 @@ a.ui.card:hover,
margin-left: -1em; margin-left: -1em;
margin-right: -1em; margin-right: -1em;
} }
.ui.five.doubling.cards .card { .ui.five.doubling.cards > .card {
width: calc( 33.33333333% - 2em ); width: calc( 33.33333333% - 2em );
margin-left: 1em; margin-left: 1em;
margin-right: 1em; margin-right: 1em;
@ -880,7 +913,7 @@ a.ui.card:hover,
margin-left: -1em; margin-left: -1em;
margin-right: -1em; margin-right: -1em;
} }
.ui.six.doubling.cards .card { .ui.six.doubling.cards > .card {
width: calc( 33.33333333% - 2em ); width: calc( 33.33333333% - 2em );
margin-left: 1em; margin-left: 1em;
margin-right: 1em; margin-right: 1em;
@ -889,7 +922,7 @@ a.ui.card:hover,
margin-left: -1em; margin-left: -1em;
margin-right: -1em; margin-right: -1em;
} }
.ui.eight.doubling.cards .card { .ui.eight.doubling.cards > .card {
width: calc( 33.33333333% - 2em ); width: calc( 33.33333333% - 2em );
margin-left: 1em; margin-left: 1em;
margin-right: 1em; margin-right: 1em;
@ -898,7 +931,7 @@ a.ui.card:hover,
margin-left: -0.75em; margin-left: -0.75em;
margin-right: -0.75em; margin-right: -0.75em;
} }
.ui.eight.doubling.cards .card { .ui.eight.doubling.cards > .card {
width: calc( 25% - 1.5em ); width: calc( 25% - 1.5em );
margin-left: 0.75em; margin-left: 0.75em;
margin-right: 0.75em; margin-right: 0.75em;
@ -907,7 +940,7 @@ a.ui.card:hover,
margin-left: -0.75em; margin-left: -0.75em;
margin-right: -0.75em; margin-right: -0.75em;
} }
.ui.nine.doubling.cards .card { .ui.nine.doubling.cards > .card {
width: calc( 25% - 1.5em ); width: calc( 25% - 1.5em );
margin-left: 0.75em; margin-left: 0.75em;
margin-right: 0.75em; margin-right: 0.75em;
@ -916,7 +949,7 @@ a.ui.card:hover,
margin-left: -0.75em; margin-left: -0.75em;
margin-right: -0.75em; margin-right: -0.75em;
} }
.ui.ten.doubling.cards .card { .ui.ten.doubling.cards > .card {
width: calc( 20% - 1.5em ); width: calc( 20% - 1.5em );
margin-left: 0.75em; margin-left: 0.75em;
margin-right: 0.75em; margin-right: 0.75em;

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Checkbox * # Semantic UI 2.4.1 - Checkbox
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -69,10 +69,10 @@
content: ''; content: '';
background: #FFFFFF; background: #FFFFFF;
border-radius: 0.21428571rem; border-radius: 0.21428571rem;
-webkit-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, box-shadow 0.1s ease, -webkit-transform 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;
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; border: 1px solid #D4D4D5;
} }
@ -91,10 +91,10 @@
text-align: center; text-align: center;
opacity: 0; opacity: 0;
color: rgba(0, 0, 0, 0.87); 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; -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, box-shadow 0.1s ease, -webkit-transform 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;
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 */ /* Handle */
.ui.slider.checkbox .box:after, .ui.slider.checkbox .box:after,
.ui.slider.checkbox label: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 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
background: #FFFFFF linear-gradient(transparent, rgba(0, 0, 0, 0.05)); background: #FFFFFF linear-gradient(transparent, rgba(0, 0, 0, 0.05));
position: absolute; position: absolute;
@ -401,6 +402,7 @@
opacity: 1; opacity: 1;
z-index: 2; z-index: 2;
border: none; border: 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; 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; width: 1.5rem;
height: 1.5rem; height: 1.5rem;
@ -491,6 +493,7 @@
border: none; border: none;
top: 0rem; top: 0rem;
background: rgba(0, 0, 0, 0.05); background: rgba(0, 0, 0, 0.05);
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
width: 3.5rem; width: 3.5rem;
height: 1.5rem; height: 1.5rem;
@ -500,6 +503,7 @@
/* Handle */ /* Handle */
.ui.toggle.checkbox .box:after, .ui.toggle.checkbox .box:after,
.ui.toggle.checkbox label: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 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
background: #FFFFFF linear-gradient(transparent, rgba(0, 0, 0, 0.05)); background: #FFFFFF linear-gradient(transparent, rgba(0, 0, 0, 0.05));
position: absolute; position: absolute;
@ -507,6 +511,7 @@
opacity: 1; opacity: 1;
z-index: 2; z-index: 2;
border: none; border: 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; 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; width: 1.5rem;
height: 1.5rem; height: 1.5rem;
@ -519,7 +524,8 @@
.ui.toggle.checkbox input ~ .box:after, .ui.toggle.checkbox input ~ .box:after,
.ui.toggle.checkbox input ~ label:after { .ui.toggle.checkbox input ~ label:after {
left: -0.05rem; 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 */ /* Focus */
@ -548,7 +554,8 @@
.ui.toggle.checkbox input:checked ~ .box:after, .ui.toggle.checkbox input:checked ~ .box:after,
.ui.toggle.checkbox input:checked ~ label:after { .ui.toggle.checkbox input:checked ~ label:after {
left: 2.15rem; 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 */ /* Active Focus */

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Checkbox * # Semantic UI 2.4.1 - Checkbox
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -10,7 +10,7 @@
;(function ($, window, document, undefined) { ;(function ($, window, document, undefined) {
"use strict"; 'use strict';
window = (typeof window != 'undefined' && window.Math == Math) window = (typeof window != 'undefined' && window.Math == Math)
? window ? window

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View 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 );

View 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);

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Comment * # Semantic UI 2.4.1 - Comment
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -206,6 +206,7 @@
.ui.threaded.comments .comment .comments { .ui.threaded.comments .comment .comments {
margin: -1.5em 0 -1em 1.25em; margin: -1.5em 0 -1em 1.25em;
padding: 3em 0em 2em 2.25em; padding: 3em 0em 2em 2.25em;
-webkit-box-shadow: -1px 0px 0px rgba(34, 36, 38, 0.15);
box-shadow: -1px 0px 0px rgba(34, 36, 38, 0.15); box-shadow: -1px 0px 0px rgba(34, 36, 38, 0.15);
} }

View file

@ -1,9 +1,9 @@
/*! /*!
* # Semantic UI 2.2.9 - Comment * # Semantic UI 2.4.1 - Comment
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
* Released under the MIT license * Released under the MIT license
* http://opensource.org/licenses/MIT * 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}

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Container * # Semantic UI 2.4.1 - Container
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Container * # Semantic UI 2.4.1 - Container
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Dimmer * # Semantic UI 2.4.0 - Dimmer
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -13,7 +13,7 @@
Dimmer Dimmer
*******************************/ *******************************/
.dimmable:not(.body) { .dimmable:not(body) {
position: relative; position: relative;
} }
.ui.dimmer { .ui.dimmer {
@ -25,6 +25,7 @@
height: 100%; height: 100%;
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
padding: 1em;
background-color: rgba(0, 0, 0, 0.85); background-color: rgba(0, 0, 0, 0.85);
opacity: 0; opacity: 0;
line-height: 1; line-height: 1;
@ -34,6 +35,16 @@
animation-duration: 0.5s; animation-duration: 0.5s;
-webkit-transition: background-color 0.5s linear; -webkit-transition: background-color 0.5s linear;
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; -webkit-user-select: none;
-moz-user-select: none; -moz-user-select: none;
-ms-user-select: none; -ms-user-select: none;
@ -44,17 +55,10 @@
/* Dimmer Content */ /* Dimmer Content */
.ui.dimmer > .content { .ui.dimmer > .content {
width: 100%;
height: 100%;
display: table;
-webkit-user-select: text; -webkit-user-select: text;
-moz-user-select: text; -moz-user-select: text;
-ms-user-select: text; -ms-user-select: text;
user-select: text; user-select: text;
}
.ui.dimmer > .content > * {
display: table-cell;
vertical-align: middle;
color: #FFFFFF; color: #FFFFFF;
} }
@ -63,21 +67,43 @@
border-radius: inherit !important; 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 States
*******************************/ *******************************/
/* Animating */
.animating.dimmable:not(body), .animating.dimmable:not(body),
.dimmed.dimmable:not(body) { .dimmed.dimmable:not(body) {
overflow: hidden; overflow: hidden;
} }
/* Animating / Active / Visible */
.dimmed.dimmable > .ui.animating.dimmer, .dimmed.dimmable > .ui.animating.dimmer,
.dimmed.dimmable > .ui.visible.dimmer, .dimmed.dimmable > .ui.visible.dimmer,
.ui.active.dimmer { .ui.active.dimmer {
display: block; display: -webkit-box;
display: -ms-flexbox;
display: flex;
opacity: 1; opacity: 1;
} }
/* Disabled */
.ui.disabled.dimmer { .ui.disabled.dimmer {
width: 0 !important; width: 0 !important;
height: 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 Page
---------------*/ ---------------*/

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Dimmer * # Semantic UI 2.4.1 - Dimmer
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -10,7 +10,7 @@
;(function ($, window, document, undefined) { ;(function ($, window, document, undefined) {
"use strict"; 'use strict';
window = (typeof window != 'undefined' && window.Math == Math) window = (typeof window != 'undefined' && window.Math == Math)
? window ? window
@ -83,7 +83,6 @@ $.fn.dimmer = function(parameters) {
else { else {
$dimmer = module.create(); $dimmer = module.create();
} }
module.set.variation();
} }
}, },
@ -157,7 +156,7 @@ $.fn.dimmer = function(parameters) {
module.hide(); module.hide();
event.stopImmediatePropagation(); event.stopImmediatePropagation();
} }
} },
}, },
addContent: function(element) { addContent: function(element) {
@ -190,6 +189,7 @@ $.fn.dimmer = function(parameters) {
: function(){} : function(){}
; ;
module.debug('Showing dimmer', $dimmer, settings); module.debug('Showing dimmer', $dimmer, settings);
module.set.variation();
if( (!module.is.dimmed() || module.is.animating()) && module.is.enabled() ) { if( (!module.is.dimmed() || module.is.animating()) && module.is.enabled() ) {
module.animate.show(callback); module.animate.show(callback);
settings.onShow.call(element); settings.onShow.call(element);
@ -233,11 +233,22 @@ $.fn.dimmer = function(parameters) {
: function(){} : function(){}
; ;
if(settings.useCSS && $.fn.transition !== undefined && $dimmer.transition('is supported')) { 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') { if(settings.opacity !== 'auto') {
module.set.opacity(); module.set.opacity();
} }
$dimmer $dimmer
.transition({ .transition({
displayType : settings.useFlex
? 'flex'
: 'block',
animation : settings.transition + ' in', animation : settings.transition + ' in',
queue : false, queue : false,
duration : module.get.duration(), duration : module.get.duration(),
@ -282,6 +293,9 @@ $.fn.dimmer = function(parameters) {
module.verbose('Hiding dimmer with css'); module.verbose('Hiding dimmer with css');
$dimmer $dimmer
.transition({ .transition({
displayType : settings.useFlex
? 'flex'
: 'block',
animation : settings.transition + ' out', animation : settings.transition + ' out',
queue : false, queue : false,
duration : module.get.duration(), duration : module.get.duration(),
@ -290,6 +304,7 @@ $.fn.dimmer = function(parameters) {
module.remove.dimmed(); module.remove.dimmed();
}, },
onComplete : function() { onComplete : function() {
module.remove.variation();
module.remove.active(); module.remove.active();
callback(); callback();
} }
@ -403,6 +418,9 @@ $.fn.dimmer = function(parameters) {
module.debug('Setting opacity to', opacity); module.debug('Setting opacity to', opacity);
$dimmer.css('background-color', color); $dimmer.css('background-color', color);
}, },
legacy: function() {
$dimmer.addClass(className.legacy);
},
active: function() { active: function() {
$dimmer.addClass(className.active); $dimmer.addClass(className.active);
}, },
@ -432,6 +450,9 @@ $.fn.dimmer = function(parameters) {
.removeClass(className.active) .removeClass(className.active)
; ;
}, },
legacy: function() {
$dimmer.removeClass(className.legacy);
},
dimmed: function() { dimmed: function() {
$dimmable.removeClass(className.dimmed); $dimmable.removeClass(className.dimmed);
}, },
@ -645,6 +666,9 @@ $.fn.dimmer.settings = {
verbose : false, verbose : false,
performance : true, performance : true,
// whether should use flex layout
useFlex : true,
// name to distinguish between multiple dimmers in context // name to distinguish between multiple dimmers in context
dimmerName : false, dimmerName : false,
@ -688,6 +712,7 @@ $.fn.dimmer.settings = {
dimmer : 'dimmer', dimmer : 'dimmer',
disabled : 'disabled', disabled : 'disabled',
hide : 'hide', hide : 'hide',
legacy : 'legacy',
pageDimmer : 'page', pageDimmer : 'page',
show : 'show' show : 'show'
}, },

View 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)}

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Divider * # Semantic UI 2.4.1 - Divider
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Dropdown * # Semantic UI 2.4.0 - Dropdown
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -19,8 +19,10 @@
display: inline-block; display: inline-block;
outline: none; outline: none;
text-align: left; 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;
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); -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
} }
@ -49,6 +51,7 @@
font-size: 1em; font-size: 1em;
text-shadow: none; text-shadow: none;
text-align: left; text-align: left;
-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); box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
border: 1px solid rgba(34, 36, 38, 0.15); border: 1px solid rgba(34, 36, 38, 0.15);
border-radius: 0.28571429rem; border-radius: 0.28571429rem;
@ -117,6 +120,7 @@
font-size: 1rem; font-size: 1rem;
text-transform: none; text-transform: none;
font-weight: normal; font-weight: normal;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
-webkit-touch-callout: none; -webkit-touch-callout: none;
} }
@ -164,7 +168,7 @@
height: 0em; height: 0em;
margin: 0.5em 0em; margin: 0.5em 0em;
} }
.ui.dropdown .menu > .input { .ui.dropdown.dropdown .menu > .input {
width: auto; width: auto;
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
@ -214,8 +218,8 @@
.ui.dropdown .menu .menu { .ui.dropdown .menu .menu {
top: 0% !important; top: 0% !important;
left: 100% !important; left: 100%;
right: auto !important; right: auto;
margin: 0em 0em 0em -0.5em !important; margin: 0em 0em 0em -0.5em !important;
border-radius: 0.28571429rem !important; border-radius: 0.28571429rem !important;
z-index: 21 !important; z-index: 21 !important;
@ -270,8 +274,10 @@
.ui.dropdown .menu > .item > .image, .ui.dropdown .menu > .item > .image,
.ui.dropdown .menu > .item > img { .ui.dropdown .menu > .item > img {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: top;
width: auto; width: auto;
margin-top: -0.5em;
margin-bottom: -0.5em;
max-height: 2em; max-height: 2em;
} }
@ -354,11 +360,14 @@
display: inline-block; display: inline-block;
padding: 0.78571429em 2.1em 0.78571429em 1em; padding: 0.78571429em 2.1em 0.78571429em 1em;
color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87);
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
border: 1px solid rgba(34, 36, 38, 0.15); border: 1px solid rgba(34, 36, 38, 0.15);
border-radius: 0.28571429rem; 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;
transition: box-shadow 0.1s ease, width 0.1s ease, -webkit-box-shadow 0.1s ease;
} }
.ui.selection.dropdown.visible, .ui.selection.dropdown.visible,
.ui.selection.dropdown.active { .ui.selection.dropdown.active {
@ -382,7 +391,7 @@ select.ui.dropdown {
right: 1em; right: 1em;
z-index: 3; z-index: 3;
margin: -0.78571429em; margin: -0.78571429em;
padding: 0.78571429em; padding: 0.91666667em;
opacity: 0.8; opacity: 0.8;
-webkit-transition: opacity 0.1s ease; -webkit-transition: opacity 0.1s ease;
transition: opacity 0.1s ease; transition: opacity 0.1s ease;
@ -407,6 +416,7 @@ select.ui.dropdown {
min-width: calc(100% + 2px ); min-width: calc(100% + 2px );
width: calc(100% + 2px ); width: calc(100% + 2px );
border-radius: 0em 0em 0.28571429rem 0.28571429rem; border-radius: 0em 0em 0.28571429rem 0.28571429rem;
-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); box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
-webkit-transition: opacity 0.1s ease; -webkit-transition: opacity 0.1s ease;
transition: opacity 0.1s ease; transition: opacity 0.1s ease;
@ -460,26 +470,31 @@ select.ui.dropdown {
/* Hover */ /* Hover */
.ui.selection.dropdown:hover { .ui.selection.dropdown:hover {
border-color: rgba(34, 36, 38, 0.35); border-color: rgba(34, 36, 38, 0.35);
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
/* Active */ /* Active */
.ui.selection.active.dropdown { .ui.selection.active.dropdown {
border-color: #96C8DA; border-color: #96C8DA;
-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); box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
} }
.ui.selection.active.dropdown .menu { .ui.selection.active.dropdown .menu {
border-color: #96C8DA; border-color: #96C8DA;
-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); box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
} }
/* Focus */ /* Focus */
.ui.selection.dropdown:focus { .ui.selection.dropdown:focus {
border-color: #96C8DA; border-color: #96C8DA;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
.ui.selection.dropdown:focus .menu { .ui.selection.dropdown:focus .menu {
border-color: #96C8DA; border-color: #96C8DA;
-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); box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
} }
@ -492,17 +507,19 @@ select.ui.dropdown {
/* Visible Hover */ /* Visible Hover */
.ui.selection.active.dropdown:hover { .ui.selection.active.dropdown:hover {
border-color: #96C8DA; border-color: #96C8DA;
-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); box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
} }
.ui.selection.active.dropdown:hover .menu { .ui.selection.active.dropdown:hover .menu {
border-color: #96C8DA; border-color: #96C8DA;
-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); box-shadow: 0px 2px 3px 0px rgba(34, 36, 38, 0.15);
} }
/* Dropdown Icon */ /* Dropdown Icon */
.ui.active.selection.dropdown > .dropdown.icon, .ui.active.selection.dropdown > .dropdown.icon,
.ui.visible.selection.dropdown > .dropdown.icon { .ui.visible.selection.dropdown > .dropdown.icon {
opacity: 1; opacity: '';
z-index: 3; z-index: 3;
} }
@ -515,10 +532,12 @@ select.ui.dropdown {
/* Empty Connecting Border */ /* Empty Connecting Border */
.ui.active.empty.selection.dropdown { .ui.active.empty.selection.dropdown {
border-radius: 0.28571429rem !important; border-radius: 0.28571429rem !important;
-webkit-box-shadow: none !important;
box-shadow: none !important; box-shadow: none !important;
} }
.ui.active.empty.selection.dropdown .menu { .ui.active.empty.selection.dropdown .menu {
border: none !important; border: none !important;
-webkit-box-shadow: none !important;
box-shadow: none !important; box-shadow: none !important;
} }
@ -536,6 +555,7 @@ select.ui.dropdown {
.ui.search.dropdown > input.search { .ui.search.dropdown > input.search {
background: none transparent !important; background: none transparent !important;
border: none !important; border: none !important;
-webkit-box-shadow: none !important;
box-shadow: none !important; box-shadow: none !important;
cursor: text; cursor: text;
top: 0em; top: 0em;
@ -651,6 +671,7 @@ select.ui.dropdown {
font-size: 1em; font-size: 1em;
padding: 0.35714286em 0.78571429em; padding: 0.35714286em 0.78571429em;
margin: 0.14285714rem 0.28571429rem 0.14285714rem 0em; margin: 0.14285714rem 0.28571429rem 0.14285714rem 0em;
-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; box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
} }
@ -714,7 +735,7 @@ select.ui.dropdown {
color: inherit; color: inherit;
} }
.ui.inline.dropdown .dropdown.icon { .ui.inline.dropdown .dropdown.icon {
margin: 0em 0.5em 0em 0.21428571em; margin: 0em 0.21428571em 0em 0.21428571em;
vertical-align: baseline; vertical-align: baseline;
} }
.ui.inline.dropdown > .text { .ui.inline.dropdown > .text {
@ -742,6 +763,7 @@ select.ui.dropdown {
background: transparent; background: transparent;
font-weight: bold; font-weight: bold;
color: rgba(0, 0, 0, 0.95); color: rgba(0, 0, 0, 0.95);
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
z-index: 12; z-index: 12;
} }
@ -764,7 +786,9 @@ select.ui.dropdown {
.ui.loading.dropdown > i.icon { .ui.loading.dropdown > i.icon {
height: 1em !important; 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 { .ui.loading.dropdown > i.icon:before {
position: absolute; position: absolute;
@ -782,6 +806,7 @@ select.ui.dropdown {
content: ''; content: '';
top: 50%; top: 50%;
left: 50%; left: 50%;
-webkit-box-shadow: 0px 0px 0px 1px transparent;
box-shadow: 0px 0px 0px 1px transparent; box-shadow: 0px 0px 0px 1px transparent;
margin: -0.64285714em 0em 0em -0.64285714em; margin: -0.64285714em 0em 0em -0.64285714em;
width: 1.28571429em; width: 1.28571429em;
@ -830,8 +855,8 @@ select.ui.dropdown {
.ui.default.dropdown:not(.button) > .text { .ui.default.dropdown:not(.button) > .text {
color: rgba(191, 191, 191, 0.87); color: rgba(191, 191, 191, 0.87);
} }
.ui.dropdown:not(.button) > input:focus + .default.text, .ui.dropdown:not(.button) > input:focus ~ .default.text,
.ui.default.dropdown:not(.button) > input:focus + .text { .ui.default.dropdown:not(.button) > input:focus ~ .text {
color: rgba(115, 115, 115, 0.87); color: rgba(115, 115, 115, 0.87);
} }
@ -850,6 +875,14 @@ select.ui.dropdown {
visibility: hidden; visibility: hidden;
z-index: -1; 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 Keyboard Select
@ -913,6 +946,19 @@ select.ui.dropdown {
background-color: #FDCFCF; 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 Disabled
----------------------*/ ----------------------*/
@ -950,28 +996,34 @@ select.ui.dropdown {
border-radius: 0.28571429rem !important; 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 > .left.menu .menu,
.ui.dropdown .menu .left.menu { .ui.dropdown .menu .left.menu {
left: auto !important; left: auto;
right: 100% !important; right: 100%;
margin: 0em -0.5em 0em 0em !important;
border-radius: 0.28571429rem !important; border-radius: 0.28571429rem !important;
} }
.ui.dropdown .item .left.dropdown.icon, .ui.dropdown .item .left.dropdown.icon,
.ui.dropdown .left.menu .item .dropdown.icon { .ui.dropdown .left.menu .item .dropdown.icon {
width: auto; width: auto;
float: left; float: left;
margin: 0em 0.78571429rem 0em 0em; margin: 0em 0em 0em 0em;
} }
.ui.dropdown .item .left.dropdown.icon, .ui.dropdown .item .left.dropdown.icon,
.ui.dropdown .left.menu .item .dropdown.icon { .ui.dropdown .left.menu .item .dropdown.icon {
width: auto; width: auto;
float: left; float: left;
margin: 0em 0.78571429rem 0em 0em; margin: 0em 0em 0em 0em;
} }
.ui.dropdown .item .left.dropdown.icon + .text, .ui.dropdown .item .left.dropdown.icon + .text,
.ui.dropdown .left.menu .item .dropdown.icon + .text { .ui.dropdown .left.menu .item .dropdown.icon + .text {
margin-left: 1em; margin-left: 1em;
margin-right: 0em;
} }
/*-------------- /*--------------
@ -983,6 +1035,7 @@ select.ui.dropdown {
.ui.upward.dropdown > .menu { .ui.upward.dropdown > .menu {
top: auto; top: auto;
bottom: 100%; bottom: 100%;
-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); box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
border-radius: 0.28571429rem 0.28571429rem 0em 0em; border-radius: 0.28571429rem 0.28571429rem 0em 0em;
} }
@ -1006,9 +1059,11 @@ select.ui.dropdown {
.ui.upward.selection.dropdown .menu { .ui.upward.selection.dropdown .menu {
border-top-width: 1px !important; border-top-width: 1px !important;
border-bottom-width: 0px !important; border-bottom-width: 0px !important;
-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); box-shadow: 0px -2px 3px 0px rgba(0, 0, 0, 0.08);
} }
.ui.upward.selection.dropdown:hover { .ui.upward.selection.dropdown:hover {
-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); box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.05);
} }
@ -1019,15 +1074,18 @@ select.ui.dropdown {
/* Visible Upward */ /* Visible Upward */
.ui.upward.selection.dropdown.visible { .ui.upward.selection.dropdown.visible {
-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); box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
border-radius: 0em 0em 0.28571429rem 0.28571429rem !important; border-radius: 0em 0em 0.28571429rem 0.28571429rem !important;
} }
/* Visible Hover Upward */ /* Visible Hover Upward */
.ui.upward.active.selection.dropdown:hover { .ui.upward.active.selection.dropdown:hover {
-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); box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.05);
} }
.ui.upward.active.selection.dropdown:hover .menu { .ui.upward.active.selection.dropdown:hover .menu {
-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); box-shadow: 0px -2px 3px 0px rgba(0, 0, 0, 0.08);
} }
@ -1055,6 +1113,7 @@ select.ui.dropdown {
position: static; position: static;
overflow-y: auto; overflow-y: auto;
border: none; border: none;
-webkit-box-shadow: none !important;
box-shadow: none !important; box-shadow: none !important;
border-radius: 0 !important; border-radius: 0 !important;
margin: 0 !important; margin: 0 !important;
@ -1182,6 +1241,7 @@ select.ui.dropdown {
.ui.floating.dropdown .menu { .ui.floating.dropdown .menu {
left: 0; left: 0;
right: auto; right: auto;
-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; 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; border-radius: 0.28571429rem !important;
} }
@ -1209,7 +1269,8 @@ select.ui.dropdown {
transform: rotate(45deg); transform: rotate(45deg);
width: 0.5em; width: 0.5em;
height: 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; background: #FFFFFF;
z-index: 2; z-index: 2;
} }
@ -1251,10 +1312,11 @@ select.ui.dropdown {
left: auto; left: auto;
margin: 1em 0em 0em; margin: 1em 0em 0em;
} }
.ui.top.pointing.dropdown > .left.menu:after,
.ui.top.right.pointing.dropdown > .menu:after { .ui.top.right.pointing.dropdown > .menu:after {
top: -0.25em; top: -0.25em;
left: auto; left: auto !important;
right: 1em; right: 1em !important;
margin: 0em; margin: 0em;
-webkit-transform: rotate(45deg); -webkit-transform: rotate(45deg);
transform: rotate(45deg); transform: rotate(45deg);
@ -1274,6 +1336,19 @@ select.ui.dropdown {
-webkit-transform: rotate(-45deg); -webkit-transform: rotate(-45deg);
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 */ /* Right Pointing */
.ui.right.pointing.dropdown > .menu { .ui.right.pointing.dropdown > .menu {
@ -1335,45 +1410,48 @@ select.ui.dropdown {
} }
/* Upward pointing */ /* Upward pointing */
.ui.upward.pointing.dropdown > .menu, .ui.pointing.upward.dropdown .menu,
.ui.upward.top.pointing.dropdown > .menu { .ui.top.pointing.upward.dropdown .menu {
top: auto; top: auto !important;
bottom: 100%; bottom: 100% !important;
margin: 0em 0em 0.78571429rem; margin: 0em 0em 0.78571429rem;
border-radius: 0.28571429rem; border-radius: 0.28571429rem;
} }
.ui.upward.pointing.dropdown > .menu:after, .ui.pointing.upward.dropdown .menu:after,
.ui.upward.top.pointing.dropdown > .menu:after { .ui.top.pointing.upward.dropdown .menu:after {
top: 100%; top: 100% !important;
bottom: auto; bottom: auto !important;
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);
margin: -0.25em 0em 0em; margin: -0.25em 0em 0em;
} }
/* Right Pointing Upward */ /* Right Pointing Upward */
.ui.upward.right.pointing.dropdown:not(.top):not(.bottom) > .menu { .ui.right.pointing.upward.dropdown:not(.top):not(.bottom) .menu {
top: auto; top: auto !important;
bottom: 0; bottom: 0 !important;
margin: 0em 1em 0em 0em; margin: 0em 1em 0em 0em;
} }
.ui.upward.right.pointing.dropdown:not(.top):not(.bottom) > .menu:after { .ui.right.pointing.upward.dropdown:not(.top):not(.bottom) .menu:after {
top: auto; top: auto !important;
bottom: 0; bottom: 0 !important;
margin: 0em 0em 1em 0em; 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 */ /* Left Pointing Upward */
.ui.upward.left.pointing.dropdown:not(.top):not(.bottom) > .menu { .ui.left.pointing.upward.dropdown:not(.top):not(.bottom) .menu {
top: auto; top: auto !important;
bottom: 0; bottom: 0 !important;
margin: 0em 0em 0em 1em; margin: 0em 0em 0em 1em;
} }
.ui.upward.left.pointing.dropdown:not(.top):not(.bottom) > .menu:after { .ui.left.pointing.upward.dropdown:not(.top):not(.bottom) .menu:after {
top: auto; top: auto !important;
bottom: 0; bottom: 0 !important;
margin: 0em 0em 1em 0em; 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 */ /* Dropdown Carets */
@font-face { @font-face {
font-family: 'Dropdown'; 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-weight: normal;
font-style: normal; font-style: normal;
} }
@ -1420,19 +1498,15 @@ select.ui.dropdown {
.ui.vertical.menu .dropdown.item > .dropdown.icon:before { .ui.vertical.menu .dropdown.item > .dropdown.icon:before {
content: "\f0da" /*rtl:"\f0d9"*/; content: "\f0da" /*rtl:"\f0d9"*/;
} }
/* Icons for Reference .ui.dropdown > .clear.icon:before {
.dropdown.down.icon { content: "\f00d";
content: "\f0d7";
}
.dropdown.up.icon {
content: "\f0d8";
}
.dropdown.left.icon {
content: "\f0d9";
}
.dropdown.icon.icon {
content: "\f0da";
} }
/* 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"; }
*/ */

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI - Dropdown * # Semantic UI 2.4.1 - Dropdown
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -10,7 +10,7 @@
;(function ($, window, document, undefined) { ;(function ($, window, document, undefined) {
"use strict"; 'use strict';
window = (typeof window != 'undefined' && window.Math == Math) window = (typeof window != 'undefined' && window.Math == Math)
? window ? window
@ -97,7 +97,13 @@ $.fn.dropdown = function(parameters) {
module.setup.reference(); module.setup.reference();
} }
else { else {
module.setup.layout(); module.setup.layout();
if(settings.values) {
module.change.values(settings.values);
}
module.refreshData(); module.refreshData();
module.save.defaults(); module.save.defaults();
@ -162,7 +168,7 @@ $.fn.dropdown = function(parameters) {
observe: { observe: {
select: function() { select: function() {
if(module.has.input()) { if(module.has.input()) {
selectObserver.observe($input[0], { selectObserver.observe($module[0], {
childList : true, childList : true,
subtree : true subtree : true
}); });
@ -384,13 +390,10 @@ $.fn.dropdown = function(parameters) {
module.debug('Dropdown behavior was called on select, replacing with closest dropdown'); module.debug('Dropdown behavior was called on select, replacing with closest dropdown');
// replace module reference // replace module reference
$module = $module.parent(selector.dropdown); $module = $module.parent(selector.dropdown);
instance = $module.data(moduleNamespace);
element = $module.get(0);
module.refresh(); module.refresh();
module.setup.returnedObject(); module.setup.returnedObject();
// invoke method in context of current instance
if(methodInvoked) {
instance = module;
module.invoke(query);
}
}, },
returnedObject: function() { returnedObject: function() {
var var
@ -493,7 +496,7 @@ $.fn.dropdown = function(parameters) {
? callback ? callback
: function(){} : function(){}
; ;
if( module.is.active() ) { if( module.is.active() && !module.is.animatingOutward() ) {
module.debug('Hiding dropdown'); module.debug('Hiding dropdown');
if(settings.onHide.call(element) !== false) { if(settings.onHide.call(element) !== false) {
module.animate.hide(function() { module.animate.hide(function() {
@ -602,7 +605,6 @@ $.fn.dropdown = function(parameters) {
else { else {
if(settings.on == 'click') { if(settings.on == 'click') {
$module $module
.on('click' + eventNamespace, selector.icon, module.event.icon.click)
.on('click' + eventNamespace, module.event.test.toggle) .on('click' + eventNamespace, module.event.test.toggle)
; ;
} }
@ -618,6 +620,7 @@ $.fn.dropdown = function(parameters) {
; ;
} }
$module $module
.on('click' + eventNamespace, selector.icon, module.event.icon.click)
.on('mousedown' + eventNamespace, module.event.mousedown) .on('mousedown' + eventNamespace, module.event.mousedown)
.on('mouseup' + eventNamespace, module.event.mouseup) .on('mouseup' + eventNamespace, module.event.mouseup)
.on('focus' + eventNamespace, module.event.focus) .on('focus' + eventNamespace, module.event.focus)
@ -677,7 +680,9 @@ $.fn.dropdown = function(parameters) {
if(module.is.multiple()) { if(module.is.multiple()) {
module.filterActive(); module.filterActive();
} }
if(query || (!query && module.get.activeItem().length == 0)) {
module.select.firstUnfiltered(); module.select.firstUnfiltered();
}
if( module.has.allResultsFiltered() ) { if( module.has.allResultsFiltered() ) {
if( settings.onNoResults.call(element, searchTerm) ) { if( settings.onNoResults.call(element, searchTerm) ) {
if(settings.allowAdditions) { if(settings.allowAdditions) {
@ -749,10 +754,19 @@ $.fn.dropdown = function(parameters) {
callback(); callback();
}, },
onSuccess : function(response) { onSuccess : function(response) {
var
values = response[fields.remoteValues],
hasRemoteValues = ($.isArray(values) && values.length > 0)
;
if(hasRemoteValues) {
module.remove.message(); module.remove.message();
module.setup.menu({ module.setup.menu({
values: response[fields.remoteValues] values: response[fields.remoteValues]
}); });
}
else {
module.add.message(message.noResults);
}
callback(); 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: { event: {
change: function() { change: function() {
if(!internalChange) { if(!internalChange) {
@ -975,7 +1006,7 @@ $.fn.dropdown = function(parameters) {
}, },
blur: function(event) { blur: function(event) {
pageLostFocus = (document.activeElement === this); pageLostFocus = (document.activeElement === this);
if(!willRefocus) { if(module.is.searchSelection() && !willRefocus) {
if(!itemActivated && !pageLostFocus) { if(!itemActivated && !pageLostFocus) {
if(settings.forceSelection) { if(settings.forceSelection) {
module.forceSelection(); module.forceSelection();
@ -988,8 +1019,13 @@ $.fn.dropdown = function(parameters) {
}, },
icon: { icon: {
click: function(event) { click: function(event) {
if($icon.hasClass(className.clear)) {
module.clear();
}
else if (module.can.click()) {
module.toggle(); module.toggle();
} }
}
}, },
text: { text: {
focus: function(event) { focus: function(event) {
@ -1079,7 +1115,22 @@ $.fn.dropdown = function(parameters) {
select: { select: {
mutation: function(mutations) { mutation: function(mutations) {
module.debug('<select> modified, recreating menu'); module.debug('<select> modified, recreating menu');
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.setup.select();
module.set.selected();
module.observe.select();
}
} }
}, },
menu: { menu: {
@ -1158,6 +1209,10 @@ $.fn.dropdown = function(parameters) {
hasSubMenu = ($subMenu.length > 0), hasSubMenu = ($subMenu.length > 0),
isBubbledEvent = ($subMenu.find($target).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(!isBubbledEvent && (!hasSubMenu || settings.allowCategorySelection)) {
if(module.is.searchSelection()) { if(module.is.searchSelection()) {
if(settings.allowAdditions) { if(settings.allowAdditions) {
@ -1464,7 +1519,6 @@ $.fn.dropdown = function(parameters) {
// down arrow (open menu) // down arrow (open menu)
if(pressedKey == keys.downArrow && !module.is.visible()) { if(pressedKey == keys.downArrow && !module.is.visible()) {
module.verbose('Down key pressed, showing dropdown'); module.verbose('Down key pressed, showing dropdown');
module.select.firstUnfiltered();
module.show(); module.show();
event.preventDefault(); event.preventDefault();
} }
@ -1577,7 +1631,7 @@ $.fn.dropdown = function(parameters) {
: text : text
; ;
if( module.can.activate( $(element) ) ) { if( module.can.activate( $(element) ) ) {
module.set.value(value, $(element)); module.set.value(value, text, $(element));
if(module.is.multiple() && !module.is.allFiltered()) { if(module.is.multiple() && !module.is.allFiltered()) {
return; return;
} }
@ -1597,7 +1651,7 @@ $.fn.dropdown = function(parameters) {
}, },
hide: function(text, value, element) { hide: function(text, value, element) {
module.set.value(value, text); module.set.value(value, text, $(element));
module.hideAndClear(); module.hideAndClear();
} }
@ -1614,6 +1668,9 @@ $.fn.dropdown = function(parameters) {
return $module.data(metadata.defaultValue); return $module.data(metadata.defaultValue);
}, },
placeholderText: function() { placeholderText: function() {
if(settings.placeholder != 'auto' && typeof settings.placeholder == 'string') {
return settings.placeholder;
}
return $module.data(metadata.placeholderText) || ''; return $module.data(metadata.placeholderText) || '';
}, },
text: function() { text: function() {
@ -2363,26 +2420,35 @@ $.fn.dropdown = function(parameters) {
}, },
direction: function($menu) { direction: function($menu) {
if(settings.direction == 'auto') { if(settings.direction == 'auto') {
if(module.is.onScreen($menu)) { // reset position
module.remove.upward();
if(module.can.openDownward($menu)) {
module.remove.upward($menu); module.remove.upward($menu);
} }
else { else {
module.set.upward($menu); module.set.upward($menu);
} }
if(!module.is.leftward($menu) && !module.can.openRightward($menu)) {
module.set.leftward($menu);
}
} }
else if(settings.direction == 'upward') { else if(settings.direction == 'upward') {
module.set.upward($menu); module.set.upward($menu);
} }
}, },
upward: function($menu) { upward: function($currentMenu) {
var $element = $menu || $module; var $element = $currentMenu || $module;
$element.addClass(className.upward); $element.addClass(className.upward);
}, },
leftward: function($currentMenu) {
var $element = $currentMenu || $menu;
$element.addClass(className.leftward);
},
value: function(value, text, $selected) { value: function(value, text, $selected) {
var var
escapedValue = module.escape.value(value), escapedValue = module.escape.value(value),
hasInput = ($input.length > 0), hasInput = ($input.length > 0),
isAddition = !module.has.value(value),
currentValue = module.get.values(), currentValue = module.get.values(),
stringValue = (value !== undefined) stringValue = (value !== undefined)
? String(value) ? String(value)
@ -2420,6 +2486,15 @@ $.fn.dropdown = function(parameters) {
$module.data(metadata.value, stringValue); $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()) { if(settings.fireOnInit === false && module.is.initialLoad()) {
module.verbose('No callback on initial load', settings.onChange); module.verbose('No callback on initial load', settings.onChange);
} }
@ -2485,8 +2560,8 @@ $.fn.dropdown = function(parameters) {
module.save.remoteData(selectedText, selectedValue); module.save.remoteData(selectedText, selectedValue);
} }
if(settings.useLabels) { if(settings.useLabels) {
module.add.value(selectedValue, selectedText, $selected);
module.add.label(selectedValue, selectedText, shouldAnimate); module.add.label(selectedValue, selectedText, shouldAnimate);
module.add.value(selectedValue, selectedText, $selected);
module.set.activeItem($selected); module.set.activeItem($selected);
module.filterActive(); module.filterActive();
module.select.nextAvailable($selectedItem); module.select.nextAvailable($selectedItem);
@ -2515,7 +2590,10 @@ $.fn.dropdown = function(parameters) {
} }
}) })
; ;
} },
clearable: function() {
$icon.addClass(className.clear);
},
}, },
add: { add: {
@ -2527,6 +2605,9 @@ $.fn.dropdown = function(parameters) {
escapedValue = module.escape.value(value), escapedValue = module.escape.value(value),
$label $label
; ;
if(settings.ignoreCase) {
escapedValue = escapedValue.toLowerCase();
}
$label = $('<a />') $label = $('<a />')
.addClass(className.label) .addClass(className.label)
.attr('data-' + metadata.value, escapedValue) .attr('data-' + metadata.value, escapedValue)
@ -2535,7 +2616,7 @@ $.fn.dropdown = function(parameters) {
$label = settings.onLabelCreate.call($label, escapedValue, text); $label = settings.onLabelCreate.call($label, escapedValue, text);
if(module.has.label(value)) { if(module.has.label(value)) {
module.debug('Label already exists, skipping', escapedValue); module.debug('User selection already exists, skipping', escapedValue);
return; return;
} }
if(settings.label.variation) { if(settings.label.variation) {
@ -2674,6 +2755,10 @@ $.fn.dropdown = function(parameters) {
currentValue = module.get.values(), currentValue = module.get.values(),
newValue newValue
; ;
if(module.has.value(addedValue)) {
module.debug('Value already selected');
return;
}
if(addedValue === '') { if(addedValue === '') {
module.debug('Cannot select blank values from multiselect'); module.debug('Cannot select blank values from multiselect');
return; return;
@ -2706,7 +2791,7 @@ $.fn.dropdown = function(parameters) {
} }
module.set.value(newValue, addedValue, addedText, $selectedItem); module.set.value(newValue, addedValue, addedText, $selectedItem);
module.check.maxSelections(); module.check.maxSelections();
} },
}, },
remove: { remove: {
@ -2725,10 +2810,14 @@ $.fn.dropdown = function(parameters) {
initialLoad: function() { initialLoad: function() {
initialLoad = false; initialLoad = false;
}, },
upward: function($menu) { upward: function($currentMenu) {
var $element = $menu || $module; var $element = $currentMenu || $module;
$element.removeClass(className.upward); $element.removeClass(className.upward);
}, },
leftward: function($currentMenu) {
var $element = $currentMenu || $menu;
$element.removeClass(className.leftward);
},
visible: function() { visible: function() {
$module.removeClass(className.visible); $module.removeClass(className.visible);
}, },
@ -2927,6 +3016,9 @@ $.fn.dropdown = function(parameters) {
.removeAttr('tabindex') .removeAttr('tabindex')
; ;
} }
},
clearable: function() {
$icon.removeClass(className.clear);
} }
}, },
@ -2983,6 +3075,9 @@ $.fn.dropdown = function(parameters) {
escapedValue = module.escape.value(value), escapedValue = module.escape.value(value),
$labels = $module.find(selector.label) $labels = $module.find(selector.label)
; ;
if(settings.ignoreCase) {
escapedValue = escapedValue.toLowerCase();
}
return ($labels.filter('[data-' + metadata.value + '="' + module.escape.string(escapedValue) +'"]').length > 0); return ($labels.filter('[data-' + metadata.value + '="' + module.escape.string(escapedValue) +'"]').length > 0);
}, },
maxSelections: function() { maxSelections: function() {
@ -3001,6 +3096,12 @@ $.fn.dropdown = function(parameters) {
return (module.get.query() !== ''); return (module.get.query() !== '');
}, },
value: function(value) { value: function(value) {
return (settings.ignoreCase)
? module.has.valueIgnoringCase(value)
: module.has.valueMatchingCase(value)
;
},
valueMatchingCase: function(value) {
var var
values = module.get.values(), values = module.get.values(),
hasValue = $.isArray(values) hasValue = $.isArray(values)
@ -3011,6 +3112,22 @@ $.fn.dropdown = function(parameters) {
? true ? true
: false : 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() { active: function() {
return $module.hasClass(className.active); return $module.hasClass(className.active);
}, },
animatingInward: function() {
return $menu.transition('is inward');
},
animatingOutward: function() {
return $menu.transition('is outward');
},
bubbledLabelClick: function(event) { bubbledLabelClick: function(event) {
return $(event.target).is('select, input') && $module.closest('label').length > 0; 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; return $(event.target).closest($icon).length > 0;
}, },
alreadySetup: function() { 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) { animating: function($subMenu) {
return ($subMenu) return ($subMenu)
@ -3033,6 +3156,10 @@ $.fn.dropdown = function(parameters) {
: $menu.transition && $menu.transition('is animating') : $menu.transition && $menu.transition('is animating')
; ;
}, },
leftward: function($subMenu) {
var $selectedMenu = $subMenu || $menu;
return $selectedMenu.hasClass(className.leftward);
},
disabled: function() { disabled: function() {
return $module.hasClass(className.disabled); return $module.hasClass(className.disabled);
}, },
@ -3051,43 +3178,6 @@ $.fn.dropdown = function(parameters) {
initialLoad: function() { initialLoad: function() {
return initialLoad; 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) { inObject: function(needle, object) {
var var
found = false found = false
@ -3142,6 +3232,22 @@ $.fn.dropdown = function(parameters) {
? $subMenu.hasClass(className.visible) ? $subMenu.hasClass(className.visible)
: $menu.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; 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() { click: function() {
return (hasTouch || settings.on == 'click'); return (hasTouch || settings.on == 'click');
}, },
@ -3256,12 +3441,9 @@ $.fn.dropdown = function(parameters) {
duration : settings.duration, duration : settings.duration,
debug : settings.debug, debug : settings.debug,
verbose : settings.verbose, verbose : settings.verbose,
queue : true, queue : false,
onStart : start, onStart : start,
onComplete : function() { onComplete : function() {
if(settings.direction == 'auto') {
module.remove.upward($subMenu);
}
callback.call(element); callback.call(element);
} }
}) })
@ -3522,6 +3704,9 @@ $.fn.dropdown.settings = {
on : 'click', // what event should show menu action on item selection on : 'click', // what event should show menu action on item selection
action : 'activate', // action on item selection (nothing, activate, select, combo, hide, function(){}) 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, apiSettings : false,
selectOnKeydown : true, // Whether selection should occur automatically when keyboard shortcuts used selectOnKeydown : true, // Whether selection should occur automatically when keyboard shortcuts used
@ -3546,6 +3731,7 @@ $.fn.dropdown.settings = {
forceSelection : true, // force a choice on blur with search selection forceSelection : true, // force a choice on blur with search selection
allowAdditions : false, // whether multiple select should allow user added values allowAdditions : false, // whether multiple select should allow user added values
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 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 maxSelections : false, // When set to a number limits the number of selections to this count
@ -3674,6 +3860,7 @@ $.fn.dropdown.settings = {
active : 'active', active : 'active',
addition : 'addition', addition : 'addition',
animating : 'animating', animating : 'animating',
clear : 'clear',
disabled : 'disabled', disabled : 'disabled',
empty : 'empty', empty : 'empty',
dropdown : 'ui dropdown', dropdown : 'ui dropdown',
@ -3691,6 +3878,7 @@ $.fn.dropdown.settings = {
selected : 'selected', selected : 'selected',
selection : 'selection', selection : 'selection',
upward : 'upward', upward : 'upward',
leftward : 'left',
visible : 'visible' visible : 'visible'
} }
@ -3739,7 +3927,7 @@ $.fn.dropdown.settings.templates = {
? 'disabled ' ? '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 += option[fields.name];
html += '</div>'; html += '</div>';
}); });

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Video * # Semantic UI 2.4.0 - Video
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI - Embed * # Semantic UI 2.4.1 - Embed
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -181,6 +181,7 @@ $.fn.embed = function(parameters) {
// clears embed // clears embed
reset: function() { reset: function() {
module.debug('Clearing embed and showing placeholder'); module.debug('Clearing embed and showing placeholder');
module.remove.data();
module.remove.active(); module.remove.active();
module.remove.embed(); module.remove.embed();
module.showPlaceholder(); module.showPlaceholder();
@ -300,6 +301,15 @@ $.fn.embed = function(parameters) {
}, },
remove: { remove: {
data: function() {
$module
.removeData(metadata.id)
.removeData(metadata.icon)
.removeData(metadata.placeholder)
.removeData(metadata.source)
.removeData(metadata.url)
;
},
active: function() { active: function() {
$module.removeClass(className.active); $module.removeClass(className.active);
}, },

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Video * # Semantic UI 2.4.0 - Video
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Feed * # Semantic UI 2.4.1 - Feed
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -61,7 +61,6 @@
width: 2.5em; width: 2.5em;
height: auto; height: auto;
-ms-flex-item-align: stretch; -ms-flex-item-align: stretch;
-ms-grid-row-align: stretch;
align-self: stretch; align-self: stretch;
text-align: left; text-align: left;
} }
@ -96,7 +95,6 @@
-ms-flex: 1 1 auto; -ms-flex: 1 1 auto;
flex: 1 1 auto; flex: 1 1 auto;
-ms-flex-item-align: stretch; -ms-flex-item-align: stretch;
-ms-grid-row-align: stretch;
align-self: stretch; align-self: stretch;
text-align: left; text-align: left;
word-wrap: break-word; word-wrap: break-word;
@ -216,6 +214,7 @@
background: none; background: none;
border: none; border: none;
border-radius: 0; border-radius: 0;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
padding: 0em; padding: 0em;
color: rgba(0, 0, 0, 0.6); color: rgba(0, 0, 0, 0.6);

View 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}

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Flag * # Semantic UI 2.4.1 - Flag
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -300,6 +300,10 @@ i.flag.eh:before,
i.flag.western.sahara:before { i.flag.western.sahara:before {
background-position: 0px -1664px; background-position: 0px -1664px;
} }
i.flag.gb.eng:before,
i.flag.england:before {
background-position: 0px -1690px;
}
i.flag.er:before, i.flag.er:before,
i.flag.eritrea:before { i.flag.eritrea:before {
background-position: 0px -1716px; background-position: 0px -1716px;
@ -345,6 +349,7 @@ i.flag.gabon:before {
background-position: -36px 0px; background-position: -36px 0px;
} }
i.flag.gb:before, i.flag.gb:before,
i.flag.uk:before,
i.flag.united.kingdom:before { i.flag.united.kingdom:before {
background-position: -36px -26px; background-position: -36px -26px;
} }

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Form * # Semantic UI 2.4.1 - Form
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -111,6 +111,7 @@
border: 1px solid rgba(34, 36, 38, 0.15); border: 1px solid rgba(34, 36, 38, 0.15);
color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87);
border-radius: 0.28571429rem; border-radius: 0.28571429rem;
-webkit-box-shadow: 0em 0em 0em 0em transparent inset;
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; -webkit-transition: color 0.1s ease, border-color 0.1s ease;
transition: color 0.1s ease, border-color 0.1s ease; transition: color 0.1s ease, border-color 0.1s ease;
@ -127,6 +128,7 @@
outline: none; outline: none;
color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87);
border-radius: 0.28571429rem; border-radius: 0.28571429rem;
-webkit-box-shadow: 0em 0em 0em 0em transparent inset;
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; -webkit-transition: color 0.1s ease, border-color 0.1s ease;
transition: color 0.1s ease, border-color 0.1s ease; transition: color 0.1s ease, border-color 0.1s ease;
@ -163,6 +165,7 @@
background: #FFFFFF; background: #FFFFFF;
border: 1px solid rgba(34, 36, 38, 0.15); border: 1px solid rgba(34, 36, 38, 0.15);
border-radius: 0.28571429rem; border-radius: 0.28571429rem;
-webkit-box-shadow: 0em 0em 0em 0em transparent inset;
box-shadow: 0em 0em 0em 0em transparent inset; box-shadow: 0em 0em 0em 0em transparent inset;
padding: 0.62em 1em; padding: 0.62em 1em;
color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87);
@ -285,18 +288,21 @@
---------------------*/ ---------------------*/
.ui.form .field.field input:-webkit-autofill { .ui.form .field.field input:-webkit-autofill {
-webkit-box-shadow: 0px 0px 0px 100px #FFFFF0 inset !important;
box-shadow: 0px 0px 0px 100px #FFFFF0 inset !important; box-shadow: 0px 0px 0px 100px #FFFFF0 inset !important;
border-color: #E5DFA1 !important; border-color: #E5DFA1 !important;
} }
/* Focus */ /* Focus */
.ui.form .field.field input:-webkit-autofill:focus { .ui.form .field.field input:-webkit-autofill:focus {
-webkit-box-shadow: 0px 0px 0px 100px #FFFFF0 inset !important;
box-shadow: 0px 0px 0px 100px #FFFFF0 inset !important; box-shadow: 0px 0px 0px 100px #FFFFF0 inset !important;
border-color: #D5C315 !important; border-color: #D5C315 !important;
} }
/* Error */ /* Error */
.ui.form .error.error input:-webkit-autofill { .ui.form .error.error input:-webkit-autofill {
-webkit-box-shadow: 0px 0px 0px 100px #FFFAF0 inset !important;
box-shadow: 0px 0px 0px 100px #FFFAF0 inset !important; box-shadow: 0px 0px 0px 100px #FFFAF0 inset !important;
border-color: #E0B4B4 !important; border-color: #E0B4B4 !important;
} }
@ -311,7 +317,7 @@
color: rgba(191, 191, 191, 0.87); color: rgba(191, 191, 191, 0.87);
} }
.ui.form :-ms-input-placeholder { .ui.form :-ms-input-placeholder {
color: rgba(191, 191, 191, 0.87); color: rgba(191, 191, 191, 0.87) !important;
} }
.ui.form ::-moz-placeholder { .ui.form ::-moz-placeholder {
color: rgba(191, 191, 191, 0.87); color: rgba(191, 191, 191, 0.87);
@ -320,7 +326,7 @@
color: rgba(115, 115, 115, 0.87); color: rgba(115, 115, 115, 0.87);
} }
.ui.form :focus:-ms-input-placeholder { .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 { .ui.form :focus::-moz-placeholder {
color: rgba(115, 115, 115, 0.87); color: rgba(115, 115, 115, 0.87);
@ -366,6 +372,7 @@
border-color: #85B7D9; border-color: #85B7D9;
border-radius: 0.28571429rem; border-radius: 0.28571429rem;
background: #FFFFFF; background: #FFFFFF;
-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; box-shadow: 0px 0em 0em 0em rgba(34, 36, 38, 0.35) inset;
} }
.ui.form textarea:focus { .ui.form textarea:focus {
@ -373,6 +380,7 @@
border-color: #85B7D9; border-color: #85B7D9;
border-radius: 0.28571429rem; border-radius: 0.28571429rem;
background: #FFFFFF; background: #FFFFFF;
-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; box-shadow: 0px 0em 0em 0em rgba(34, 36, 38, 0.35) inset;
-webkit-appearance: none; -webkit-appearance: none;
} }
@ -475,6 +483,7 @@
border-color: #E0B4B4; border-color: #E0B4B4;
color: #9F3A38; color: #9F3A38;
border-radius: ''; border-radius: '';
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
.ui.form .field.error textarea:focus, .ui.form .field.error textarea:focus,
@ -495,6 +504,7 @@
border-color: #E0B4B4; border-color: #E0B4B4;
color: #9F3A38; color: #9F3A38;
-webkit-appearance: none; -webkit-appearance: none;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
@ -628,6 +638,7 @@
border-color: #767676 rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1); 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-style: solid;
border-width: 0.2em; border-width: 0.2em;
-webkit-box-shadow: 0px 0px 0px 1px transparent;
box-shadow: 0px 0px 0px 1px transparent; box-shadow: 0px 0px 0px 1px transparent;
visibility: visible; visibility: visible;
z-index: 101; z-index: 101;
@ -725,6 +736,7 @@
background: #FFFFFF; background: #FFFFFF;
border-color: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.1);
color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87);
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
@ -780,6 +792,7 @@
} }
.ui.form .fields > .field:first-child { .ui.form .fields > .field:first-child {
border-left: none; border-left: none;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
@ -827,26 +840,26 @@
-ms-flex-wrap: wrap; -ms-flex-wrap: wrap;
flex-wrap: wrap; flex-wrap: wrap;
} }
.ui[class*="equal width"].form .fields > .field, .ui[class*="equal width"].form:not(.unstackable) .fields > .field,
.ui.form [class*="equal width"].fields > .field, .ui.form:not(.unstackable) [class*="equal width"].fields:not(.unstackable) > .field,
.ui.form .two.fields > .fields, .ui.form:not(.unstackable) .two.fields:not(.unstackable) > .fields,
.ui.form .two.fields > .field, .ui.form:not(.unstackable) .two.fields:not(.unstackable) > .field,
.ui.form .three.fields > .fields, .ui.form:not(.unstackable) .three.fields:not(.unstackable) > .fields,
.ui.form .three.fields > .field, .ui.form:not(.unstackable) .three.fields:not(.unstackable) > .field,
.ui.form .four.fields > .fields, .ui.form:not(.unstackable) .four.fields:not(.unstackable) > .fields,
.ui.form .four.fields > .field, .ui.form:not(.unstackable) .four.fields:not(.unstackable) > .field,
.ui.form .five.fields > .fields, .ui.form:not(.unstackable) .five.fields:not(.unstackable) > .fields,
.ui.form .five.fields > .field, .ui.form:not(.unstackable) .five.fields:not(.unstackable) > .field,
.ui.form .six.fields > .fields, .ui.form:not(.unstackable) .six.fields:not(.unstackable) > .fields,
.ui.form .six.fields > .field, .ui.form:not(.unstackable) .six.fields:not(.unstackable) > .field,
.ui.form .seven.fields > .fields, .ui.form:not(.unstackable) .seven.fields:not(.unstackable) > .fields,
.ui.form .seven.fields > .field, .ui.form:not(.unstackable) .seven.fields:not(.unstackable) > .field,
.ui.form .eight.fields > .fields, .ui.form:not(.unstackable) .eight.fields:not(.unstackable) > .fields,
.ui.form .eight.fields > .field, .ui.form:not(.unstackable) .eight.fields:not(.unstackable) > .field,
.ui.form .nine.fields > .fields, .ui.form:not(.unstackable) .nine.fields:not(.unstackable) > .fields,
.ui.form .nine.fields > .field, .ui.form:not(.unstackable) .nine.fields:not(.unstackable) > .field,
.ui.form .ten.fields > .fields, .ui.form:not(.unstackable) .ten.fields:not(.unstackable) > .fields,
.ui.form .ten.fields > .field { .ui.form:not(.unstackable) .ten.fields:not(.unstackable) > .field {
width: 100% !important; width: 100% !important;
margin: 0em 0em 1em; margin: 0em 0em 1em;
} }
@ -909,29 +922,29 @@
/* Swap to full width on mobile */ /* Swap to full width on mobile */
@media only screen and (max-width: 767px) { @media only screen and (max-width: 767px) {
.ui.form .two.fields > .fields, .ui.form:not(.unstackable) .two.fields:not(.unstackable) > .fields,
.ui.form .two.fields > .field, .ui.form:not(.unstackable) .two.fields:not(.unstackable) > .field,
.ui.form .three.fields > .fields, .ui.form:not(.unstackable) .three.fields:not(.unstackable) > .fields,
.ui.form .three.fields > .field, .ui.form:not(.unstackable) .three.fields:not(.unstackable) > .field,
.ui.form .four.fields > .fields, .ui.form:not(.unstackable) .four.fields:not(.unstackable) > .fields,
.ui.form .four.fields > .field, .ui.form:not(.unstackable) .four.fields:not(.unstackable) > .field,
.ui.form .five.fields > .fields, .ui.form:not(.unstackable) .five.fields:not(.unstackable) > .fields,
.ui.form .five.fields > .field, .ui.form:not(.unstackable) .five.fields:not(.unstackable) > .field,
.ui.form .fields > .two.wide.field, .ui.form:not(.unstackable) .fields:not(.unstackable) > .two.wide.field,
.ui.form .fields > .three.wide.field, .ui.form:not(.unstackable) .fields:not(.unstackable) > .three.wide.field,
.ui.form .fields > .four.wide.field, .ui.form:not(.unstackable) .fields:not(.unstackable) > .four.wide.field,
.ui.form .fields > .five.wide.field, .ui.form:not(.unstackable) .fields:not(.unstackable) > .five.wide.field,
.ui.form .fields > .six.wide.field, .ui.form:not(.unstackable) .fields:not(.unstackable) > .six.wide.field,
.ui.form .fields > .seven.wide.field, .ui.form:not(.unstackable) .fields:not(.unstackable) > .seven.wide.field,
.ui.form .fields > .eight.wide.field, .ui.form:not(.unstackable) .fields:not(.unstackable) > .eight.wide.field,
.ui.form .fields > .nine.wide.field, .ui.form:not(.unstackable) .fields:not(.unstackable) > .nine.wide.field,
.ui.form .fields > .ten.wide.field, .ui.form:not(.unstackable) .fields:not(.unstackable) > .ten.wide.field,
.ui.form .fields > .eleven.wide.field, .ui.form:not(.unstackable) .fields:not(.unstackable) > .eleven.wide.field,
.ui.form .fields > .twelve.wide.field, .ui.form:not(.unstackable) .fields:not(.unstackable) > .twelve.wide.field,
.ui.form .fields > .thirteen.wide.field, .ui.form:not(.unstackable) .fields:not(.unstackable) > .thirteen.wide.field,
.ui.form .fields > .fourteen.wide.field, .ui.form:not(.unstackable) .fields:not(.unstackable) > .fourteen.wide.field,
.ui.form .fields > .fifteen.wide.field, .ui.form:not(.unstackable) .fields:not(.unstackable) > .fifteen.wide.field,
.ui.form .fields > .sixteen.wide.field { .ui.form:not(.unstackable) .fields:not(.unstackable) > .sixteen.wide.field {
width: 100% !important; width: 100% !important;
} }
.ui.form .fields { .ui.form .fields {

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI - Form Validation * # Semantic UI 2.4.1 - Form Validation
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -10,7 +10,7 @@
;(function ($, window, document, undefined) { ;(function ($, window, document, undefined) {
"use strict"; 'use strict';
window = (typeof window != 'undefined' && window.Math == Math) window = (typeof window != 'undefined' && window.Math == Math)
? window ? window
@ -252,6 +252,17 @@ $.fn.form = function(parameters) {
bracketedRule: function(rule) { bracketedRule: function(rule) {
return (rule.type && rule.type.match(settings.regExp.bracket)); 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) { empty: function($field) {
if(!$field || $field.length === 0) { if(!$field || $field.length === 0) {
return true; return true;
@ -347,7 +358,7 @@ $.fn.form = function(parameters) {
module.validate.field( validationRules ); module.validate.field( validationRules );
} }
} }
else if(settings.on == 'blur' || settings.on == 'change') { else if(settings.on == 'blur') {
if(validationRules) { if(validationRules) {
module.validate.field( validationRules ); module.validate.field( validationRules );
} }
@ -403,20 +414,37 @@ $.fn.form = function(parameters) {
: 'keyup' : '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) { prompt: function(rule, field) {
var var
ruleName = module.get.ruleName(rule), ruleName = module.get.ruleName(rule),
ancillary = module.get.ancillaryValue(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), requiresValue = (prompt.search('{value}') !== -1),
requiresName = (prompt.search('{name}') !== -1), requiresName = (prompt.search('{name}') !== -1),
$label, $label,
$field,
name name
; ;
if(requiresName || requiresValue) {
$field = module.get.field(field.identifier);
}
if(requiresValue) { if(requiresValue) {
prompt = prompt.replace('{value}', $field.val()); prompt = prompt.replace('{value}', $field.val());
} }
@ -453,23 +481,9 @@ $.fn.form = function(parameters) {
} }
else { else {
// 2.x // 2.x
if(parameters.fields) { if(parameters.fields && module.is.shorthandFields(parameters.fields)) {
ruleKeys = Object.keys(parameters.fields); parameters.fields = module.get.fieldsFromShorthand(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 });
});
});
}
}
settings = $.extend(true, {}, $.fn.form.settings, parameters); settings = $.extend(true, {}, $.fn.form.settings, parameters);
validation = $.extend({}, $.fn.form.settings.defaults, settings.fields); validation = $.extend({}, $.fn.form.settings.defaults, settings.fields);
module.verbose('Extending settings', validation, settings); module.verbose('Extending settings', validation, settings);
@ -589,8 +603,11 @@ $.fn.form = function(parameters) {
} }
else { else {
if(isRadio) { if(isRadio) {
if(isChecked) { if(values[name] === undefined || values[name] == false) {
values[name] = value; values[name] = (isChecked)
? value || true
: false
;
} }
} }
else if(isCheckbox) { else if(isCheckbox) {
@ -641,6 +658,44 @@ $.fn.form = function(parameters) {
}, },
add: { 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) { prompt: function(identifier, errors) {
var var
$field = module.get.field(identifier), $field = module.get.field(identifier),
@ -693,6 +748,51 @@ $.fn.form = function(parameters) {
}, },
remove: { 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) { prompt: function(identifier) {
var var
$field = module.get.field(identifier), $field = module.get.field(identifier),
@ -1163,10 +1263,10 @@ $.fn.form.settings = {
isExactly : '{name} must be exactly "{ruleValue}"', isExactly : '{name} must be exactly "{ruleValue}"',
not : '{name} cannot be set to "{ruleValue}"', not : '{name} cannot be set to "{ruleValue}"',
notExactly : '{name} cannot be set to exactly "{ruleValue}"', notExactly : '{name} cannot be set to exactly "{ruleValue}"',
contain : '{name} cannot contain "{ruleValue}"', contain : '{name} must contain "{ruleValue}"',
containExactly : '{name} cannot contain exactly "{ruleValue}"', containExactly : '{name} must contain exactly "{ruleValue}"',
doesntContain : '{name} must contain "{ruleValue}"', doesntContain : '{name} cannot contain "{ruleValue}"',
doesntContainExactly : '{name} must contain exactly "{ruleValue}"', doesntContainExactly : '{name} cannot contain exactly "{ruleValue}"',
minLength : '{name} must be at least {ruleValue} characters', minLength : '{name} must be at least {ruleValue} characters',
length : '{name} must be at least {ruleValue} characters', length : '{name} must be at least {ruleValue} characters',
exactLength : '{name} must be exactly {ruleValue} characters', exactLength : '{name} must be exactly {ruleValue} characters',
@ -1520,6 +1620,9 @@ $.fn.form.settings = {
return; return;
} }
// allow dashes in card
cardNumber = cardNumber.replace(/[\-]/g, '');
// verify card types // verify card types
if(requiredTypes) { if(requiredTypes) {
$.each(requiredTypes, function(index, type){ $.each(requiredTypes, function(index, type){

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Grid * # Semantic UI 2.4.1 - Grid
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -151,12 +151,13 @@
margin: 1rem 1rem; margin: 1rem 1rem;
} }
.ui.grid .column + .ui.vertical.divider { .ui.grid .column + .ui.vertical.divider {
height: calc(50% - 1rem ); height: calc(50% - (2rem / 2));
} }
/* Remove Border on Last Horizontal Segment */ /* Remove Border on Last Horizontal Segment */
.ui.grid > .row > .column:last-child > .horizontal.segment, .ui.grid > .row > .column:last-child > .horizontal.segment,
.ui.grid > .column:last-child > .horizontal.segment { .ui.grid > .column:last-child > .horizontal.segment {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
@ -345,6 +346,7 @@
/* Celled Page */ /* Celled Page */
.ui.celled.page.grid { .ui.celled.page.grid {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
@ -1042,6 +1044,7 @@
.ui.divided.grid:not([class*="vertically divided"]) > .column:not(.row), .ui.divided.grid:not([class*="vertically divided"]) > .column:not(.row),
.ui.divided.grid:not([class*="vertically divided"]) > .row > .column { .ui.divided.grid:not([class*="vertically divided"]) > .row > .column {
-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); box-shadow: -1px 0px 0px 0px rgba(34, 36, 38, 0.15);
} }
@ -1061,6 +1064,7 @@
/* No divider on first column on row */ /* No divider on first column on row */
.ui.divided.grid:not([class*="vertically divided"]) > .column:first-child, .ui.divided.grid:not([class*="vertically divided"]) > .column:first-child,
.ui.divided.grid:not([class*="vertically divided"]) > .row > .column:first-child { .ui.divided.grid:not([class*="vertically divided"]) > .row > .column:first-child {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
@ -1071,9 +1075,11 @@
/* Divided Row */ /* Divided Row */
.ui.grid > .divided.row > .column { .ui.grid > .divided.row > .column {
-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); box-shadow: -1px 0px 0px 0px rgba(34, 36, 38, 0.15);
} }
.ui.grid > .divided.row > .column:first-child { .ui.grid > .divided.row > .column:first-child {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
@ -1089,6 +1095,7 @@
width: calc(100% - 2rem); width: calc(100% - 2rem);
height: 1px; height: 1px;
margin: 0% 1rem; margin: 0% 1rem;
-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); box-shadow: 0px -1px 0px 0px rgba(34, 36, 38, 0.15);
} }
@ -1100,19 +1107,23 @@
/* First Row Vertically Divided */ /* First Row Vertically Divided */
.ui[class*="vertically divided"].grid > .row:first-child:before { .ui[class*="vertically divided"].grid > .row:first-child:before {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
/* Inverted Divided */ /* Inverted Divided */
.ui.inverted.divided.grid:not([class*="vertically divided"]) > .column:not(.row), .ui.inverted.divided.grid:not([class*="vertically divided"]) > .column:not(.row),
.ui.inverted.divided.grid:not([class*="vertically divided"]) > .row > .column { .ui.inverted.divided.grid:not([class*="vertically divided"]) > .row > .column {
-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); 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"]) > .column:not(.row):first-child,
.ui.inverted.divided.grid:not([class*="vertically divided"]) > .row > .column:first-child { .ui.inverted.divided.grid:not([class*="vertically divided"]) > .row > .column:first-child {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
.ui.inverted[class*="vertically divided"].grid > .row:before { .ui.inverted[class*="vertically divided"].grid > .row:before {
-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); box-shadow: 0px -1px 0px 0px rgba(255, 255, 255, 0.1);
} }
@ -1123,8 +1134,8 @@
width: calc(100% - 3rem); width: calc(100% - 3rem);
} }
.ui[class*="very relaxed"][class*="vertically divided"].grid > .row:before { .ui[class*="very relaxed"][class*="vertically divided"].grid > .row:before {
margin-left: 5rem; margin-left: 2.5rem;
margin-right: 5rem; margin-right: 2.5rem;
width: calc(100% - 5rem); width: calc(100% - 5rem);
} }
@ -1135,20 +1146,24 @@
.ui.celled.grid { .ui.celled.grid {
width: 100%; width: 100%;
margin: 1em 0em; margin: 1em 0em;
-webkit-box-shadow: 0px 0px 0px 1px #D4D4D5;
box-shadow: 0px 0px 0px 1px #D4D4D5; box-shadow: 0px 0px 0px 1px #D4D4D5;
} }
.ui.celled.grid > .row { .ui.celled.grid > .row {
width: 100% !important; width: 100% !important;
margin: 0em; margin: 0em;
padding: 0em; padding: 0em;
-webkit-box-shadow: 0px -1px 0px 0px #D4D4D5;
box-shadow: 0px -1px 0px 0px #D4D4D5; box-shadow: 0px -1px 0px 0px #D4D4D5;
} }
.ui.celled.grid > .column:not(.row), .ui.celled.grid > .column:not(.row),
.ui.celled.grid > .row > .column { .ui.celled.grid > .row > .column {
-webkit-box-shadow: -1px 0px 0px 0px #D4D4D5;
box-shadow: -1px 0px 0px 0px #D4D4D5; box-shadow: -1px 0px 0px 0px #D4D4D5;
} }
.ui.celled.grid > .column:first-child, .ui.celled.grid > .column:first-child,
.ui.celled.grid > .row > .column:first-child { .ui.celled.grid > .row > .column:first-child {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
.ui.celled.grid > .column:not(.row), .ui.celled.grid > .column:not(.row),
@ -1166,13 +1181,16 @@
/* Internally Celled */ /* Internally Celled */
.ui[class*="internally celled"].grid { .ui[class*="internally celled"].grid {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
margin: 0em; margin: 0em;
} }
.ui[class*="internally celled"].grid > .row:first-child { .ui[class*="internally celled"].grid > .row:first-child {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
.ui[class*="internally celled"].grid > .row > .column:first-child { .ui[class*="internally celled"].grid > .row > .column:first-child {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
@ -1208,7 +1226,6 @@
flex-direction: column; flex-direction: column;
vertical-align: middle; vertical-align: middle;
-ms-flex-item-align: center !important; -ms-flex-item-align: center !important;
-ms-grid-row-align: center !important;
align-self: center !important; align-self: center !important;
} }
@ -1266,7 +1283,6 @@
.ui.grid > .row > [class*="left aligned"].column.column { .ui.grid > .row > [class*="left aligned"].column.column {
text-align: left; text-align: left;
-ms-flex-item-align: inherit; -ms-flex-item-align: inherit;
-ms-grid-row-align: inherit;
align-self: inherit; align-self: inherit;
} }
@ -1278,7 +1294,6 @@
.ui.grid > .row > [class*="center aligned"].column.column { .ui.grid > .row > [class*="center aligned"].column.column {
text-align: center; text-align: center;
-ms-flex-item-align: inherit; -ms-flex-item-align: inherit;
-ms-grid-row-align: inherit;
align-self: inherit; align-self: inherit;
} }
.ui[class*="center aligned"].grid { .ui[class*="center aligned"].grid {
@ -1295,7 +1310,6 @@
.ui.grid > .row > [class*="right aligned"].column.column { .ui.grid > .row > [class*="right aligned"].column.column {
text-align: right; text-align: right;
-ms-flex-item-align: inherit; -ms-flex-item-align: inherit;
-ms-grid-row-align: inherit;
align-self: inherit; align-self: inherit;
} }
@ -1484,26 +1498,32 @@
/* Divided Reversed */ /* 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"]) > .column:first-child,
.ui[class*="mobile reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:first-child { .ui[class*="mobile reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:first-child {
-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); 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"]) > .column:last-child,
.ui[class*="mobile reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:last-child { .ui[class*="mobile reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:last-child {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
/* Vertically Divided Reversed */ /* Vertically Divided Reversed */
.ui.grid[class*="vertically divided"][class*="mobile vertically reversed"] > .row:first-child:before { .ui.grid[class*="vertically divided"][class*="mobile vertically reversed"] > .row:first-child:before {
-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); 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 { .ui.grid[class*="vertically divided"][class*="mobile vertically reversed"] > .row:last-child:before {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
/* Celled Reversed */ /* Celled Reversed */
.ui[class*="mobile reversed"].celled.grid > .row > .column:first-child { .ui[class*="mobile reversed"].celled.grid > .row > .column:first-child {
-webkit-box-shadow: -1px 0px 0px 0px #D4D4D5;
box-shadow: -1px 0px 0px 0px #D4D4D5; box-shadow: -1px 0px 0px 0px #D4D4D5;
} }
.ui[class*="mobile reversed"].celled.grid > .row > .column:last-child { .ui[class*="mobile reversed"].celled.grid > .row > .column:last-child {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
} }
@ -1528,26 +1548,32 @@
/* Divided Reversed */ /* 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"]) > .column:first-child,
.ui[class*="tablet reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:first-child { .ui[class*="tablet reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:first-child {
-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); 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"]) > .column:last-child,
.ui[class*="tablet reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:last-child { .ui[class*="tablet reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:last-child {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
/* Vertically Divided Reversed */ /* Vertically Divided Reversed */
.ui.grid[class*="vertically divided"][class*="tablet vertically reversed"] > .row:first-child:before { .ui.grid[class*="vertically divided"][class*="tablet vertically reversed"] > .row:first-child:before {
-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); 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 { .ui.grid[class*="vertically divided"][class*="tablet vertically reversed"] > .row:last-child:before {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
/* Celled Reversed */ /* Celled Reversed */
.ui[class*="tablet reversed"].celled.grid > .row > .column:first-child { .ui[class*="tablet reversed"].celled.grid > .row > .column:first-child {
-webkit-box-shadow: -1px 0px 0px 0px #D4D4D5;
box-shadow: -1px 0px 0px 0px #D4D4D5; box-shadow: -1px 0px 0px 0px #D4D4D5;
} }
.ui[class*="tablet reversed"].celled.grid > .row > .column:last-child { .ui[class*="tablet reversed"].celled.grid > .row > .column:last-child {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
} }
@ -1572,26 +1598,32 @@
/* Divided Reversed */ /* 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"]) > .column:first-child,
.ui[class*="computer reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:first-child { .ui[class*="computer reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:first-child {
-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); 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"]) > .column:last-child,
.ui[class*="computer reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:last-child { .ui[class*="computer reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:last-child {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
/* Vertically Divided Reversed */ /* Vertically Divided Reversed */
.ui.grid[class*="vertically divided"][class*="computer vertically reversed"] > .row:first-child:before { .ui.grid[class*="vertically divided"][class*="computer vertically reversed"] > .row:first-child:before {
-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); 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 { .ui.grid[class*="vertically divided"][class*="computer vertically reversed"] > .row:last-child:before {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
/* Celled Reversed */ /* Celled Reversed */
.ui[class*="computer reversed"].celled.grid > .row > .column:first-child { .ui[class*="computer reversed"].celled.grid > .row > .column:first-child {
-webkit-box-shadow: -1px 0px 0px 0px #D4D4D5;
box-shadow: -1px 0px 0px 0px #D4D4D5; box-shadow: -1px 0px 0px 0px #D4D4D5;
} }
.ui[class*="computer reversed"].celled.grid > .row > .column:last-child { .ui[class*="computer reversed"].celled.grid > .row > .column:last-child {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
} }
@ -1616,6 +1648,7 @@
display: inline-block !important; display: inline-block !important;
padding-top: 1rem !important; padding-top: 1rem !important;
padding-bottom: 1rem !important; padding-bottom: 1rem !important;
-webkit-box-shadow: none !important;
box-shadow: none !important; box-shadow: none !important;
margin: 0em; margin: 0em;
} }
@ -1708,6 +1741,7 @@
padding-top: 1rem !important; padding-top: 1rem !important;
padding-bottom: 1rem !important; padding-bottom: 1rem !important;
margin: 0em !important; margin: 0em !important;
-webkit-box-shadow: none !important;
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 > .row > .column,
@ -1806,6 +1840,7 @@
.ui.grid > .stackable.stackable.row > .column { .ui.grid > .stackable.stackable.row > .column {
width: 100% !important; width: 100% !important;
margin: 0em 0em !important; margin: 0em 0em !important;
-webkit-box-shadow: none !important;
box-shadow: none !important; box-shadow: none !important;
padding: 1rem 1rem !important; padding: 1rem 1rem !important;
} }
@ -1846,11 +1881,13 @@
.ui.stackable.celled.grid > .row > .column, .ui.stackable.celled.grid > .row > .column,
.ui.stackable.divided:not(.vertically).grid > .row > .column { .ui.stackable.divided:not(.vertically).grid > .row > .column {
border-top: 1px solid rgba(34, 36, 38, 0.15); border-top: 1px solid rgba(34, 36, 38, 0.15);
-webkit-box-shadow: none !important;
box-shadow: none !important; box-shadow: none !important;
padding-top: 2rem !important; padding-top: 2rem !important;
padding-bottom: 2rem !important; padding-bottom: 2rem !important;
} }
.ui.stackable.celled.grid > .row { .ui.stackable.celled.grid > .row {
-webkit-box-shadow: none !important;
box-shadow: none !important; box-shadow: none !important;
} }
.ui.stackable.divided:not(.vertically).grid > .column:not(.row), .ui.stackable.divided:not(.vertically).grid > .column:not(.row),

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Header * # Semantic UI 2.4.1 - Header
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -54,7 +54,7 @@
display: table-cell; display: table-cell;
opacity: 1; opacity: 1;
font-size: 1.5em; font-size: 1.5em;
padding-top: 0.14285714em; padding-top: 0em;
vertical-align: middle; vertical-align: middle;
} }
@ -301,14 +301,18 @@ h5.ui.header .sub.header {
color: rgba(255, 255, 255, 0.8); color: rgba(255, 255, 255, 0.8);
} }
.ui.inverted.attached.header { .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 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
background: #545454 linear-gradient(transparent, rgba(0, 0, 0, 0.05)); background: #545454 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
border-color: transparent; border-color: transparent;
} }
.ui.inverted.block.header { .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 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
background: #545454 linear-gradient(transparent, rgba(0, 0, 0, 0.05)); background: #545454 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
.ui.inverted.block.header { .ui.inverted.block.header {
@ -632,6 +636,7 @@ a.ui.inverted.grey.header:hover {
.ui.block.header { .ui.block.header {
background: #F3F4F5; background: #F3F4F5;
padding: 0.78571429rem 1rem; padding: 0.78571429rem 1rem;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
border: 1px solid #D4D4D5; border: 1px solid #D4D4D5;
border-radius: 0.28571429rem; border-radius: 0.28571429rem;
@ -661,6 +666,7 @@ a.ui.inverted.grey.header:hover {
padding: 0.78571429rem 1rem; padding: 0.78571429rem 1rem;
margin-left: -1px; margin-left: -1px;
margin-right: -1px; margin-right: -1px;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
border: 1px solid #D4D4D5; border: 1px solid #D4D4D5;
} }

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Image * # Semantic UI 2.4.1 - Image
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -44,6 +44,10 @@ img.ui.image {
display: block; display: block;
visibility: hidden; visibility: hidden;
} }
.ui.images > .hidden.transition {
display: inline-block;
visibility: hidden;
}
.ui.disabled.images, .ui.disabled.images,
.ui.disabled.image { .ui.disabled.image {
cursor: default; cursor: default;
@ -287,8 +291,8 @@ img.ui.bordered.image {
margin: 0em -0.25rem 0rem; margin: 0em -0.25rem 0rem;
} }
.ui.images .image, .ui.images .image,
.ui.images img, .ui.images > img,
.ui.images svg { .ui.images > svg {
display: inline-block; display: inline-block;
margin: 0em 0.25rem 0.5rem; margin: 0em 0.25rem 0.5rem;
} }

View 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}

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Input * # Semantic UI 2.4.1 - Input
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -27,7 +27,7 @@
display: inline-flex; display: inline-flex;
color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87);
} }
.ui.input input { .ui.input > input {
margin: 0em; margin: 0em;
max-width: 100%; max-width: 100%;
-webkit-box-flex: 1; -webkit-box-flex: 1;
@ -43,8 +43,11 @@
border: 1px solid rgba(34, 36, 38, 0.15); border: 1px solid rgba(34, 36, 38, 0.15);
color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87);
border-radius: 0.28571429rem; 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; transition: box-shadow 0.1s ease, border-color 0.1s ease;
transition: box-shadow 0.1s ease, border-color 0.1s ease, -webkit-box-shadow 0.1s ease;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
@ -54,13 +57,13 @@
/* browsers require these rules separate */ /* browsers require these rules separate */
.ui.input input::-webkit-input-placeholder { .ui.input > input::-webkit-input-placeholder {
color: rgba(191, 191, 191, 0.87); color: rgba(191, 191, 191, 0.87);
} }
.ui.input input::-moz-placeholder { .ui.input > input::-moz-placeholder {
color: rgba(191, 191, 191, 0.87); 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); color: rgba(191, 191, 191, 0.87);
} }
@ -75,11 +78,11 @@
---------------------*/ ---------------------*/
.ui.disabled.input, .ui.disabled.input,
.ui.input input[disabled] { .ui.input:not(.disabled) input[disabled] {
opacity: 0.45; opacity: 0.45;
} }
.ui.disabled.input input, .ui.disabled.input > input,
.ui.input input[disabled] { .ui.input:not(.disabled) input[disabled] {
pointer-events: none; pointer-events: none;
} }
@ -87,11 +90,12 @@
Active Active
---------------------*/ ---------------------*/
.ui.input input:active, .ui.input > input:active,
.ui.input.down input { .ui.input.down input {
border-color: rgba(0, 0, 0, 0.3); border-color: rgba(0, 0, 0, 0.3);
background: #FAFAFA; background: #FAFAFA;
color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87);
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
@ -126,6 +130,7 @@
border-color: #767676 transparent transparent; border-color: #767676 transparent transparent;
border-style: solid; border-style: solid;
border-width: 0.2em; border-width: 0.2em;
-webkit-box-shadow: 0px 0px 0px 1px transparent;
box-shadow: 0px 0px 0px 1px transparent; box-shadow: 0px 0px 0px 1px transparent;
} }
@ -133,23 +138,24 @@
Focus Focus
---------------------*/ ---------------------*/
.ui.input.focus input, .ui.input.focus > input,
.ui.input input:focus { .ui.input > input:focus {
border-color: #85B7D9; border-color: #85B7D9;
background: #FFFFFF; background: #FFFFFF;
color: rgba(0, 0, 0, 0.8); color: rgba(0, 0, 0, 0.8);
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
.ui.input.focus input::-webkit-input-placeholder, .ui.input.focus > input::-webkit-input-placeholder,
.ui.input input:focus::-webkit-input-placeholder { .ui.input > input:focus::-webkit-input-placeholder {
color: rgba(115, 115, 115, 0.87); color: rgba(115, 115, 115, 0.87);
} }
.ui.input.focus input::-moz-placeholder, .ui.input.focus > input::-moz-placeholder,
.ui.input input:focus::-moz-placeholder { .ui.input > input:focus::-moz-placeholder {
color: rgba(115, 115, 115, 0.87); color: rgba(115, 115, 115, 0.87);
} }
.ui.input.focus input:-ms-input-placeholder, .ui.input.focus > input:-ms-input-placeholder,
.ui.input input:focus:-ms-input-placeholder { .ui.input > input:focus:-ms-input-placeholder {
color: rgba(115, 115, 115, 0.87); color: rgba(115, 115, 115, 0.87);
} }
@ -157,32 +163,33 @@
Error Error
---------------------*/ ---------------------*/
.ui.input.error input { .ui.input.error > input {
background-color: #FFF6F6; background-color: #FFF6F6;
border-color: #E0B4B4; border-color: #E0B4B4;
color: #9F3A38; color: #9F3A38;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
/* Error Placeholder */ /* Error Placeholder */
.ui.input.error input::-webkit-input-placeholder { .ui.input.error > input::-webkit-input-placeholder {
color: #e7bdbc; color: #e7bdbc;
} }
.ui.input.error input::-moz-placeholder { .ui.input.error > input::-moz-placeholder {
color: #e7bdbc; color: #e7bdbc;
} }
.ui.input.error input:-ms-input-placeholder { .ui.input.error > input:-ms-input-placeholder {
color: #e7bdbc !important; color: #e7bdbc !important;
} }
/* Focused Error Placeholder */ /* Focused Error Placeholder */
.ui.input.error input:focus::-webkit-input-placeholder { .ui.input.error > input:focus::-webkit-input-placeholder {
color: #da9796; color: #da9796;
} }
.ui.input.error input:focus::-moz-placeholder { .ui.input.error > input:focus::-moz-placeholder {
color: #da9796; color: #da9796;
} }
.ui.input.error input:focus:-ms-input-placeholder { .ui.input.error > input:focus:-ms-input-placeholder {
color: #da9796 !important; color: #da9796 !important;
} }
@ -196,11 +203,13 @@
Transparent Transparent
---------------------*/ ---------------------*/
.ui.transparent.input input { .ui.transparent.input > input {
border-color: transparent !important; border-color: transparent !important;
background-color: transparent !important; background-color: transparent !important;
padding: 0em !important; padding: 0em !important;
-webkit-box-shadow: none !important;
box-shadow: none !important; box-shadow: none !important;
border-radius: 0px !important;
} }
/* Transparent Icon */ /* Transparent Icon */
@ -220,16 +229,16 @@
.ui.transparent.inverted.input { .ui.transparent.inverted.input {
color: #FFFFFF; color: #FFFFFF;
} }
.ui.transparent.inverted.input input { .ui.transparent.inverted.input > input {
color: inherit; 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); 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); 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); color: rgba(255, 255, 255, 0.5);
} }
@ -255,7 +264,7 @@
.ui.icon.input > i.icon:not(.link) { .ui.icon.input > i.icon:not(.link) {
pointer-events: none; pointer-events: none;
} }
.ui.icon.input input { .ui.icon.input > input {
padding-right: 2.67142857em !important; padding-right: 2.67142857em !important;
} }
.ui.icon.input > i.icon:before, .ui.icon.input > i.icon:before,
@ -328,16 +337,16 @@
} }
/* Regular Label on Right */ /* Regular Label on Right */
.ui[class*="right labeled"].input input { .ui[class*="right labeled"].input > input {
border-top-right-radius: 0px !important; border-top-right-radius: 0px !important;
border-bottom-right-radius: 0px !important; border-bottom-right-radius: 0px !important;
border-right-color: transparent !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-top-left-radius: 0px;
border-bottom-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; border-right-color: #85B7D9 !important;
} }
@ -350,7 +359,7 @@
} }
/* Spacing with corner label */ /* 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; padding-right: 2.5em !important;
} }
.ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > input { .ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > input {
@ -361,7 +370,7 @@
} }
/* Left Labeled */ /* Left Labeled */
.ui[class*="left corner labeled"].labeled.input input { .ui[class*="left corner labeled"].labeled.input > input {
padding-left: 2.5em !important; padding-left: 2.5em !important;
} }
.ui[class*="left corner labeled"].icon.input > input { .ui[class*="left corner labeled"].icon.input > input {
@ -422,7 +431,7 @@
} }
/* Input Focus */ /* 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; border-right-color: #85B7D9 !important;
} }
@ -454,7 +463,7 @@
/* Standard */ /* Standard */
.ui.inverted.input input { .ui.inverted.input > input {
border: none; border: none;
} }

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Item * # Semantic UI 2.4.1 - Item
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -29,9 +29,12 @@
padding: 0em; padding: 0em;
border: none; border: none;
border-radius: 0rem; border-radius: 0rem;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
-webkit-transition: box-shadow 0.1s ease; -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;
transition: box-shadow 0.1s ease, -webkit-box-shadow 0.1s ease;
z-index: ''; z-index: '';
} }
.ui.items > .item a { .ui.items > .item a {
@ -86,7 +89,6 @@
padding: 0em; padding: 0em;
max-height: ''; max-height: '';
-ms-flex-item-align: top; -ms-flex-item-align: top;
-ms-grid-row-align: top;
align-self: top; align-self: top;
} }
.ui.items > .item > .image > img { .ui.items > .item > .image > img {
@ -112,6 +114,7 @@
background: none; background: none;
margin: 0em; margin: 0em;
padding: 0em; padding: 0em;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
font-size: 1em; font-size: 1em;
border: none; border: none;
@ -131,7 +134,6 @@
display: block; display: block;
margin-left: 0em; margin-left: 0em;
-ms-flex-item-align: top; -ms-flex-item-align: top;
-ms-grid-row-align: top;
align-self: top; align-self: top;
padding-left: 1.5em; padding-left: 1.5em;
} }
@ -165,7 +167,6 @@
.ui.items > .item .content img { .ui.items > .item .content img {
-ms-flex-item-align: middle; -ms-flex-item-align: middle;
-ms-grid-row-align: middle;
align-self: middle; align-self: middle;
width: ''; width: '';
} }
@ -306,6 +307,7 @@
top: 0em; top: 0em;
left: 0em; left: 0em;
color: rgba(0, 0, 0, 0.4); color: rgba(0, 0, 0, 0.4);
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
-webkit-transition: color 0.1s ease; -webkit-transition: color 0.1s ease;
transition: color 0.1s ease; transition: color 0.1s ease;
@ -393,7 +395,6 @@
} }
.ui.items > .item > .image + [class*="middle aligned"].content { .ui.items > .item > .image + [class*="middle aligned"].content {
-ms-flex-item-align: center; -ms-flex-item-align: center;
-ms-grid-row-align: center;
align-self: center; align-self: center;
} }
.ui.items > .item > .image + [class*="bottom aligned"].content { .ui.items > .item > .image + [class*="bottom aligned"].content {

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Label * # Semantic UI 2.4.1 - Label
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -150,6 +150,7 @@ a.ui.label {
background: #E8E8E8; background: #E8E8E8;
padding: 0.5833em 0.833em 0.5833em 0.5em; padding: 0.5833em 0.833em 0.5833em 0.5em;
border-radius: 0.28571429rem; border-radius: 0.28571429rem;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
.ui.image.label img { .ui.image.label img {
@ -205,6 +206,7 @@ a.ui.label {
background-color: #FFFFFF !important; background-color: #FFFFFF !important;
width: 0.5em; width: 0.5em;
height: 0.5em; height: 0.5em;
-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); box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, 0.3);
border-radius: 500rem; border-radius: 500rem;
} }
@ -349,7 +351,7 @@ a.ui.label {
} }
.ui.card .image > .ui.ribbon.label, .ui.card .image > .ui.ribbon.label,
.ui.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.card .image > .ui[class*="right ribbon"].label,
.ui.image > .ui[class*="right ribbon"].label { .ui.image > .ui[class*="right ribbon"].label {
@ -534,7 +536,7 @@ a.ui.red.label:hover {
/* Basic */ /* Basic */
.ui.basic.red.label { .ui.basic.red.label {
background-color: #FFFFFF !important; background: none #FFFFFF !important;
color: #DB2828 !important; color: #DB2828 !important;
border-color: #DB2828 !important; border-color: #DB2828 !important;
} }
@ -575,7 +577,7 @@ a.ui.orange.label:hover {
/* Basic */ /* Basic */
.ui.basic.orange.label { .ui.basic.orange.label {
background-color: #FFFFFF !important; background: none #FFFFFF !important;
color: #F2711C !important; color: #F2711C !important;
border-color: #F2711C !important; border-color: #F2711C !important;
} }
@ -616,7 +618,7 @@ a.ui.yellow.label:hover {
/* Basic */ /* Basic */
.ui.basic.yellow.label { .ui.basic.yellow.label {
background-color: #FFFFFF !important; background: none #FFFFFF !important;
color: #FBBD08 !important; color: #FBBD08 !important;
border-color: #FBBD08 !important; border-color: #FBBD08 !important;
} }
@ -657,7 +659,7 @@ a.ui.olive.label:hover {
/* Basic */ /* Basic */
.ui.basic.olive.label { .ui.basic.olive.label {
background-color: #FFFFFF !important; background: none #FFFFFF !important;
color: #B5CC18 !important; color: #B5CC18 !important;
border-color: #B5CC18 !important; border-color: #B5CC18 !important;
} }
@ -698,7 +700,7 @@ a.ui.green.label:hover {
/* Basic */ /* Basic */
.ui.basic.green.label { .ui.basic.green.label {
background-color: #FFFFFF !important; background: none #FFFFFF !important;
color: #21BA45 !important; color: #21BA45 !important;
border-color: #21BA45 !important; border-color: #21BA45 !important;
} }
@ -739,7 +741,7 @@ a.ui.teal.label:hover {
/* Basic */ /* Basic */
.ui.basic.teal.label { .ui.basic.teal.label {
background-color: #FFFFFF !important; background: none #FFFFFF !important;
color: #00B5AD !important; color: #00B5AD !important;
border-color: #00B5AD !important; border-color: #00B5AD !important;
} }
@ -780,7 +782,7 @@ a.ui.blue.label:hover {
/* Basic */ /* Basic */
.ui.basic.blue.label { .ui.basic.blue.label {
background-color: #FFFFFF !important; background: none #FFFFFF !important;
color: #2185D0 !important; color: #2185D0 !important;
border-color: #2185D0 !important; border-color: #2185D0 !important;
} }
@ -821,7 +823,7 @@ a.ui.violet.label:hover {
/* Basic */ /* Basic */
.ui.basic.violet.label { .ui.basic.violet.label {
background-color: #FFFFFF !important; background: none #FFFFFF !important;
color: #6435C9 !important; color: #6435C9 !important;
border-color: #6435C9 !important; border-color: #6435C9 !important;
} }
@ -862,7 +864,7 @@ a.ui.purple.label:hover {
/* Basic */ /* Basic */
.ui.basic.purple.label { .ui.basic.purple.label {
background-color: #FFFFFF !important; background: none #FFFFFF !important;
color: #A333C8 !important; color: #A333C8 !important;
border-color: #A333C8 !important; border-color: #A333C8 !important;
} }
@ -903,7 +905,7 @@ a.ui.pink.label:hover {
/* Basic */ /* Basic */
.ui.basic.pink.label { .ui.basic.pink.label {
background-color: #FFFFFF !important; background: none #FFFFFF !important;
color: #E03997 !important; color: #E03997 !important;
border-color: #E03997 !important; border-color: #E03997 !important;
} }
@ -944,7 +946,7 @@ a.ui.brown.label:hover {
/* Basic */ /* Basic */
.ui.basic.brown.label { .ui.basic.brown.label {
background-color: #FFFFFF !important; background: none #FFFFFF !important;
color: #A5673F !important; color: #A5673F !important;
border-color: #A5673F !important; border-color: #A5673F !important;
} }
@ -985,7 +987,7 @@ a.ui.grey.label:hover {
/* Basic */ /* Basic */
.ui.basic.grey.label { .ui.basic.grey.label {
background-color: #FFFFFF !important; background: none #FFFFFF !important;
color: #767676 !important; color: #767676 !important;
border-color: #767676 !important; border-color: #767676 !important;
} }
@ -1026,7 +1028,7 @@ a.ui.black.label:hover {
/* Basic */ /* Basic */
.ui.basic.black.label { .ui.basic.black.label {
background-color: #FFFFFF !important; background: none #FFFFFF !important;
color: #1B1C1D !important; color: #1B1C1D !important;
border-color: #1B1C1D !important; border-color: #1B1C1D !important;
} }
@ -1045,6 +1047,7 @@ a.ui.basic.black.label:hover {
background: none #FFFFFF; background: none #FFFFFF;
border: 1px solid rgba(34, 36, 38, 0.15); border: 1px solid rgba(34, 36, 38, 0.15);
color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87);
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
@ -1053,7 +1056,9 @@ a.ui.basic.label:hover {
text-decoration: none; text-decoration: none;
background: none #FFFFFF; background: none #FFFFFF;
color: #1e70bf; color: #1e70bf;
-webkit-box-shadow: 1px solid rgba(34, 36, 38, 0.15);
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; box-shadow: none;
} }
@ -1069,6 +1074,7 @@ a.ui.basic.label:hover {
.ui.label.fluid, .ui.label.fluid,
.ui.fluid.labels > .label { .ui.fluid.labels > .label {
width: 100%; width: 100%;
-webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
} }

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - List * # Semantic UI 2.4.1 - List
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -96,7 +96,7 @@ ol.ui.list ol li,
.ui.list > .item > i.icon { .ui.list > .item > i.icon {
display: table-cell; display: table-cell;
margin: 0em; margin: 0em;
padding-top: 0.07142857em; padding-top: 0em;
padding-right: 0.28571429em; padding-right: 0.28571429em;
vertical-align: top; vertical-align: top;
-webkit-transition: color 0.1s ease; -webkit-transition: color 0.1s ease;
@ -141,12 +141,14 @@ ol.ui.list ol li,
.ui.list > .item > .image + .content, .ui.list > .item > .image + .content,
.ui.list > .item > .icon + .content { .ui.list > .item > .icon + .content {
display: table-cell; display: table-cell;
width: 100%;
padding: 0em 0em 0em 0.5em; padding: 0em 0em 0em 0.5em;
vertical-align: top; vertical-align: top;
} }
.ui.list .list > .item > img.image + .content, .ui.list .list > .item > img.image + .content,
.ui.list > .item > img.image + .content { .ui.list > .item > img.image + .content {
display: inline-block; display: inline-block;
width: auto;
} }
.ui.list .list > .item > .content > .list, .ui.list .list > .item > .content > .list,
.ui.list > .item > .content > .list { .ui.list > .item > .content > .list {
@ -408,16 +410,16 @@ ol.ui.list ol li,
-webkit-transition: 0.1s color ease; -webkit-transition: 0.1s color ease;
transition: 0.1s color ease; transition: 0.1s color ease;
} }
.ui.link.list a.item:hover, .ui.link.list.list a.item:hover,
.ui.link.list .item a:not(.ui):hover { .ui.link.list.list .item a:not(.ui):hover {
color: rgba(0, 0, 0, 0.8); color: rgba(0, 0, 0, 0.8);
} }
.ui.link.list a.item:active, .ui.link.list.list a.item:active,
.ui.link.list .item a:not(.ui):active { .ui.link.list.list .item a:not(.ui):active {
color: rgba(0, 0, 0, 0.9); color: rgba(0, 0, 0, 0.9);
} }
.ui.link.list .active.item, .ui.link.list.list .active.item,
.ui.link.list .active.item a:not(.ui) { .ui.link.list.list .active.item a:not(.ui) {
color: rgba(0, 0, 0, 0.95); color: rgba(0, 0, 0, 0.95);
} }
@ -427,16 +429,16 @@ ol.ui.list ol li,
.ui.inverted.link.list .item a:not(.ui) { .ui.inverted.link.list .item a:not(.ui) {
color: rgba(255, 255, 255, 0.5); color: rgba(255, 255, 255, 0.5);
} }
.ui.inverted.link.list a.item:hover, .ui.inverted.link.list.list a.item:hover,
.ui.inverted.link.list .item a:not(.ui):hover { .ui.inverted.link.list.list .item a:not(.ui):hover {
color: #ffffff; color: #ffffff;
} }
.ui.inverted.link.list a.item:active, .ui.inverted.link.list.list a.item:active,
.ui.inverted.link.list .item a:not(.ui):active { .ui.inverted.link.list.list .item a:not(.ui):active {
color: #ffffff; color: #ffffff;
} }
.ui.inverted.link.list a.active.item, .ui.inverted.link.list.list a.active.item,
.ui.inverted.link.list .active.item a:not(.ui) { .ui.inverted.link.list.list .active.item a:not(.ui) {
color: #ffffff; color: #ffffff;
} }

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Loader * # Semantic UI 2.4.1 - Loader
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -55,6 +55,7 @@
border-color: #767676 transparent transparent; border-color: #767676 transparent transparent;
border-style: solid; border-style: solid;
border-width: 0.2em; border-width: 0.2em;
-webkit-box-shadow: 0px 0px 0px 1px transparent;
box-shadow: 0px 0px 0px 1px transparent; box-shadow: 0px 0px 0px 1px transparent;
} }
@ -185,7 +186,6 @@
*******************************/ *******************************/
.ui.indeterminate.loader:after { .ui.indeterminate.loader:after {
-webkit-animation-direction: reverse;
animation-direction: reverse; animation-direction: reverse;
-webkit-animation-duration: 1.2s; -webkit-animation-duration: 1.2s;
animation-duration: 1.2s; animation-duration: 1.2s;

View 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}

View file

@ -28,6 +28,7 @@
background: #FFFFFF; background: #FFFFFF;
font-weight: normal; font-weight: normal;
border: 1px solid rgba(34, 36, 38, 0.15); border: 1px solid 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); box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
border-radius: 0.28571429rem; border-radius: 0.28571429rem;
min-height: 2.85714286em; min-height: 2.85714286em;
@ -89,8 +90,10 @@
text-transform: none; text-transform: none;
color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87);
font-weight: normal; 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;
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 { .ui.menu > .item:first-child {
border-radius: 0.28571429rem 0px 0px 0.28571429rem; border-radius: 0.28571429rem 0px 0px 0.28571429rem;
@ -162,8 +165,8 @@
-webkit-box-align: inherit; -webkit-box-align: inherit;
-ms-flex-align: inherit; -ms-flex-align: inherit;
align-items: inherit; align-items: inherit;
-webkit-box-orient: vertical; -webkit-box-orient: inherit;
-webkit-box-direction: normal; -webkit-box-direction: inherit;
-ms-flex-direction: inherit; -ms-flex-direction: inherit;
flex-direction: inherit; flex-direction: inherit;
} }
@ -217,11 +220,11 @@
/* Menu */ /* Menu */
.ui.menu .dropdown.item .menu { .ui.menu .dropdown.item .menu {
left: 0px;
min-width: calc(100% - 1px); min-width: calc(100% - 1px);
border-radius: 0em 0em 0.28571429rem 0.28571429rem; border-radius: 0em 0em 0.28571429rem 0.28571429rem;
background: #FFFFFF; background: #FFFFFF;
margin: 0em 0px 0px; margin: 0em 0px 0px;
-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); box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.08);
-webkit-box-orient: vertical !important; -webkit-box-orient: vertical !important;
-webkit-box-direction: normal !important; -webkit-box-direction: normal !important;
@ -239,6 +242,7 @@
color: rgba(0, 0, 0, 0.87) !important; color: rgba(0, 0, 0, 0.87) !important;
text-transform: none !important; text-transform: none !important;
font-weight: normal !important; font-weight: normal !important;
-webkit-box-shadow: none !important;
box-shadow: none !important; box-shadow: none !important;
-webkit-transition: none !important; -webkit-transition: none !important;
transition: none !important; transition: none !important;
@ -263,7 +267,7 @@
display: inline-block; display: inline-block;
font-size: 1em !important; font-size: 1em !important;
float: none; float: none;
margin: 0em 0.75em 0em 0em; margin: 0em 0.75em 0em 0em !important;
} }
/* Secondary */ /* Secondary */
@ -294,6 +298,7 @@
left: 100%; left: 100%;
min-width: 0; min-width: 0;
margin: 0em 0em 0em 0em; margin: 0em 0em 0em 0em;
-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); box-shadow: 0 1px 3px 0px rgba(0, 0, 0, 0.08);
border-radius: 0em 0.28571429rem 0.28571429rem 0.28571429rem; border-radius: 0em 0.28571429rem 0.28571429rem 0.28571429rem;
} }
@ -308,6 +313,7 @@
border-bottom-right-radius: 0em; border-bottom-right-radius: 0em;
} }
.ui.vertical.menu .dropdown.active.item { .ui.vertical.menu .dropdown.active.item {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
@ -359,6 +365,16 @@
*******************************/ *******************************/
/*--------------
List
---------------*/
/* Menu divider shouldnt apply */
.ui.menu .list .item:before {
background: none !important;
}
/*-------------- /*--------------
Sidebar Sidebar
---------------*/ ---------------*/
@ -428,6 +444,7 @@
background: rgba(0, 0, 0, 0.05); background: rgba(0, 0, 0, 0.05);
color: rgba(0, 0, 0, 0.95); color: rgba(0, 0, 0, 0.95);
font-weight: normal; font-weight: normal;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
.ui.menu .active.item > i.icon { .ui.menu .active.item > i.icon {
@ -450,9 +467,9 @@
.ui.menu .item.disabled, .ui.menu .item.disabled,
.ui.menu .item.disabled:hover { .ui.menu .item.disabled:hover {
cursor: default; cursor: default !important;
background-color: transparent !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 */ /* Left Floated */
.ui.menu:not(.vertical) .left.item, .ui.menu:not(.vertical) .left.item,
.ui.menu:not(.vertical) .left.menu { .ui.menu:not(.vertical) :not(.dropdown) > .left.menu {
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
@ -502,6 +519,7 @@ Floated Menu / Item
-ms-flex-direction: column; -ms-flex-direction: column;
flex-direction: column; flex-direction: column;
background: #FFFFFF; background: #FFFFFF;
-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); box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
} }
@ -577,6 +595,7 @@ Floated Menu / Item
.ui.vertical.menu .active.item { .ui.vertical.menu .active.item {
background: rgba(0, 0, 0, 0.05); background: rgba(0, 0, 0, 0.05);
border-radius: 0em; border-radius: 0em;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
.ui.vertical.menu > .active.item:first-child { .ui.vertical.menu > .active.item:first-child {
@ -603,13 +622,14 @@ Floated Menu / Item
.ui.tabular.menu { .ui.tabular.menu {
border-radius: 0em; border-radius: 0em;
-webkit-box-shadow: none !important;
box-shadow: none !important; box-shadow: none !important;
border: none; border: none;
background: none transparent; background: none transparent;
border-bottom: 1px solid #D4D4D5; border-bottom: 1px solid #D4D4D5;
} }
.ui.tabular.fluid.menu { .ui.tabular.fluid.menu {
width: calc(100% + 2px ) !important; width: calc(100% + (1px * 2)) !important;
} }
.ui.tabular.menu .item { .ui.tabular.menu .item {
background: transparent; background: transparent;
@ -638,6 +658,7 @@ Floated Menu / Item
border-color: #D4D4D5; border-color: #D4D4D5;
font-weight: bold; font-weight: bold;
margin-bottom: -1px; margin-bottom: -1px;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
border-radius: 0.28571429rem 0.28571429rem 0px 0px !important; border-radius: 0.28571429rem 0.28571429rem 0px 0px !important;
} }
@ -653,7 +674,7 @@ Floated Menu / Item
} }
.top.attached.segment + .ui.bottom.tabular.menu { .top.attached.segment + .ui.bottom.tabular.menu {
position: relative; position: relative;
width: calc(100% + 2px ); width: calc(100% + (1px * 2));
left: -1px; left: -1px;
} }
@ -661,6 +682,7 @@ Floated Menu / Item
.ui.bottom.tabular.menu { .ui.bottom.tabular.menu {
background: none transparent; background: none transparent;
border-radius: 0em; border-radius: 0em;
-webkit-box-shadow: none !important;
box-shadow: none !important; box-shadow: none !important;
border-bottom: none; border-bottom: none;
border-top: 1px solid #D4D4D5; border-top: 1px solid #D4D4D5;
@ -684,6 +706,7 @@ Floated Menu / Item
.ui.vertical.tabular.menu { .ui.vertical.tabular.menu {
background: none transparent; background: none transparent;
border-radius: 0em; border-radius: 0em;
-webkit-box-shadow: none !important;
box-shadow: none !important; box-shadow: none !important;
border-bottom: none; border-bottom: none;
border-right: 1px solid #D4D4D5; border-right: 1px solid #D4D4D5;
@ -707,6 +730,7 @@ Floated Menu / Item
.ui.vertical.right.tabular.menu { .ui.vertical.right.tabular.menu {
background: none transparent; background: none transparent;
border-radius: 0em; border-radius: 0em;
-webkit-box-shadow: none !important;
box-shadow: none !important; box-shadow: none !important;
border-bottom: none; border-bottom: none;
border-right: none; border-right: none;
@ -770,6 +794,7 @@ Floated Menu / Item
padding-top: 0.92857143em; padding-top: 0.92857143em;
background-color: rgba(0, 0, 0, 0.05); background-color: rgba(0, 0, 0, 0.05);
color: rgba(0, 0, 0, 0.95); color: rgba(0, 0, 0, 0.95);
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
@ -783,14 +808,15 @@ Floated Menu / Item
margin-right: -0.35714286em; margin-right: -0.35714286em;
border-radius: 0em; border-radius: 0em;
border: none; border: none;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
/* Item */ /* Item */
.ui.secondary.menu .item { .ui.secondary.menu .item {
-ms-flex-item-align: center; -ms-flex-item-align: center;
-ms-grid-row-align: center;
align-self: center; align-self: center;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
border: none; border: none;
padding: 0.78571429em 0.92857143em; padding: 0.78571429em 0.92857143em;
@ -828,6 +854,7 @@ Floated Menu / Item
/* Active */ /* Active */
.ui.secondary.menu .active.item { .ui.secondary.menu .active.item {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
background: rgba(0, 0, 0, 0.05); background: rgba(0, 0, 0, 0.05);
color: rgba(0, 0, 0, 0.95); color: rgba(0, 0, 0, 0.95);
@ -836,6 +863,7 @@ Floated Menu / Item
/* Active Hover */ /* Active Hover */
.ui.secondary.menu .active.item:hover { .ui.secondary.menu .active.item:hover {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
background: rgba(0, 0, 0, 0.05); background: rgba(0, 0, 0, 0.05);
color: rgba(0, 0, 0, 0.95); color: rgba(0, 0, 0, 0.95);
@ -866,6 +894,7 @@ Floated Menu / Item
margin-right: 0em; margin-right: 0em;
} }
.ui.secondary.attached.menu { .ui.secondary.attached.menu {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
@ -928,6 +957,7 @@ Floated Menu / Item
color: rgba(0, 0, 0, 0.85) !important; color: rgba(0, 0, 0, 0.85) !important;
} }
.ui.secondary.pointing.menu .text.item { .ui.secondary.pointing.menu .text.item {
-webkit-box-shadow: none !important;
box-shadow: none !important; box-shadow: none !important;
} }
.ui.secondary.pointing.menu .item:after { .ui.secondary.pointing.menu .item:after {
@ -953,6 +983,7 @@ Floated Menu / Item
/* Active */ /* Active */
.ui.secondary.pointing.menu .active.item { .ui.secondary.pointing.menu .active.item {
background-color: transparent; background-color: transparent;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
border-color: #1B1C1D; border-color: #1B1C1D;
font-weight: bold; font-weight: bold;
@ -1025,15 +1056,16 @@ Floated Menu / Item
.ui.text.menu { .ui.text.menu {
background: none transparent; background: none transparent;
border-radius: 0px; border-radius: 0px;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
border: none; border: none;
margin: 1em -0.5em; margin: 1em -0.5em;
} }
.ui.text.menu .item { .ui.text.menu .item {
border-radius: 0px; border-radius: 0px;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
-ms-flex-item-align: center; -ms-flex-item-align: center;
-ms-grid-row-align: center;
align-self: center; align-self: center;
margin: 0em 0em; margin: 0em 0em;
padding: 0.35714286em 0.5em; padding: 0.35714286em 0.5em;
@ -1115,6 +1147,7 @@ Floated Menu / Item
.ui.text.menu .active.item { .ui.text.menu .active.item {
background-color: transparent; background-color: transparent;
border: none; border: none;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
font-weight: normal; font-weight: normal;
color: rgba(0, 0, 0, 0.95); color: rgba(0, 0, 0, 0.95);
@ -1128,9 +1161,11 @@ Floated Menu / Item
/* Disable Bariations */ /* Disable Bariations */
.ui.text.pointing.menu .active.item:after { .ui.text.pointing.menu .active.item:after {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
.ui.text.attached.menu { .ui.text.attached.menu {
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
@ -1266,6 +1301,13 @@ Floated Menu / Item
.ui.stackable.menu .right.item { .ui.stackable.menu .right.item {
margin-left: 0 !important; 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,6 +1385,7 @@ Floated Menu / Item
.ui.inverted.menu { .ui.inverted.menu {
border: 0px solid transparent; border: 0px solid transparent;
background: #1B1C1D; background: #1B1C1D;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
@ -1375,6 +1418,7 @@ Floated Menu / Item
.ui.inverted.menu .header.item { .ui.inverted.menu .header.item {
margin: 0em; margin: 0em;
background: transparent; background: transparent;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
@ -1420,6 +1464,7 @@ Floated Menu / Item
.ui.inverted.pointing.menu .active.item:after { .ui.inverted.pointing.menu .active.item:after {
background: #3D3E3F !important; background: #3D3E3F !important;
margin: 0em !important; margin: 0em !important;
-webkit-box-shadow: none !important;
box-shadow: none !important; box-shadow: none !important;
border: none !important; border: none !important;
} }
@ -1683,6 +1728,9 @@ Floated Menu / Item
-ms-flex-pack: center; -ms-flex-pack: center;
justify-content: center; justify-content: center;
} }
.ui.attached.item.menu {
margin: 0em -1px !important;
}
.ui.item.menu .item:last-child:before { .ui.item.menu .item:last-child:before {
display: none; display: none;
} }
@ -1705,13 +1753,13 @@ Floated Menu / Item
width: 14.285%; width: 14.285%;
} }
.ui.menu.eight.item .item { .ui.menu.eight.item .item {
width: 12.500%; width: 12.5%;
} }
.ui.menu.nine.item .item { .ui.menu.nine.item .item {
width: 11.11%; width: 11.11%;
} }
.ui.menu.ten.item .item { .ui.menu.ten.item .item {
width: 10.0%; width: 10%;
} }
.ui.menu.eleven.item .item { .ui.menu.eleven.item .item {
width: 9.09%; width: 9.09%;
@ -1866,8 +1914,9 @@ Floated Menu / Item
bottom: 0px; bottom: 0px;
border-radius: 0px; border-radius: 0px;
margin: 0em -1px; margin: 0em -1px;
width: calc(100% + 2px ); width: calc(100% - (-1px * 2));
max-width: calc(100% + 2px ); max-width: calc(100% - (-1px * 2));
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
.ui.attached + .ui.attached.menu:not(.top) { .ui.attached + .ui.attached.menu:not(.top) {
@ -1892,6 +1941,7 @@ Floated Menu / Item
margin-top: 0em; margin-top: 0em;
top: 0px; top: 0px;
margin-bottom: 1rem; margin-bottom: 1rem;
-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; box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), none;
border-radius: 0em 0em 0.28571429rem 0.28571429rem; border-radius: 0em 0em 0.28571429rem 0.28571429rem;
} }
@ -1967,18 +2017,18 @@ Floated Menu / Item
/* Huge */ /* Huge */
.ui.huge.menu { .ui.huge.menu {
font-size: 1.14285714rem; font-size: 1.21428571rem;
} }
.ui.huge.vertical.menu { .ui.huge.vertical.menu {
width: 20rem; width: 22rem;
} }
/* Big */ /* Big */
.ui.big.menu { .ui.big.menu {
font-size: 1.21428571rem; font-size: 1.14285714rem;
} }
.ui.big.vertical.menu { .ui.big.vertical.menu {
width: 22rem; width: 20rem;
} }
/* Massive */ /* Massive */

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Message * # Semantic UI 2.4.1 - Message
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -21,9 +21,12 @@
padding: 1em 1.5em; padding: 1em 1.5em;
line-height: 1.4285em; line-height: 1.4285em;
color: rgba(0, 0, 0, 0.87); 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;
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; border-radius: 0.28571429rem;
-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); 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 { .ui.message:first-child {
@ -174,6 +177,11 @@
.ui.compact.message { .ui.compact.message {
display: inline-block; display: inline-block;
} }
.ui.compact.icon.message {
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
}
/*-------------- /*--------------
Attached Attached
@ -182,6 +190,7 @@
.ui.attached.message { .ui.attached.message {
margin-bottom: -1px; margin-bottom: -1px;
border-radius: 0.28571429rem 0.28571429rem 0em 0em; border-radius: 0.28571429rem 0.28571429rem 0em 0em;
-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; box-shadow: 0em 0em 0em 1px rgba(34, 36, 38, 0.15) inset;
margin-left: -1px; margin-left: -1px;
margin-right: -1px; margin-right: -1px;
@ -193,6 +202,7 @@
.ui.bottom.attached.message { .ui.bottom.attached.message {
margin-top: -1px; margin-top: -1px;
border-radius: 0em 0em 0.28571429rem 0.28571429rem; border-radius: 0em 0em 0.28571429rem 0.28571429rem;
-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); 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) { .ui.bottom.attached.message:not(:last-child) {
@ -245,6 +255,7 @@
---------------*/ ---------------*/
.ui.floating.message { .ui.floating.message {
-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); 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,6 +280,7 @@
} }
.ui.positive.message, .ui.positive.message,
.ui.attached.positive.message { .ui.attached.positive.message {
-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); box-shadow: 0px 0px 0px 1px #A3C293 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
} }
.ui.positive.message .header { .ui.positive.message .header {
@ -282,6 +294,7 @@
} }
.ui.negative.message, .ui.negative.message,
.ui.attached.negative.message { .ui.attached.negative.message {
-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); box-shadow: 0px 0px 0px 1px #E0B4B4 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
} }
.ui.negative.message .header { .ui.negative.message .header {
@ -295,6 +308,7 @@
} }
.ui.info.message, .ui.info.message,
.ui.attached.info.message { .ui.attached.info.message {
-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); box-shadow: 0px 0px 0px 1px #A9D5DE inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
} }
.ui.info.message .header { .ui.info.message .header {
@ -308,6 +322,7 @@
} }
.ui.warning.message, .ui.warning.message,
.ui.attached.warning.message { .ui.attached.warning.message {
-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); box-shadow: 0px 0px 0px 1px #C9BA9B inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
} }
.ui.warning.message .header { .ui.warning.message .header {
@ -321,6 +336,7 @@
} }
.ui.error.message, .ui.error.message,
.ui.attached.error.message { .ui.attached.error.message {
-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); box-shadow: 0px 0px 0px 1px #E0B4B4 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
} }
.ui.error.message .header { .ui.error.message .header {
@ -334,6 +350,7 @@
} }
.ui.success.message, .ui.success.message,
.ui.attached.success.message { .ui.attached.success.message {
-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); box-shadow: 0px 0px 0px 1px #A3C293 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
} }
.ui.success.message .header { .ui.success.message .header {
@ -349,6 +366,7 @@
.ui.red.message { .ui.red.message {
background-color: #FFE8E6; background-color: #FFE8E6;
color: #DB2828; color: #DB2828;
-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); box-shadow: 0px 0px 0px 1px #DB2828 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
} }
.ui.red.message .header { .ui.red.message .header {
@ -357,6 +375,7 @@
.ui.orange.message { .ui.orange.message {
background-color: #FFEDDE; background-color: #FFEDDE;
color: #F2711C; color: #F2711C;
-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); box-shadow: 0px 0px 0px 1px #F2711C inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
} }
.ui.orange.message .header { .ui.orange.message .header {
@ -365,6 +384,7 @@
.ui.yellow.message { .ui.yellow.message {
background-color: #FFF8DB; background-color: #FFF8DB;
color: #B58105; color: #B58105;
-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); box-shadow: 0px 0px 0px 1px #B58105 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
} }
.ui.yellow.message .header { .ui.yellow.message .header {
@ -373,6 +393,7 @@
.ui.olive.message { .ui.olive.message {
background-color: #FBFDEF; background-color: #FBFDEF;
color: #8ABC1E; color: #8ABC1E;
-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); box-shadow: 0px 0px 0px 1px #8ABC1E inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
} }
.ui.olive.message .header { .ui.olive.message .header {
@ -381,6 +402,7 @@
.ui.green.message { .ui.green.message {
background-color: #E5F9E7; background-color: #E5F9E7;
color: #1EBC30; color: #1EBC30;
-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); box-shadow: 0px 0px 0px 1px #1EBC30 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
} }
.ui.green.message .header { .ui.green.message .header {
@ -389,6 +411,7 @@
.ui.teal.message { .ui.teal.message {
background-color: #E1F7F7; background-color: #E1F7F7;
color: #10A3A3; color: #10A3A3;
-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); box-shadow: 0px 0px 0px 1px #10A3A3 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
} }
.ui.teal.message .header { .ui.teal.message .header {
@ -397,6 +420,7 @@
.ui.blue.message { .ui.blue.message {
background-color: #DFF0FF; background-color: #DFF0FF;
color: #2185D0; color: #2185D0;
-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); box-shadow: 0px 0px 0px 1px #2185D0 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
} }
.ui.blue.message .header { .ui.blue.message .header {
@ -405,6 +429,7 @@
.ui.violet.message { .ui.violet.message {
background-color: #EAE7FF; background-color: #EAE7FF;
color: #6435C9; color: #6435C9;
-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); box-shadow: 0px 0px 0px 1px #6435C9 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
} }
.ui.violet.message .header { .ui.violet.message .header {
@ -413,6 +438,7 @@
.ui.purple.message { .ui.purple.message {
background-color: #F6E7FF; background-color: #F6E7FF;
color: #A333C8; color: #A333C8;
-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); box-shadow: 0px 0px 0px 1px #A333C8 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
} }
.ui.purple.message .header { .ui.purple.message .header {
@ -421,6 +447,7 @@
.ui.pink.message { .ui.pink.message {
background-color: #FFE3FB; background-color: #FFE3FB;
color: #E03997; color: #E03997;
-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); box-shadow: 0px 0px 0px 1px #E03997 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
} }
.ui.pink.message .header { .ui.pink.message .header {
@ -429,6 +456,7 @@
.ui.brown.message { .ui.brown.message {
background-color: #F1E2D3; background-color: #F1E2D3;
color: #A5673F; color: #A5673F;
-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); box-shadow: 0px 0px 0px 1px #A5673F inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
} }
.ui.brown.message .header { .ui.brown.message .header {

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Modal * # Semantic UI 2.4.0 - Modal
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -14,17 +14,19 @@
*******************************/ *******************************/
.ui.modal { .ui.modal {
position: absolute;
display: none; display: none;
position: fixed;
z-index: 1001; z-index: 1001;
top: 50%;
left: 50%;
text-align: left; text-align: left;
background: #FFFFFF; background: #FFFFFF;
border: none; border: none;
-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); 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%; -webkit-transform-origin: 50% 25%;
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; border-radius: 0.28571429rem;
-webkit-user-select: text; -webkit-user-select: text;
-moz-user-select: text; -moz-user-select: text;
@ -79,6 +81,7 @@
background: #FFFFFF; background: #FFFFFF;
margin: 0em; margin: 0em;
padding: 1.25rem 1.5rem; padding: 1.25rem 1.5rem;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
color: rgba(0, 0, 0, 0.85); color: rgba(0, 0, 0, 0.85);
border-bottom: 1px solid rgba(34, 36, 38, 0.15); border-bottom: 1px solid rgba(34, 36, 38, 0.15);
@ -119,22 +122,18 @@
flex: 0 1 auto; flex: 0 1 auto;
width: ''; width: '';
-ms-flex-item-align: top; -ms-flex-item-align: top;
-ms-grid-row-align: top;
align-self: top; align-self: top;
} }
.ui.modal > [class*="top aligned"] { .ui.modal > [class*="top aligned"] {
-ms-flex-item-align: top; -ms-flex-item-align: top;
-ms-grid-row-align: top;
align-self: top; align-self: top;
} }
.ui.modal > [class*="middle aligned"] { .ui.modal > [class*="middle aligned"] {
-ms-flex-item-align: middle; -ms-flex-item-align: middle;
-ms-grid-row-align: middle;
align-self: middle; align-self: middle;
} }
.ui.modal > [class*="stretched"] { .ui.modal > [class*="stretched"] {
-ms-flex-item-align: stretch; -ms-flex-item-align: stretch;
-ms-grid-row-align: stretch;
align-self: stretch; align-self: stretch;
} }
@ -146,7 +145,6 @@
flex: 1 0 auto; flex: 1 0 auto;
min-width: 0px; min-width: 0px;
-ms-flex-item-align: top; -ms-flex-item-align: top;
-ms-grid-row-align: top;
align-self: top; align-self: top;
} }
.ui.modal > .content > .icon + .description, .ui.modal > .content > .icon + .description,
@ -190,31 +188,31 @@
@media only screen and (max-width: 767px) { @media only screen and (max-width: 767px) {
.ui.modal { .ui.modal {
width: 95%; width: 95%;
margin: 0em 0em 0em -47.5%; margin: 0em 0em 0em 0em;
} }
} }
@media only screen and (min-width: 768px) { @media only screen and (min-width: 768px) {
.ui.modal { .ui.modal {
width: 88%; width: 88%;
margin: 0em 0em 0em -44%; margin: 0em 0em 0em 0em;
} }
} }
@media only screen and (min-width: 992px) { @media only screen and (min-width: 992px) {
.ui.modal { .ui.modal {
width: 850px; width: 850px;
margin: 0em 0em 0em -425px; margin: 0em 0em 0em 0em;
} }
} }
@media only screen and (min-width: 1200px) { @media only screen and (min-width: 1200px) {
.ui.modal { .ui.modal {
width: 900px; width: 900px;
margin: 0em 0em 0em -450px; margin: 0em 0em 0em 0em;
} }
} }
@media only screen and (min-width: 1920px) { @media only screen and (min-width: 1920px) {
.ui.modal { .ui.modal {
width: 950px; width: 950px;
margin: 0em 0em 0em -475px; margin: 0em 0em 0em 0em;
} }
} }
@ -268,6 +266,7 @@
width: 100% !important; width: 100% !important;
margin: 0em !important; margin: 0em !important;
padding: 1rem 0rem !important; padding: 1rem 0rem !important;
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
@ -286,6 +285,7 @@
---------------*/ ---------------*/
.ui.inverted.dimmer > .ui.modal { .ui.inverted.dimmer > .ui.modal {
-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); box-shadow: 1px 3px 10px 2px rgba(0, 0, 0, 0.2);
} }
@ -298,6 +298,7 @@
background-color: transparent; background-color: transparent;
border: none; border: none;
border-radius: 0em; border-radius: 0em;
-webkit-box-shadow: none !important;
box-shadow: none !important; box-shadow: none !important;
color: #FFFFFF; color: #FFFFFF;
} }
@ -320,6 +321,19 @@
color: rgba(0, 0, 0, 0.85); 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 */ /* Tablet and Mobile */
@media only screen and (max-width: 991px) { @media only screen and (max-width: 991px) {
.ui.basic.modal > .close { .ui.basic.modal > .close {
@ -332,6 +346,11 @@
States States
*******************************/ *******************************/
.ui.loading.modal {
display: block;
visibility: hidden;
z-index: -1;
}
.ui.active.modal { .ui.active.modal {
display: block; 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 Scrolling
---------------*/ ---------------*/
/* A modal that cannot fit on the page */ /* Scrolling Dimmer */
.scrolling.dimmable.dimmed { .scrolling.dimmable.dimmed {
overflow: hidden; overflow: hidden;
} }
.scrolling.dimmable > .dimmer {
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
}
.scrolling.dimmable.dimmed > .dimmer { .scrolling.dimmable.dimmed > .dimmer {
overflow: auto; overflow: auto;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
@ -359,11 +408,10 @@
position: fixed; position: fixed;
} }
.modals.dimmer .ui.scrolling.modal { .modals.dimmer .ui.scrolling.modal {
position: static !important; margin: 1rem auto;
margin: 3.5rem auto !important;
} }
/* undetached scrolling */ /* Undetached Scrolling */
.scrolling.undetached.dimmable.dimmed { .scrolling.undetached.dimmable.dimmed {
overflow: auto; overflow: auto;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
@ -374,18 +422,13 @@
.scrolling.undetached.dimmable .ui.scrolling.modal { .scrolling.undetached.dimmable .ui.scrolling.modal {
position: absolute; position: absolute;
left: 50%; left: 50%;
margin-top: 3.5rem !important; margin-top: 1rem !important;
} }
/* Coupling with Sidebar */ /* Scrolling Content */
.undetached.dimmable.dimmed > .pusher { .ui.modal .scrolling.content {
z-index: auto; max-height: calc(70vh);
} overflow: auto;
@media only screen and (max-width: 991px) {
.modals.dimmer .ui.scrolling.modal {
margin-top: 1rem !important;
margin-bottom: 1rem !important;
}
} }
/*-------------- /*--------------
@ -394,7 +437,7 @@
.ui.fullscreen.modal { .ui.fullscreen.modal {
width: 95% !important; width: 95% !important;
left: 2.5% !important; left: 0em !important;
margin: 1em auto; margin: 1em auto;
} }
.ui.fullscreen.scrolling.modal { .ui.fullscreen.scrolling.modal {
@ -417,6 +460,80 @@
font-size: 1rem; 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 */ /* Small */
.ui.small.modal > .header:not(.ui) { .ui.small.modal > .header:not(.ui) {
font-size: 1.3em; font-size: 1.3em;
@ -426,31 +543,31 @@
@media only screen and (max-width: 767px) { @media only screen and (max-width: 767px) {
.ui.small.modal { .ui.small.modal {
width: 95%; width: 95%;
margin: 0em 0em 0em -47.5%; margin: 0em 0em 0em 0em;
} }
} }
@media only screen and (min-width: 768px) { @media only screen and (min-width: 768px) {
.ui.small.modal { .ui.small.modal {
width: 70.4%; width: 70.4%;
margin: 0em 0em 0em -35.2%; margin: 0em 0em 0em 0em;
} }
} }
@media only screen and (min-width: 992px) { @media only screen and (min-width: 992px) {
.ui.small.modal { .ui.small.modal {
width: 680px; width: 680px;
margin: 0em 0em 0em -340px; margin: 0em 0em 0em 0em;
} }
} }
@media only screen and (min-width: 1200px) { @media only screen and (min-width: 1200px) {
.ui.small.modal { .ui.small.modal {
width: 720px; width: 720px;
margin: 0em 0em 0em -360px; margin: 0em 0em 0em 0em;
} }
} }
@media only screen and (min-width: 1920px) { @media only screen and (min-width: 1920px) {
.ui.small.modal { .ui.small.modal {
width: 760px; width: 760px;
margin: 0em 0em 0em -380px; margin: 0em 0em 0em 0em;
} }
} }
@ -461,31 +578,31 @@
@media only screen and (max-width: 767px) { @media only screen and (max-width: 767px) {
.ui.large.modal { .ui.large.modal {
width: 95%; width: 95%;
margin: 0em 0em 0em -47.5%; margin: 0em 0em 0em 0em;
} }
} }
@media only screen and (min-width: 768px) { @media only screen and (min-width: 768px) {
.ui.large.modal { .ui.large.modal {
width: 88%; width: 88%;
margin: 0em 0em 0em -44%; margin: 0em 0em 0em 0em;
} }
} }
@media only screen and (min-width: 992px) { @media only screen and (min-width: 992px) {
.ui.large.modal { .ui.large.modal {
width: 1020px; width: 1020px;
margin: 0em 0em 0em -510px; margin: 0em 0em 0em 0em;
} }
} }
@media only screen and (min-width: 1200px) { @media only screen and (min-width: 1200px) {
.ui.large.modal { .ui.large.modal {
width: 1080px; width: 1080px;
margin: 0em 0em 0em -540px; margin: 0em 0em 0em 0em;
} }
} }
@media only screen and (min-width: 1920px) { @media only screen and (min-width: 1920px) {
.ui.large.modal { .ui.large.modal {
width: 1140px; width: 1140px;
margin: 0em 0em 0em -570px; margin: 0em 0em 0em 0em;
} }
} }

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI - Modal * # Semantic UI 2.4.1 - Modal
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -10,7 +10,7 @@
;(function ($, window, document, undefined) { ;(function ($, window, document, undefined) {
"use strict"; 'use strict';
window = (typeof window != 'undefined' && window.Math == Math) window = (typeof window != 'undefined' && window.Math == Math)
? window ? window
@ -72,6 +72,8 @@ $.fn.modal = function(parameters) {
element = this, element = this,
instance = $module.data(moduleNamespace), instance = $module.data(moduleNamespace),
ignoreRepeatedEvents = false,
elementEventNamespace, elementEventNamespace,
id, id,
observer, observer,
@ -106,25 +108,18 @@ $.fn.modal = function(parameters) {
var var
defaultSettings = { defaultSettings = {
debug : settings.debug, debug : settings.debug,
dimmerName : 'modals', variation : settings.centered
duration : { ? false
show : settings.duration, : 'top aligned',
hide : settings.duration dimmerName : 'modals'
}
}, },
dimmerSettings = $.extend(true, defaultSettings, settings.dimmerSettings) dimmerSettings = $.extend(true, defaultSettings, settings.dimmerSettings)
; ;
if(settings.inverted) {
dimmerSettings.variation = (dimmerSettings.variation !== undefined)
? dimmerSettings.variation + ' inverted'
: 'inverted'
;
}
if($.fn.dimmer === undefined) { if($.fn.dimmer === undefined) {
module.error(error.dimmer); module.error(error.dimmer);
return; return;
} }
module.debug('Creating dimmer with settings', dimmerSettings); module.debug('Creating dimmer');
$dimmable = $context.dimmer(dimmerSettings); $dimmable = $context.dimmer(dimmerSettings);
if(settings.detachable) { if(settings.detachable) {
module.verbose('Modal is detachable, moving content into dimmer'); module.verbose('Modal is detachable, moving content into dimmer');
@ -133,9 +128,6 @@ $.fn.modal = function(parameters) {
else { else {
module.set.undetached(); module.set.undetached();
} }
if(settings.blurring) {
$dimmable.addClass(className.blurring);
}
$dimmer = $dimmable.dimmer('get dimmer'); $dimmer = $dimmable.dimmer('get dimmer');
}, },
id: function() { id: function() {
@ -174,9 +166,11 @@ $.fn.modal = function(parameters) {
refresh: function() { refresh: function() {
module.remove.scrolling(); module.remove.scrolling();
module.cacheSizes(); module.cacheSizes();
if(!module.can.useFlex()) {
module.set.modalOffset();
}
module.set.screenHeight(); module.set.screenHeight();
module.set.type(); module.set.type();
module.set.position();
}, },
refreshModals: function() { refreshModals: function() {
@ -215,6 +209,16 @@ $.fn.modal = function(parameters) {
$window $window
.on('resize' + elementEventNamespace, module.event.resize) .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 });
} }
}, },
@ -226,31 +230,43 @@ $.fn.modal = function(parameters) {
event: { event: {
approve: function() { 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'); module.verbose('Approve callback returned false cancelling hide');
return; return;
} }
module.hide(); ignoreRepeatedEvents = true;
module.hide(function() {
ignoreRepeatedEvents = false;
});
},
preventScroll: function(event) {
event.preventDefault();
}, },
deny: function() { 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'); module.verbose('Deny callback returned false cancelling hide');
return; return;
} }
module.hide(); ignoreRepeatedEvents = true;
module.hide(function() {
ignoreRepeatedEvents = false;
});
}, },
close: function() { close: function() {
module.hide(); module.hide();
}, },
click: function(event) { click: function(event) {
if(!settings.closable) {
module.verbose('Dimmer clicked but closable setting is disabled');
return;
}
var var
$target = $(event.target), $target = $(event.target),
isInModal = ($target.closest(selector.modal).length > 0), isInModal = ($target.closest(selector.modal).length > 0),
isInDOM = $.contains(document.documentElement, event.target) isInDOM = $.contains(document.documentElement, event.target)
; ;
if(!isInModal && isInDOM) { if(!isInModal && isInDOM && module.is.active()) {
module.debug('Dimmer clicked, hiding all modals'); module.debug('Dimmer clicked, hiding all modals');
if( module.is.active() ) {
module.remove.clickaway(); module.remove.clickaway();
if(settings.allowMultiple) { if(settings.allowMultiple) {
module.hide(); module.hide();
@ -259,7 +275,6 @@ $.fn.modal = function(parameters) {
module.hideAll(); module.hideAll();
} }
} }
}
}, },
debounce: function(method, delay) { debounce: function(method, delay) {
clearTimeout(module.timer); clearTimeout(module.timer);
@ -282,7 +297,7 @@ $.fn.modal = function(parameters) {
} }
}, },
resize: function() { resize: function() {
if( $dimmable.dimmer('is active') ) { if( $dimmable.dimmer('is active') && ( module.is.animating() || module.is.active() ) ) {
requestAnimationFrame(module.refresh); requestAnimationFrame(module.refresh);
} }
} }
@ -303,6 +318,9 @@ $.fn.modal = function(parameters) {
: function(){} : function(){}
; ;
module.refreshModals(); module.refreshModals();
module.set.dimmerSettings();
module.set.dimmerStyles();
module.showModal(callback); module.showModal(callback);
}, },
@ -321,10 +339,16 @@ $.fn.modal = function(parameters) {
: function(){} : function(){}
; ;
if( module.is.animating() || !module.is.active() ) { if( module.is.animating() || !module.is.active() ) {
module.showDimmer(); module.showDimmer();
module.cacheSizes(); 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.screenHeight();
module.set.type(); module.set.type();
module.set.clickaway(); module.set.clickaway();
@ -333,6 +357,9 @@ $.fn.modal = function(parameters) {
module.hideOthers(module.showModal); module.hideOthers(module.showModal);
} }
else { else {
if(settings.allowMultiple && settings.detachable) {
$module.detach().appendTo($dimmer);
}
settings.onShow.call(element); settings.onShow.call(element);
if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) { if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
module.debug('Showing modal with css animations'); module.debug('Showing modal with css animations');
@ -399,6 +426,7 @@ $.fn.modal = function(parameters) {
}, },
onComplete : function() { onComplete : function() {
settings.onHidden.call(element); settings.onHidden.call(element);
module.remove.dimmerStyles();
module.restore.focus(); module.restore.focus();
callback(); callback();
} }
@ -423,6 +451,7 @@ $.fn.modal = function(parameters) {
hideDimmer: function() { hideDimmer: function() {
if( $dimmable.dimmer('is animating') || ($dimmable.dimmer('is active')) ) { if( $dimmable.dimmer('is animating') || ($dimmable.dimmer('is active')) ) {
module.unbind.scrollLock();
$dimmable.dimmer('hide', function() { $dimmable.dimmer('hide', function() {
module.remove.clickaway(); module.remove.clickaway();
module.remove.screenHeight(); module.remove.screenHeight();
@ -488,8 +517,14 @@ $.fn.modal = function(parameters) {
save: { save: {
focus: function() { focus: function() {
var
$activeElement = $(document.activeElement),
inCurrentModal = $activeElement.closest($module).length > 0
;
if(!inCurrentModal) {
$focusedElement = $(document.activeElement).blur(); $focusedElement = $(document.activeElement).blur();
} }
}
}, },
restore: { restore: {
@ -504,12 +539,17 @@ $.fn.modal = function(parameters) {
active: function() { active: function() {
$module.removeClass(className.active); $module.removeClass(className.active);
}, },
legacy: function() {
$module.removeClass(className.legacy);
},
clickaway: function() { clickaway: function() {
if(settings.closable) {
$dimmer $dimmer
.off('click' + elementEventNamespace) .off('click' + elementEventNamespace)
; ;
} },
dimmerStyles: function() {
$dimmer.removeClass(className.inverted);
$dimmable.removeClass(className.blurring);
}, },
bodyStyle: function() { bodyStyle: function() {
if($body.attr('style') === '') { if($body.attr('style') === '') {
@ -536,24 +576,49 @@ $.fn.modal = function(parameters) {
}, },
cacheSizes: function() { cacheSizes: function() {
$module.addClass(className.loading);
var var
scrollHeight = $module.prop('scrollHeight'),
modalWidth = $module.outerWidth(),
modalHeight = $module.outerHeight() modalHeight = $module.outerHeight()
; ;
if(module.cache === undefined || modalHeight !== 0) { if(module.cache === undefined || modalHeight !== 0) {
module.cache = { module.cache = {
pageHeight : $(document).outerHeight(), pageHeight : $(document).outerHeight(),
width : modalWidth,
height : modalHeight + settings.offset, height : modalHeight + settings.offset,
scrollHeight : scrollHeight + settings.offset,
contextHeight : (settings.context == 'body') contextHeight : (settings.context == 'body')
? $(window).height() ? $(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); module.debug('Caching modal and container sizes', module.cache);
}, },
can: { can: {
useFlex: function() {
return (settings.useFlex == 'auto')
? settings.detachable && !module.is.ie()
: settings.useFlex
;
},
fit: function() { 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() { active: function() {
return $module.hasClass(className.active); return $module.hasClass(className.active);
}, },
ie: function() {
var
isIE11 = (!(window.ActiveXObject) && 'ActiveXObject' in window),
isIE = ('ActiveXObject' in window)
;
return (isIE11 || isIE);
},
animating: function() { animating: function() {
return $module.transition('is supported') return $module.transition('is supported')
? $module.transition('is animating') ? $module.transition('is animating')
@ -572,7 +644,7 @@ $.fn.modal = function(parameters) {
}, },
modernBrowser: function() { modernBrowser: function() {
// appName for IE11 reports 'Netscape' can no longer use // 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() { clickaway: function() {
if(settings.closable) {
$dimmer $dimmer
.on('click' + elementEventNamespace, module.event.click) .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() { screenHeight: function() {
if( module.can.fit() ) { if( module.can.fit() ) {
@ -613,12 +741,17 @@ $.fn.modal = function(parameters) {
scrolling: function() { scrolling: function() {
$dimmable.addClass(className.scrolling); $dimmable.addClass(className.scrolling);
$module.addClass(className.scrolling); $module.addClass(className.scrolling);
module.unbind.scrollLock();
},
legacy: function() {
$module.addClass(className.legacy);
}, },
type: function() { type: function() {
if(module.can.fit()) { if(module.can.fit()) {
module.verbose('Modal fits on screen'); module.verbose('Modal fits on screen');
if(!module.others.active() && !module.others.animating()) { if(!module.others.active() && !module.others.animating()) {
module.remove.scrolling(); module.remove.scrolling();
module.bind.scrollLock();
} }
} }
else { else {
@ -626,25 +759,6 @@ $.fn.modal = function(parameters) {
module.set.scrolling(); 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() { undetached: function() {
$dimmable.addClass(className.undetached); $dimmable.addClass(className.undetached);
} }
@ -838,6 +952,9 @@ $.fn.modal.settings = {
name : 'Modal', name : 'Modal',
namespace : 'modal', namespace : 'modal',
useFlex : 'auto',
offset : 0,
silent : false, silent : false,
debug : false, debug : false,
verbose : false, verbose : false,
@ -853,6 +970,8 @@ $.fn.modal.settings = {
inverted : false, inverted : false,
blurring : false, blurring : false,
centered : true,
dimmerSettings : { dimmerSettings : {
closable : false, closable : false,
useCSS : true useCSS : true
@ -865,7 +984,6 @@ $.fn.modal.settings = {
queue : false, queue : false,
duration : 500, duration : 500,
offset : 0,
transition : 'scale', transition : 'scale',
// padding with edge of page // padding with edge of page
@ -904,6 +1022,9 @@ $.fn.modal.settings = {
active : 'active', active : 'active',
animating : 'animating', animating : 'animating',
blurring : 'blurring', blurring : 'blurring',
inverted : 'inverted',
legacy : 'legacy',
loading : 'loading',
scrolling : 'scrolling', scrolling : 'scrolling',
undetached : 'undetached' undetached : 'undetached'
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI 2.2.9 - Nag * # Semantic UI 2.4.0 - Nag
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -25,6 +25,7 @@
margin: 0em; margin: 0em;
padding: 0.75em 1em; padding: 0.75em 1em;
background: #555555; background: #555555;
-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); box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
font-size: 1rem; font-size: 1rem;
text-align: center; text-align: center;

View file

@ -1,5 +1,5 @@
/*! /*!
* # Semantic UI - Nag * # Semantic UI 2.4.1 - Nag
* http://github.com/semantic-org/semantic-ui/ * http://github.com/semantic-org/semantic-ui/
* *
* *
@ -10,7 +10,7 @@
;(function ($, window, document, undefined) { ;(function ($, window, document, undefined) {
"use strict"; 'use strict';
window = (typeof window != 'undefined' && window.Math == Math) window = (typeof window != 'undefined' && window.Math == Math)
? window ? window

View 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}

Some files were not shown because too many files have changed in this diff Show more